aws DEA-C01: AWS Certified Data Engineer – Associate · Practice questions

Domain 3: Data Operations and Support Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A company wants to run Apache Spark code inside Amazon Athena for interactive analytics in notebooks, without managing clusters. Which feature should it use?

  1. Athena CTAS statements
  2. Amazon Athena for Apache Spark — Correct
  3. Athena workgroup query limits
  4. Athena federated query connectors

Correct answer

Amazon Athena for Apache Spark

Explanation

Athena for Apache Spark provides serverless Spark sessions in notebooks. Federated queries, CTAS, and workgroup limits are SQL features.

Question 2

A data team needs to track which datasets in the lake have passed quality checks so that consumers know which data to trust. Which approach fits BEST?

  1. Publish quality status as catalog metadata for consumers. — Correct
  2. Delete datasets that fail checks without notifying anyone.
  3. Rename failing datasets with a random suffix so that consumers avoid them.
  4. Keep quality results in a spreadsheet on one engineer's laptop.

Correct answer

Publish quality status as catalog metadata for consumers.

Explanation

Catalog metadata makes quality status visible to consumers. Spreadsheets, silent deletion, and renaming are not reliable governance.

Question 3

A data engineer needs SQL access to data in a DynamoDB table for occasional exploration without affecting production capacity. Which approach fits BEST?

  1. Export the table to S3 (with PITR enabled) and query the export with Athena — Correct
  2. Increase the table's read capacity to the maximum during business hours
  3. Create a global secondary index for every attribute analysts might use
  4. Run PartiQL SELECT statements without keys against the production table

Correct answer

Export the table to S3 (with PITR enabled) and query the export with Athena

Explanation

Export to S3 does not consume table capacity, and Athena queries the export. Unkeyed PartiQL selects become scans. Extra capacity and many GSIs add cost.

Question 4

A company wants to monitor the freshness of data in its S3 data lake and alert if a daily file has not arrived by 6 AM. Which approach fits BEST?

  1. Enable S3 Intelligent-Tiering so that missing files are detected automatically.
  2. A scheduled check that looks for the file and alarms through SNS if it is missing — Correct
  3. Enable S3 Versioning and wait for users to notice that dashboards are not updated.
  4. Create a Glue crawler that runs once a week to find missing partitions.

Correct answer

A scheduled check that looks for the file and alarms through SNS if it is missing

Explanation

A scheduled check with alerts detects late data. Versioning, Intelligent-Tiering, and weekly crawlers do not alert on missing files.

Question 5

A data engineer wants to rerun a failed AWS Step Functions pipeline from the failed step instead of from the beginning. Which feature helps?

  1. Step Functions Express workflow logging
  2. Step Functions Map state with one item
  3. Step Functions execution redrive — Correct
  4. Step Functions activity workers

Correct answer

Step Functions execution redrive

Explanation

Redrive restarts a failed Standard workflow execution from the failed state. Logging, activities, and Map states do not resume failed executions.

Question 6

A data engineer must provide consistent read performance for an Amazon Redshift dashboard workload while ETL jobs load data at the same time. Which feature helps isolate the workloads?

  1. Disabling result caching for all dashboard queries
  2. A single WLM queue for all ETL and dashboard queries
  3. Running VACUUM FULL continuously during business hours
  4. Separate WLM queues, or data sharing to a separate warehouse — Correct

Correct answer

Separate WLM queues, or data sharing to a separate warehouse

Explanation

Separate queues or warehouses isolate ETL from dashboards. A single queue mixes workloads. Disabling caching and continuous vacuum hurt performance.

Question 7

An AWS Glue Spark job fails with out-of-memory errors on the driver when it processes a large number of small files. Which change is MOST likely to help?

  1. Switch the job to a Python shell job with 1 DPU of capacity.
  2. Convert the input files from Parquet to CSV before the job runs.
  3. Enable file grouping (groupFiles and groupSize) when reading from S3. — Correct
  4. Reduce the number of workers to 2 so that the driver handles fewer tasks.

Correct answer

Enable file grouping (groupFiles and groupSize) when reading from S3.

Explanation

Grouping small files reduces the number of tasks and the metadata the driver tracks. Fewer workers or a Python shell job reduce capacity. CSV does not help.

Question 8

A data engineer needs to find which transformations in a Glue job take the most time. Which tool should be used?

  1. Amazon Inspector findings for the job
  2. The Spark UI and Glue job run insights — Correct
  3. AWS Cost Explorer filtered by the Glue service
  4. AWS Trusted Advisor performance checks

Correct answer

The Spark UI and Glue job run insights

Explanation

The Spark UI shows stages and tasks, and job run insights highlight bottlenecks. Cost Explorer, Trusted Advisor, and Inspector do not show transformation timing.

Question 9

A data engineer wants to monitor the end-to-end latency of a streaming pipeline from producer to S3. Which metrics should be watched? (Choose TWO.)

  1. EC2 CPUCreditBalance for unrelated instances
  2. Route 53 HealthCheckStatus for the website
  3. S3 BucketSizeBytes for the destination bucket
  4. Firehose DeliveryToS3.DataFreshness — Correct
  5. Kinesis GetRecords.IteratorAgeMilliseconds for consumers — Correct

Correct answer

Firehose DeliveryToS3.DataFreshness; Kinesis GetRecords.IteratorAgeMilliseconds for consumers

Explanation

Iterator age shows consumer lag, and DataFreshness shows how old the oldest record in Firehose is. Bucket size, CPU credits, and health checks do not measure pipeline latency.

Question 10

A company's Athena queries sometimes scan very large amounts of data by mistake, increasing costs. Which control limits the data scanned per query?

  1. Increase the query timeout in the workgroup settings.
  2. Enable S3 Object Lock on the data lake bucket.
  3. A per-query data usage limit in the Athena workgroup — Correct
  4. Enable S3 Transfer Acceleration on the data lake bucket.

Correct answer

A per-query data usage limit in the Athena workgroup

Explanation

Workgroup data usage controls cancel queries that exceed a scanned data limit. Transfer Acceleration, Object Lock, and timeouts do not limit scanned data.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz