πŸ”

DEA-C01 β€” questions

Page 8 of 16 Β· 313 total questions.

Topic 1 Β· Question 141

A data engineer uses Amazon Managed Workflows for Apache Airflow (Amazon MWAA) to run data pipelines in an AWS account. A workflow recently failed to run. The data engineer needs to use Apache Airflow logs to diagnose the failure of the workflow. Which log type should the data engineer use to diagnose the cause of the failure?

  • AYourEnvironmentName-WebServer
  • BYourEnvironmentName-Scheduler
  • CYourEnvironmentName-DAGProcessing
  • DYourEnvironmentName-Task (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: YourEnvironmentName-Task.

Topic 1 Β· Question 142 Β· Select all that apply

A finance company uses Amazon Redshift as a data warehouse. The company stores the data in a shared Amazon S3 bucket. The company uses Amazon Redshift Spectrum to access the data that is stored in the S3 bucket. The data comes from certified third-party data providers. Each third-party data provider has unique connection details. To comply with regulations, the company must ensure that none of the data is accessible from outside the company's AWS environment. Which combination of steps should the company take to meet these requirements? (Choose two.)

  • AReplace the existing Redshift cluster with a new Redshift cluster that is in a private subnet. Use an interface VPC endpoint to connect to the Redshift cluster. Use a NAT gateway to give Redshift access to the S3 bucket. (correct answer)
  • BCreate an AWS CloudHSM hardware security module (HSM) for each data provider. Encrypt each data provider's data by using the corresponding HSM for each data provider.
  • CTurn on enhanced VPC routing for the Amazon Redshift cluster. Set up an AWS Direct Connect connection and configure a connection between each data provider and the finance company’s VPC. (correct answer)
  • DDefine table constraints for the primary keys and the foreign keys.
  • EUse federated queries to access the data from each data provider. Do not upload the data to the S3 bucket. Perform the federated queries through a gateway VPC endpoint.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Replace the existing Redshift cluster with a new Redshift cluster that is in a private subnet. Use an interface VPC endpoint to connect to the Redshift cluster. Use a NAT gateway to give Redshift access to the S3 bucket. Option C: Turn on enhanced VPC routing for the Amazon Redshift cluster. Set up an AWS Direct Connect connection and configure a connection between each data provider and the finance company’s VPC.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 Β· Question 143

Files from multiple data sources arrive in an Amazon S3 bucket on a regular basis. A data engineer wants to ingest new files into Amazon Redshift in near real time when the new files arrive in the S3 bucket. Which solution will meet these requirements?

  • AUse the query editor v2 to schedule a COPY command to load new files into Amazon Redshift.
  • BUse the zero-ETL integration between Amazon Aurora and Amazon Redshift to load new files into Amazon Redshift.
  • CUse AWS Glue job bookmarks to extract, transform, and load (ETL) load new files into Amazon Redshift.
  • DUse S3 Event Notifications to invoke an AWS Lambda function that loads new files into Amazon Redshift. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use S3 Event Notifications to invoke an AWS Lambda function that loads new files into Amazon Redshift.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 144

A technology company currently uses Amazon Kinesis Data Streams to collect log data in real time. The company wants to use Amazon Redshift for downstream real-time queries and to enrich the log data. Which solution will ingest data into Amazon Redshift with the LEAST operational overhead?

  • ASet up an Amazon Kinesis Data Firehose delivery stream to send data to a Redshift provisioned cluster table.
  • BSet up an Amazon Kinesis Data Firehose delivery stream to send data to Amazon S3. Configure a Redshift provisioned cluster to load data every minute.
  • CConfigure Amazon Managed Service for Apache Flink (previously known as Amazon Kinesis Data Analytics) to send data directly to a Redshift provisioned cluster table.
  • DUse Amazon Redshift streaming ingestion from Kinesis Data Streams and to present data as a materialized view. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Amazon Redshift streaming ingestion from Kinesis Data Streams and to present data as a materialized view.

Explanation

Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. Kinesis Data Streams ingests and processes high-volume real-time streaming data. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 145

A company maintains a data warehouse in an on-premises Oracle database. The company wants to build a data lake on AWS. The company wants to load data warehouse tables into Amazon S3 and synchronize the tables with incremental data that arrives from the data warehouse every day. Each table has a column that contains monotonically increasing values. The size of each table is less than 50 GB. The data warehouse tables are refreshed every night between 1 AM and 2 AM. A business intelligence team queries the tables between 10 AM and 8 PM every day. Which solution will meet these requirements in the MOST operationally efficient way?

  • AUse an AWS Database Migration Service (AWS DMS) full load plus CDC job to load tables that contain monotonically increasing data columns from the on-premises data warehouse to Amazon S3. Use custom logic in AWS Glue to append the daily incremental data to a full-load copy that is in Amazon S3. (correct answer)
  • BUse an AWS Glue Java Database Connectivity (JDBC) connection. Configure a job bookmark for a column that contains monotonically increasing values. Write custom logic to append the daily incremental data to a full-load copy that is in Amazon S3.
  • CUse an AWS Database Migration Service (AWS DMS) full load migration to load the data warehouse tables into Amazon S3 every day. Overwrite the previous day's full-load copy every day.
  • DUse AWS Glue to load a full copy of the data warehouse tables into Amazon S3 every day. Overwrite the previous day's full-load copy every day.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use an AWS Database Migration Service (AWS DMS) full load plus CDC job to load tables that contain monotonically increasing data columns from the on-premises data warehouse to Amazon S3. Use custom logic in AWS Glue t...

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data. AWS Database Migration Service migrates databases with minimal downtime.

Topic 1 Β· Question 146

A company is building a data lake for a new analytics team. The company is using Amazon S3 for storage and Amazon Athena for query analysis. All data that is in Amazon S3 is in Apache Parquet format. The company is running a new Oracle database as a source system in the company’s data center. The company has 70 tables in the Oracle database. All the tables have primary keys. Data can occasionally change in the source system. The company wants to ingest the tables every day into the data lake. Which solution will meet this requirement with the LEAST effort?

  • ACreate an Apache Sqoop job in Amazon EMR to read the data from the Oracle database. Configure the Sqoop job to write the data to Amazon S3 in Parquet format.
  • BCreate an AWS Glue connection to the Oracle database. Create an AWS Glue bookmark job to ingest the data incrementally and to write the data to Amazon S3 in Parquet format.
  • CCreate an AWS Database Migration Service (AWS DMS) task for ongoing replication. Set the Oracle database as the source. Set Amazon S3 as the target. Configure the task to write the data in Parquet format. (correct answer)
  • DCreate an Oracle database in Amazon RDS. Use AWS Database Migration Service (AWS DMS) to migrate the on-premises Oracle database to Amazon RDS. Configure triggers on the tables to invoke AWS Lambda functions to write changed records to Amazon S3 in Parquet format.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create an AWS Database Migration Service (AWS DMS) task for ongoing replication. Set the Oracle database as the source. Set Amazon S3 as the target. Configure the task to write the data in Parquet format.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. AWS Config tracks resource configuration changes and evaluates compliance. AWS Database Migration Service migrates databases with minimal downtime.

Topic 1 Β· Question 147

A transportation company wants to track vehicle movements by capturing geolocation records. The records are 10 bytes in size. The company receives up to 10.000 records every second. Data transmission delays of a few minutes are acceptable because of unreliable network conditions. The transportation company wants to use Amazon Kinesis Data Streams to ingest the geolocation data. The company needs a reliable mechanism to send data to Kinesis Data Streams. The company needs to maximize the throughput efficiency of the Kinesis shards. Which solution will meet these requirements in the MOST operationally efficient way?

  • AKinesis Agent
  • BKinesis Producer Library (KPL) (correct answer)
  • CAmazon Kinesis Data Firehose
  • DKinesis SDK
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Kinesis Producer Library (KPL)

Explanation

Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 148

An investment company needs to manage and extract insights from a volume of semi-structured data that grows continuously. A data engineer needs to deduplicate the semi-structured data, remove records that are duplicates, and remove common misspellings of duplicates. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse the FindMatches feature of AWS Glue to remove duplicate records. (correct answer)
  • BUse non-Windows functions in Amazon Athena to remove duplicate records.
  • CUse Amazon Neptune ML and an Apache Gremlin script to remove duplicate records.
  • DUse the global tables feature of Amazon DynamoDB to prevent duplicate data.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use the FindMatches feature of AWS Glue to remove duplicate records.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover. AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 149 Β· Select all that apply

A company is building an inventory management system and an inventory reordering system to automatically reorder products. Both systems use Amazon Kinesis Data Streams. The inventory management system uses the Amazon Kinesis Producer Library (KPL) to publish data to a stream. The inventory reordering system uses the Amazon Kinesis Client Library (KCL) to consume data from the stream. The company configures the stream to scale up and down as needed. Before the company deploys the systems to production, the company discovers that the inventory reordering system received duplicated data. Which factors could have caused the reordering system to receive duplicated data? (Choose two.)

  • AThe producer experienced network-related timeouts. (correct answer)
  • BThe stream’s value for the IteratorAgeMilliseconds metric was too high.
  • CThere was a change in the number of shards, record processors, or both. (correct answer)
  • DThe AggregationEnabled configuration property was set to true.
  • EThe max_records configuration property was set to a number that was too high.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: The producer experienced network-related timeouts. Option C: There was a change in the number of shards, record processors, or both.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover.

Topic 1 Β· Question 150

An ecommerce company operates a complex order fulfilment process that spans several operational systems hosted in AWS. Each of the operational systems has a Java Database Connectivity (JDBC)-compliant relational database where the latest processing state is captured. The company needs to give an operations team the ability to track orders on an hourly basis across the entire fulfillment process. Which solution will meet these requirements with the LEAST development overhead?

  • AUse AWS Glue to build ingestion pipelines from the operational systems into Amazon Redshift Build dashboards in Amazon QuickSight that track the orders. (correct answer)
  • BUse AWS Glue to build ingestion pipelines from the operational systems into Amazon DynamoDBuild dashboards in Amazon QuickSight that track the orders.
  • CUse AWS Database Migration Service (AWS DMS) to capture changed records in the operational systems. Publish the changes to an Amazon DynamoDB table in a different AWS region from the source database. Build Grafana dashboards that track the orders.
  • DUse AWS Database Migration Service (AWS DMS) to capture changed records in the operational systems. Publish the changes to an Amazon DynamoDB table in a different AWS region from the source database. Build Amazon QuickSight dashboards that track the orders.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use AWS Glue to build ingestion pipelines from the operational systems into Amazon Redshift Build dashboards in Amazon QuickSight that track the orders.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover. Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 151 Β· Select all that apply

A data engineer needs to use Amazon Neptune to develop graph applications. Which programming languages should the engineer use to develop the graph applications? (Choose two.)

  • AGremlin (correct answer)
  • BSQL
  • CANSI SQL
  • DSPARQL (correct answer)
  • ESpark SQL
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Gremlin Option D: SPARQL.

Topic 1 Β· Question 152

A mobile gaming company wants to capture data from its gaming app. The company wants to make the data available to three internal consumers of the data. The data records are approximately 20 KB in size. The company wants to achieve optimal throughput from each device that runs the gaming app. Additionally, the company wants to develop an application to process data streams. The stream-processing application must have dedicated throughput for each internal consumer. Which solution will meet these requirements?

  • AConfigure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Use the enhanced fan-out feature with a stream for each internal consumer. (correct answer)
  • BConfigure the mobile app to call the PutRecordBatch API operation to send data to Amazon Kinesis Data Firehose. Submit an AWS Support case to turn on dedicated throughput for the company’s AWS account. Allow each internal consumer to access the stream.
  • CConfigure the mobile app to use the Amazon Kinesis Producer Library (KPL) to send data to Amazon Kinesis Data Firehose. Use the enhanced fan-out feature with a stream for each internal consumer.
  • DConfigure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Host the stream-processing application for each internal consumer on Amazon EC2 instances. Configure auto scaling for the EC2 instances.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Use the enhanced fan-out feature with a stream for each internal consumer.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover. Kinesis Data Streams ingests and processes high-volume real-time streaming data. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 153 Β· Select all that apply

A retail company uses an Amazon Redshift data warehouse and an Amazon S3 bucket. The company ingests retail order data into the S3 bucket every day. The company stores all order data at a single path within the S3 bucket. The data has more than 100 columns. The company ingests the order data from a third-party application that generates more than 30 files in CSV format every day. Each CSV file is between 50 and 70 MB in size. The company uses Amazon Redshift Spectrum to run queries that select sets of columns. Users aggregate metrics based on daily orders. Recently, users have reported that the performance of the queries has degraded. A data engineer must resolve the performance issues for the queries. Which combination of steps will meet this requirement with LEAST developmental effort? (Choose two.)

  • AConfigure the third-party application to create the files in a columnar format. (correct answer)
  • BDevelop an AWS Glue ETL job to convert the multiple daily CSV files to one file for each day.
  • CPartition the order data in the S3 bucket based on order date. (correct answer)
  • DConfigure the third-party application to create the files in JSON format.
  • ELoad the JSON data into the Amazon Redshift table in a SUPER type column.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Configure the third-party application to create the files in a columnar format. Option C: Partition the order data in the S3 bucket based on order date.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 154

A company stores customer records in Amazon S3. The company must not delete or modify the customer record data for 7 years after each record is created. The root user also must not have the ability to delete or modify the data. A data engineer wants to use S3 Object Lock to secure the data. Which solution will meet these requirements?

  • AEnable governance mode on the S3 bucket. Use a default retention period of 7 years.
  • BEnable compliance mode on the S3 bucket. Use a default retention period of 7 years. (correct answer)
  • CPlace a legal hold on individual objects in the S3 bucket. Set the retention period to 7 years.
  • DSet the retention period for individual objects in the S3 bucket to 7 years.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable compliance mode on the S3 bucket. Use a default retention period of 7 years.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed.

Topic 1 Β· Question 155

A data engineer needs to create a new empty table in Amazon Athena that has the same schema as an existing table named old_table. Which SQL statement should the data engineer use to meet this requirement?

  • ACREATE TABLE new_table AS SELECT * FROM old_tables;
  • BINSERT INTO new_table SELECT * FROM old_table;
  • CCREATE TABLE new_table (LIKE old_table);
  • DCREATE TABLE new_table AS (SELECT * FROM old_table) WITH NO DATA; (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: CREATE TABLE new_table AS (SELECT * FROM old_table) WITH NO DATA;.

Topic 1 Β· Question 156

A data engineer needs to create an Amazon Athena table based on a subset of data from an existing Athena table named cities_world. The cities_world table contains cities that are located around the world. The data engineer must create a new table named cities_us to contain only the cities from cities_world that are located in the US. Which SQL statement should the data engineer use to meet this requirement?

  • AINSERT INTO cities_usa (city,state) SELECT city, state FROM cities_world WHERE country=’usa’; (correct answer)
  • BMOVE city, state FROM cities_world TO cities_usa WHERE country=’usa’;
  • CINSERT INTO cities_usa SELECT city, state FROM cities_world WHERE country=’usa’;
  • DUPDATE cities_usa SET (city, state) = (SELECT city, state FROM cities_world WHERE country=’usa’);
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: INSERT INTO cities_usa (city,state) SELECT city, state FROM cities_world WHERE country=’usa’;.

Topic 1 Β· Question 157 Β· Select all that apply

A company implements a data mesh that has a central governance account. The company needs to catalog all data in the governance account. The governance account uses AWS Lake Formation to centrally share data and grant access permissions. The company has created a new data product that includes a group of Amazon Redshift Serverless tables. A data engineer needs to share the data product with a marketing team. The marketing team must have access to only a subset of columns. The data engineer needs to share the same data product with a compliance team. The compliance team must have access to a different subset of columns than the marketing team needs access to. Which combination of steps should the data engineer take to meet these requirements? (Choose two.)

  • ACreate views of the tables that need to be shared. Include only the required columns.
  • BCreate an Amazon Redshift data share that includes the tables that need to be shared. (correct answer)
  • CCreate an Amazon Redshift managed VPC endpoint in the marketing team’s account. Grant the marketing team access to the views.
  • DShare the Amazon Redshift data share to the Lake Formation catalog in the governance account. (correct answer)
  • EShare the Amazon Redshift data share to the Amazon Redshift Serverless workgroup in the marketing team's account.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Create an Amazon Redshift data share that includes the tables that need to be shared. Option D: Share the Amazon Redshift data share to the Lake Formation catalog in the governance account.

Explanation

Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. AWS Lake Formation builds and secures data lakes quickly.

Topic 1 Β· Question 158

A company has a data lake in Amazon S3. The company uses AWS Glue to catalog data and AWS Glue Studio to implement data extract, transform, and load (ETL) pipelines. The company needs to ensure that data quality issues are checked every time the pipelines run. A data engineer must enhance the existing pipelines to evaluate data quality rules based on predefined thresholds. Which solution will meet these requirements with the LEAST implementation effort?

  • AAdd a new transform that is defined by a SQL query to each Glue ETL job. Use the SQL query to implement a ruleset that includes the data quality rules that need to be evaluated.
  • BAdd a new Evaluate Data Quality transform to each Glue ETL job. Use Data Quality Definition Language (DQDL) to implement a ruleset that includes the data quality rules that need to be evaluated. (correct answer)
  • CAdd a new custom transform to each Glue ETL job. Use the PyDeequ library to implement a ruleset that includes the data quality rules that need to be evaluated.
  • DAdd a new custom transform to each Glue ETL job. Use the Great Expectations library to implement a ruleset that includes the data quality rules that need to be evaluated.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add a new Evaluate Data Quality transform to each Glue ETL job. Use Data Quality Definition Language (DQDL) to implement a ruleset that includes the data quality rules that need to be evaluated.

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 159 Β· Select all that apply

A company has an application that uses a microservice architecture. The company hosts the application on an Amazon Elastic Kubernetes Services (Amazon EKS) cluster. The company wants to set up a robust monitoring system for the application. The company needs to analyze the logs from the EKS cluster and the application. The company needs to correlate the cluster's logs with the application's traces to identify points of failure in the whole application request flow. Which combination of steps will meet these requirements with the LEAST development effort? (Choose two.)

  • AUse FluentBit to collect logs. Use OpenTelemetry to collect traces. (correct answer)
  • BUse Amazon CloudWatch to collect logs. Use Amazon Kinesis to collect traces.
  • CUse Amazon CloudWatch to collect logs. Use Amazon Managed Streaming for Apache Kafka (Amazon MSK) to collect traces.
  • DUse Amazon OpenSearch to correlate the logs and traces. (correct answer)
  • EUse AWS Glue to correlate the logs and traces.
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Use FluentBit to collect logs. Use OpenTelemetry to collect traces. Option D: Use Amazon OpenSearch to correlate the logs and traces.

Explanation

Amazon OpenSearch Service provides managed search and log analytics.

Topic 1 Β· Question 160

A company has a gaming application that stores data in Amazon DynamoDB tables. A data engineer needs to ingest the game data into an Amazon OpenSearch Service cluster. Data updates must occur in near real time. Which solution will meet these requirements?

  • AUse AWS Step Functions to periodically export data from the Amazon DynamoDB tables to an Amazon S3 bucket. Use an AWS Lambda function to load the data into Amazon OpenSearch Service.
  • BConfigure an AWS Glue job to have a source of Amazon DynamoDB and a destination of Amazon OpenSearch Service to transfer data in near real time.
  • CUse Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service. (correct answer)
  • DUse a custom OpenSearch plugin to sync data from the Amazon DynamoDB tables.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon DynamoDB Streams to capture table changes. Use an AWS Lambda function to process and update the data in Amazon OpenSearch Service.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon DynamoDB is a fully managed, serverless NoSQL database with single-digit millisecond latency and automatic scaling. Amazon OpenSearch Service provides managed search and log analytics. This option meets the real-time / low-latency performance requirement.

Showing questions 141–160 of 313 Β· Page 8 of 16