DEA-C01 practice questions
Free AWS Certified Data Engineer – Associate practice, with shuffled choices and an explanation behind every answer. A little practice, a clearer next step.
Loading your practice…
From the videos
These questions come from the course videos. Information as of November 2026.
DEA-C01 sample questions
10 of the 175 questions, as plain text. Start a session above for shuffled choices, a score and the reason behind every choice.
A Lambda function downloads a 40 GB export from a partner every night and writes it to S3. As the export grows, the function now stops after fifteen minutes, before the end. What should the data engineer do?
- Set the function timeout to sixty minutes
- Raise the memory of the function
- Turn on provisioned concurrency for it
- Run the download in an AWS Glue job instead
Show the answer
Run the download in an AWS Glue job instead
A Lambda function runs for 15 minutes at most per invocation, while a Glue job can run for hours. “Set the function timeout to sixty minutes” would be refused, because 15 minutes is the longest timeout of a Lambda function. “Raise the memory of the function” would give the function more CPU, but the 15-minute limit would stay. And “Turn on provisioned concurrency for it” only removes cold starts, with no effect on how long a call can run.
A table in the Data Catalog has 400,000 partitions by game and day. Queries filter on one day, yet they spend a long time before reading any data, while the partitions load. What should the data engineer add?
- A second crawler on the same table
- A partition index on the table
- A larger data limit for the workgroup
- A conversion of the table to CSV files
Show the answer
A partition index on the table
Without a partition index, Glue loads every partition and then filters them, while an index fetches only the matching ones. “A second crawler on the same table” would scan the folders again, and add nothing to the filtering. “A larger data limit for the workgroup” only caps how much a query may scan, with the same planning time. And “A conversion of the table to CSV files” would make each read bigger, and leave the partitions as they are.
Each night, a sequence of SQL statements with loops and conditions must run inside Redshift, without another service to run it. What should the data engineer build?
- A materialized view with auto refresh
- An UNLOAD of the source tables to S3
- A Redshift Spectrum external schema
- A stored procedure on a schedule
Show the answer
A stored procedure on a schedule
Redshift stored procedures hold DDL, DML, loops and conditions in PL/pgSQL, and the query editor can schedule them. “A materialized view with auto refresh” only keeps the result of one query, with no loops. “An UNLOAD of the source tables to S3” only writes query results to S3. And “A Redshift Spectrum external schema” only lets Redshift query files in S3.
A policy must apply to one Glue job role only, must never be attached to another identity by mistake, and must disappear when the role is deleted. Which kind of policy fits best?
- A customer managed policy attached to the role
- An AWS managed policy
- An inline policy on the role
- A permissions boundary
Show the answer
An inline policy on the role
An inline policy belongs to a single identity, and it is deleted along with that identity. “A customer managed policy attached to the role” would stay when the role is deleted, and it could be attached to other identities. “An AWS managed policy” is written by AWS and shared by many identities. And “A permissions boundary” only sets the most that the role can do, and it grants nothing on its own.
AnyCompany Games receives scanned order forms and recorded support calls. The team wants the key fields of each form and a summary of each call in S3, with the least custom code. Which service fits best?
- Amazon Bedrock Data Automation
- An Amazon Bedrock knowledge base
- A Glue crawler with a custom classifier
- An Athena CTAS query on the files
Show the answer
Amazon Bedrock Data Automation
Bedrock Data Automation turns documents, images, audio and video into structured output, with no model code to write. “An Amazon Bedrock knowledge base” is for answering questions from documents, not for filling fields from each one. “A Glue crawler with a custom classifier” would infer the format of files, not read what a scan or a recording says. And “An Athena CTAS query on the files” only works on tables of data, not on scans or audio.
A DynamoDB table stores player sessions, which are useless after 30 days. The team wants them removed automatically, without spending write capacity on deletes. What should the data engineer do?
- Turn on TTL with an expiry time in each item
- A nightly scan that deletes sessions older than 30 days
- The Standard-IA table class
- An S3 Lifecycle rule on the table
Show the answer
Turn on TTL with an expiry time in each item
Time to Live deletes expired items within a few days of their expiration time, without consuming write throughput. “A nightly scan that deletes sessions older than 30 days” would spend write capacity on every delete, and read capacity on the scan. “The Standard-IA table class” would make storage cheaper, but keep every session. And “An S3 Lifecycle rule on the table” only applies to objects in S3 buckets.
A Python script creates an EMR cluster with Boto3, then must submit a step only once the cluster is ready, which takes a few minutes. How should the script wait?
- A paginator on the list of clusters
- The cluster_running waiter
- The adaptive retry mode of the SDK
- A fixed sleep of ten minutes
Show the answer
The cluster_running waiter
A waiter polls the service until the resource reaches the expected state, and then the script goes on. “A paginator on the list of clusters” only walks through pages of results. “The adaptive retry mode of the SDK” only retries calls that fail, and the call that creates the cluster succeeds at once. And “A fixed sleep of ten minutes” would wait too long on some days and not long enough on others.
AnyCompany Games runs Apache Kafka on EC2 instances that it manages itself. A security audit asks who must apply operating system patches to these instances. What is the answer?
- AWS, as part of the EC2 service
- AWS, because Kafka is open source
- Nobody, since EC2 patches itself
- AnyCompany Games, as the AWS customer
Show the answer
AnyCompany Games, as the AWS customer
On EC2, the customer manages the guest operating system, the software on it, and the security groups. “AWS, as part of the EC2 service” only manages the hardware and the virtualization layer under the instances. “AWS, because Kafka is open source” is irrelevant to who patches a server that the customer manages. And “Nobody, since EC2 patches itself” would leave the instances exposed, because patching the guest system is the job of the customer.
Game servers write events to a Kinesis data stream in provisioned mode with two shards. At peak, they send about 3 MB per second, and many writes fail with ProvisionedThroughputExceededException. What should the data engineer do?
- Raise the number of shards in the stream
- Turn on enhanced fan-out for the consumers
- Raise the retention period of the stream
- Raise the parallelization factor of the consumer
Show the answer
Raise the number of shards in the stream
Each shard accepts up to 1 MB or 1,000 records per second in writes, so two shards cannot take 3 MB. “Turn on enhanced fan-out for the consumers” would give each consumer its own read throughput, while the limit here is on writes. “Raise the retention period of the stream” would keep the data longer, not accept more of it per second. And “Raise the parallelization factor of the consumer” would process more batches per shard, with no effect on writes.
Each night, partners drop sales files into two S3 buckets. Redshift must load only the files listed by the partners, not other files under the same prefixes. What should the COPY command rely on?
- A common key prefix for the files
- A Redshift Spectrum external table
- A manifest that lists each file
- The UNLOAD command with a manifest
Show the answer
A manifest that lists each file
A COPY manifest is a file in JSON format that names the exact files to load, from one or several buckets. “A common key prefix for the files” would load every file under the prefix, listed or not. “A Redshift Spectrum external table” would query the files in place instead of loading the chosen ones. And “The UNLOAD command with a manifest” only writes data from Redshift to S3, the other direction.
Original practice questions written for Cert Espresso, not real exam questions.