Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Amazon AWS Certified Data Engineer - Associate DEA-C01 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 21 Total 302 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Designs resilient S3 ingestion with event notifications, deduplication, and replay-safe processing.

A retailer receives one JSON object per transaction in an Amazon S3 landing bucket. Processing must begin within minutes, and a downstream AWS Glue job must not create duplicate records if an S3 event notification is delivered more than once. The retailer also needs to recover from processing failures without asking the source system to resend files. Which design best meets these requirements?

Correct Answer: A. Send S3 event notifications to an Amazon SQS queue, have a consumer start Glue processing, and make processing idempotent using object identity or transaction keys.
Explanation:

An SQS queue provides durable buffering and supports retrying messages when processing fails; S3 event notifications can be delivered more than once, so the processing logic must be idempotent. Object keys plus version or transaction identifiers can support duplicate detection. Direct invocation does not provide the same durable buffering or guarantee exactly-once delivery. A crawler discovers schemas and partitions rather than serving as a low-latency transaction trigger. Deleting an object immediately after starting a job risks losing the source needed for retry or replay.

Question 2

New Multiple answers

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Chooses Glue job bookmarks and idempotent writes for incremental batch ingestion.

A data team runs a scheduled AWS Glue job that reads new files from an S3 prefix and appends transformed records to an Amazon Redshift table. Files remain in the source bucket for audit and replay. A retry after a partial failure must not reprocess previously completed input, and overlapping schedules must not cause duplicate rows. Which TWO changes best address these requirements? Select TWO.

Correct Answer: C. Use a staging-and-merge or equivalent idempotent write pattern keyed by the source record identifier.; E. Enable job bookmarks for the Glue source so the job can track previously processed input.
Explanation:

Glue job bookmarks track source progress for supported sources and help avoid rereading data already processed. They do not by themselves guarantee exactly-once output, especially when a failure occurs between writing data and committing bookmark state. An idempotent Redshift write pattern, such as loading to staging and merging by a stable key, handles retries and overlapping runs safely. Deleting files undermines audit and replay, disabling retries harms recovery, and adding workers does not solve duplicate processing.

Question 3

New Single answer

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Selects Lambda buffering and batching settings for reliable DynamoDB stream delivery to S3.

An application writes rapidly changing customer records to DynamoDB. An AWS Lambda function consumes the DynamoDB Stream and writes change records to S3, but brief S3 throttling causes frequent invocation failures. The team wants to reduce request bursts while keeping delivery latency below a few minutes. It can tolerate small batches, but must retain failed records for later recovery. What is the best configuration approach?

Correct Answer: D. Use a modest batch size and batching window, configure retry and failure handling including an on-failure destination, and ensure partial batch failures are reported correctly.
Explanation:

A modest batch and batching window smooth request bursts while remaining within the latency objective. Event source mapping retry and failure-handling settings, including an on-failure destination where appropriate, preserve failed records for diagnosis or reprocessing. The function must correctly report failed records when using partial batch response behavior; otherwise a batch may be retried or acknowledged incorrectly. Discarding records loses data, indefinite retries can block progress, and repeated full-table scans are inefficient and do not provide equivalent change capture.

Question 4

New Single answer

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Uses Glue Data Catalog partition projection to query predictable partition layouts efficiently.

A company stores telemetry as Parquet in S3, partitioned by year, month, and day. The files arrive continuously, and the partition values follow a predictable date pattern. Athena queries typically filter on a short date range, but maintaining millions of individual Glue Data Catalog partition records is costly and operationally burdensome. Which approach is most appropriate?

Correct Answer: A. Configure partition projection for the predictable partition dimensions and provide the appropriate ranges and storage template.
Explanation:

Partition projection lets Athena derive partition values from configured rules rather than requiring a catalog record for every partition. It is well suited to predictable layouts and date ranges, and date predicates allow queries to limit the projected locations they scan. A crawler-created record for every partition preserves the maintenance burden the team wants to avoid. Removing partitions can increase scanned data, while CSV conversion does not solve catalog partition management and can degrade query efficiency.

Question 5

New Multiple answers

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Combines Glue schema evolution handling with explicit data-quality controls in ETL.

A financial reporting pipeline reads JSON from S3 with AWS Glue. Producers sometimes add optional fields, while a field used as a transaction amount must remain numeric and non-null. Invalid records must be quarantined, and compatible new fields should not force a full rewrite of all historical files. Which TWO design choices best meet the requirements? Select TWO.

Correct Answer: A. Use a schema-aware catalog and transformation that accommodates compatible optional fields while explicitly validating the required amount field.; D. Apply Glue Data Quality rules or equivalent validation and route failed records to a quarantine location with diagnostic context.
Explanation:

A schema-aware transformation can handle compatible additions without rewriting historical objects, while explicit checks preserve the required type and non-null constraint. Data-quality rules or equivalent validation identify violations; directing invalid rows to quarantine enables investigation and controlled remediation. Casting everything to strings suppresses useful type validation. Rewriting all history for each optional field is unnecessary, and a crawler discovers schema metadata but does not enforce business-quality rules or automatically remove invalid records.

Question 6

New Single answer

Topic: Content Domain 1: Data Ingestion and Transformation

Skill tested: Selects an AWS Glue execution mode appropriate for recurring low-latency ETL.

A logistics company receives small files in S3 every few minutes and needs to transform each new arrival with less startup delay than its existing long-running batch job. The transformation uses Spark and must retain Glue's serverless managed execution model. The workload is recurring rather than a one-time interactive exploration. Which option is the best fit?

Correct Answer: D. Use an AWS Glue streaming ETL job that reads the arriving data and processes it on a recurring basis.
Explanation:

A Glue streaming ETL job is designed for continuously arriving data and can process it on recurring micro-batches while using managed Spark execution. This avoids the overhead of launching a separate conventional batch job for every small object. A crawler updates catalog metadata but does not transform records. Interactive sessions support development and exploration, not a durable production execution pattern. The streaming design still requires appropriate checkpointing and output idempotency for reliable recovery.

Question 7

New Single answer

Topic: Content Domain 2: Data Store Management

Skill tested: Models DynamoDB keys and indexes around high-volume query access patterns.

A gaming service stores player activity in DynamoDB. The primary access pattern retrieves all events for one player within a time range. A second access pattern retrieves recent events of a specified event type across all players. Ingestion volume is high, and player identifiers can be unevenly distributed. The team wants range-query efficiency and must avoid a single hot partition. Which design is best?

Correct Answer: D. Use player ID as the partition key and event timestamp as the sort key; add a GSI keyed by event type and timestamp, with write distribution designed for the event-type workload.
Explanation:

A DynamoDB partition key of player ID with timestamp as the sort key supports efficient per-player time-range queries. A GSI can support event-type queries, with its key design and any needed sharding chosen to distribute high-volume writes; a very low-cardinality event type alone can create a hot key. Making event type the base key does not support the first access pattern efficiently, and a constant partition key concentrates traffic. Rewriting a growing document per player creates contention and item-size limitations.

Question 8

New Multiple answers

Topic: Content Domain 2: Data Store Management

Skill tested: Selects Redshift distribution, sort, and compression strategies for analytical workloads.

An analytics team is building an Amazon Redshift fact table with billions of rows. Most queries filter on event date and join the fact table to a much smaller customer dimension. The customer dimension is slowly changing but fits comfortably on each compute node. The team wants to reduce data movement and improve date-range query performance without manually selecting compression encodings. Which TWO design choices are most appropriate? Select TWO.

Correct Answer: C. Use event date as the fact table's sort key and allow Redshift to manage suitable compression encodings.; E. Use a replicated distribution strategy for the small customer dimension so joins can avoid unnecessary redistribution.
Explanation:

A small dimension that fits on each node is a good candidate for replicated distribution, reducing data movement during joins. Sorting the fact table on event date can improve block skipping for date-range filters, and Redshift can select suitable compression encodings rather than requiring manual choices. AUTO distribution is a reasonable option in some designs, but it is not one of the two selected choices here because the scenario explicitly identifies the small dimension replication and date-oriented sort as the targeted improvements. An unrelated sort key and a single SUPER value do not fit the access pattern.

Question 9

New Single answer

Topic: Content Domain 2: Data Store Management

Skill tested: Chooses S3 lifecycle transitions and expiration based on object access and retention needs.

A research organization stores raw sensor data in S3. The first 45 days require frequent access, the next 18 months require occasional access with millisecond retrieval, and data older than 18 months must be retained for compliance but is rarely retrieved. The organization wants to reduce storage cost while preserving the required retention period. Which lifecycle strategy is most appropriate?

Correct Answer: A. Keep recent data in S3 Standard, transition eligible data to a suitable infrequent-access class after 45 days, and transition older retained data to an archival class whose retrieval characteristics meet the policy.
Explanation:

The lifecycle should reflect access frequency over time: keep the frequently accessed first 45 days readily available, transition later data to a suitable class with the required millisecond access, and use an archival class for older data only if its retrieval behavior and minimum storage considerations satisfy the compliance use case. Immediate deep archival conflicts with frequent access, and deletion at 18 months violates retention. Keeping everything in Standard ignores the stated cost objective.

Question 10

New Single answer

Topic: Content Domain 2: Data Store Management

Skill tested: Uses Glue Data Catalog table and partition metadata to make S3 datasets queryable.

A team writes partitioned Parquet files to S3 from a scheduled ETL process. Analysts need stable table names and schema discovery for query engines that use the AWS Glue Data Catalog. New partitions arrive daily, and the team wants metadata updates without copying or moving the data. Which approach best fits?

Correct Answer: A. Register the S3 dataset in the Glue Data Catalog and update partition metadata through an appropriate crawler or ETL catalog operation.
Explanation:

The Glue Data Catalog stores table schema, location, and partition metadata that compatible query engines can use to interpret files in place. A crawler or the ETL process can update metadata as partitions arrive, avoiding a data copy. Redshift loading is not required merely to catalog an S3 dataset. S3 notifications can signal object creation but do not alter Parquet schemas, and DynamoDB Streams are unrelated to cataloging S3 files.

Question 11

New Multiple answers

Topic: Content Domain 3: Data Operations and Support

Skill tested: Diagnoses Glue job skew and tunes partitioning and worker resources using run metrics.

An AWS Glue Spark job processes daily customer events. Most tasks finish quickly, but a small number run for much longer; the Spark UI shows a few partitions with far more records than the others. Increasing worker count has raised cost without materially reducing elapsed time. The job performs a join on a customer attribute that is highly skewed. Which TWO actions should the team take next? Select TWO.

Correct Answer: A. Inspect input and shuffle metrics, then address the skewed join using an appropriate technique such as salting or broadcasting a genuinely small side.; D. Review partitioning and key distribution, and adjust the join or repartitioning strategy to distribute work more evenly.
Explanation:

The observed long-tail tasks and uneven partition sizes indicate data skew, not simply insufficient total compute. Metrics should guide whether a skew-aware join strategy, salting, or broadcasting a truly small side is appropriate; partitioning should also be reviewed so work is balanced without creating excessive shuffle. Adding workers alone may leave the same oversized partitions as bottlenecks and increase cost. Disabling metrics hides evidence, and output serialization format does not correct join-key skew.

Question 12

New Single answer

Topic: Content Domain 3: Data Operations and Support

Skill tested: Uses CloudWatch metrics, logs, and alarms to isolate and detect pipeline failures.

A production pipeline consists of an S3 arrival trigger, a Lambda validation function, and a Glue ETL job. A downstream dashboard sometimes misses a daily delivery, but operators cannot tell whether no file arrived, Lambda rejected the file, or Glue failed. The organization needs actionable alerts and enough evidence to identify the failing stage without manually checking every service console. What should the team implement first?

Correct Answer: B. Instrument and correlate stage-level logs and metrics, publish or use service metrics for failures and duration, and configure CloudWatch alarms for missing or failed stages.
Explanation:

Stage-level observability distinguishes absent input from validation rejection and ETL failure. Correlated logs, relevant CloudWatch metrics, and alarms for errors, duration, and expected completion or missing activity let operators identify and respond to the failing stage. Bucket size growth does not prove that data passed validation or reached the dashboard. Increasing resources does not diagnose the failure, and disabling logs removes the evidence needed for production troubleshooting.