Course menuDEA-C01

Exams / DEA-C01 / Sample questions

DEA-C01 sample questions from the practice sets

10 questions taken from across the 5 paid practice sets, covering every domain of the exam guide. None of them are in the free exam. Try each one, then open the answer to see why every option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

  1. Question 1 Data Ingestion and Transformation From Practice set 1

    A grocery delivery company sends driver location events from its mobile apps to an Amazon Data Firehose stream that delivers to Amazon S3. Operations analysts query the S3 data with Amazon Athena to spot late deliveries.

    Traffic is low, about 5 KB per second, and the stream uses the default buffering settings. Analysts see new data only every few minutes, but they need it within about a minute. The team wants no new services or code.

    Which change meets these requirements?

    Choose one answer.

    1. A. Lower the Firehose buffer interval to 60 seconds, and keep the current buffer size and S3 destination.
    2. B. Raise the Firehose buffer size to 128 MB so that each delivery writes fewer and larger files to Amazon S3.
    3. C. Add a Lambda transformation to the Firehose stream that forwards each event to Amazon S3 as soon as it arrives.
    4. D. Replace Firehose with a Kinesis data stream and a custom consumer application that writes each event to Amazon S3.
    Show the answer and explanation

    Answer: A

    Explanation

    Firehose buffers incoming records and delivers to S3 when the buffer size or the buffer interval is reached, whichever comes first. With low traffic, the 300-second default interval sets the delay, so lowering the interval to 60 seconds meets the freshness goal. A bigger buffer, a Lambda transform or a custom consumer either keeps the delay or adds code.

    Study

  2. Question 2 Data Ingestion and Transformation From Practice set 3

    A retail chain runs its order database on MySQL. Its fraud, inventory and marketing teams each want every insert, update and delete as an event, within seconds, from one feed.

    Each team reads the feed with its own consumer application. The source database may not be changed beyond the binary logging that is already enabled, and changes to the same order must reach each consumer in the order they happened.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Run a nightly AWS Glue job that reads the full order table over JDBC and publishes every row to an Amazon SNS topic.
    2. B. Add a database trigger on every table that calls an AWS Lambda function for each row change, and let the function call each consumer.
    3. C. Export the binary logs to Amazon S3 once an hour with a script, and let the consumers read the raw log files from the bucket.
    4. D. Run an AWS DMS task that reads the MySQL binary logs and replicates ongoing changes to a Kinesis data stream, keyed by order ID.
    Show the answer and explanation

    Answer: D

    • A. Wrong: A nightly full read misses the changes made during the day and sends the whole table to every consumer. SNS also does not keep the order of changes for each order ID. Learn more: What is AWS Glue? (opens in a new tab)
    • B. Wrong: Triggers add load and code to the production database, which the team wants to avoid. The retries and ordering of calls would also become the team's own work to build.
    • C. Wrong: Hourly exports miss the requirement to see changes within seconds, and raw binary log files are not an event feed that consumers can read directly. The script adds maintenance.
    • D. Right: Correct. DMS change data capture reads the binary logs without changes to the source, and a Kinesis data stream target lets each team run its own consumer. An object mapping that uses the order ID as the partition key keeps each order's changes on one shard, in order. Learn more: Using Amazon Kinesis Data Streams as a target for AWS DMS (opens in a new tab)

    Explanation

    DMS change data capture can publish ongoing source changes to a Kinesis data stream, and an order ID partition key keeps each order in sequence on one shard while every team reads with its own consumer. Nightly reads and hourly exports miss the freshness goal, and database triggers add load and code to the source.

    Study

  3. Question 3 Data Ingestion and Transformation From Practice set 3

    A logistics company runs its batch pipelines as Apache Airflow DAGs on Amazon MWAA. One DAG processes carrier manifest files and currently runs every 15 minutes, finding no new file on most runs.

    The team wants the DAG to start within a minute of each manifest landing in Amazon S3. The DAG code should stay the same, and the start should go through MWAA with an IAM-authorized call rather than a stored Airflow password.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Have an S3 event invoke a Lambda function that calls the MWAA InvokeRestApi operation to create a run of the DAG.
    2. B. Change the DAG schedule to every minute, so that a run starts shortly after each new manifest arrives in the bucket.
    3. C. Add an S3 key sensor task at the start of the DAG with a long timeout, and keep the 15-minute schedule unchanged.
    4. D. Store an Airflow admin user's password in a Lambda environment variable, and log in to the Airflow web server to trigger the DAG.
    Show the answer and explanation

    Answer: A

    Explanation

    MWAA exposes the Airflow REST API through IAM with InvokeRestApi, so an S3-triggered Lambda function can start the DAG run within seconds of the upload. Faster schedules or sensors keep polling, and stored Airflow passwords break the IAM requirement.

    Study

  4. Question 4 Data Store Management From Practice set 2

    A telehealth company stores 50 million patient support tickets as JSON in Amazon S3. Support agents need to search ticket text by keywords and phrases, with misspellings tolerated and the most relevant tickets listed first.

    Searches must return in under a second, and new tickets must be searchable within a minute of creation. The team also wants dashboards of ticket volume by topic.

    Which data store meets these requirements?

    Choose one answer.

    1. A. Amazon DynamoDB, with the ticket ID as the partition key and a global secondary index on each ticket's topic and creation date.
    2. B. Amazon OpenSearch Service, with each ticket indexed as it is created and the dashboards built in OpenSearch Dashboards.
    3. C. Amazon Athena over the JSON files in S3, using LIKE conditions on the ticket text in each search.
    4. D. Amazon Redshift, with the ticket text in a VARCHAR column and a sort key on the ticket creation date.
    Show the answer and explanation

    Answer: B

    Explanation

    Ranked, typo-tolerant full-text search with near-real-time indexing is what OpenSearch Service is built for, and its dashboards cover the volume views. Key-value lookups, file scans and analytic SQL each miss the search behavior or the latency.

    Study

  5. Question 5 Data Store Management From Practice set 2

    A hotel chain's Amazon Redshift table of 2 billion booking rows uses KEY distribution on the loyalty member ID. About 40 percent of bookings are made by guests without a membership, so their member ID is NULL.

    Queries on the table are slow, and the system views show that one slice holds far more rows than the others. Most queries do not join on member ID, and the team wants the rows spread evenly.

    Which change meets these requirements?

    Choose one answer.

    1. A. Change the table to EVEN distribution, so that rows are spread across slices in turn regardless of member ID.
    2. B. Add a compound sort key on the member ID, so that the NULL values are stored together at the end of each slice.
    3. C. Change the table to ALL distribution, so that every node holds a full copy of the 2 billion rows.
    4. D. Run VACUUM and ANALYZE on the table, so that Amazon Redshift rebalances the rows across slices.
    Show the answer and explanation

    Answer: A

    • A. Right: Correct. Every row with a NULL member ID hashes to the same slice, which causes the skew. EVEN distribution spreads rows across all slices, and little collocation is lost because most queries do not join on member ID. Learn more: Distribution styles (opens in a new tab)
    • B. Wrong: A sort key orders rows within each slice but does not change which slice holds them. The overloaded slice would keep its extra rows. Learn more: Choosing sort keys (opens in a new tab)
    • C. Wrong: ALL distribution suits small, slowly changing tables. Copying 2 billion rows to every node multiplies storage and load time. Learn more: Distribution styles (opens in a new tab)
    • D. Wrong: VACUUM re-sorts rows and reclaims space, and ANALYZE updates statistics, but neither moves rows between slices. The skew comes from the distribution key.

    Explanation

    A distribution key with many NULL or repeated values sends those rows to one slice, so that slice does most of the work. With no common join on the column, EVEN distribution spreads the rows. Sort keys, ALL distribution and maintenance commands do not fix where rows live.

    Study

  6. Question 6 Data Store Management From Practice set 3

    A ride-sharing platform publishes trip events to an Amazon MSK topic. The producers write Avro records with schemas stored in the AWS Glue Schema Registry, and about 30 consumer applications read the events.

    A product team wants to add an optional field with a default value to the trip event. The registry must refuse any new version that consumers on the previous version cannot read, and any version that cannot read data written with the previous version.

    Which registry setting meets these requirements?

    Choose one answer.

    1. A. Set the compatibility mode to FULL, so that each new schema can read the data of the previous version and the previous schema can read the new data.
    2. B. Set the compatibility mode to BACKWARD, so that new schemas can read the data written with earlier versions, which allows the optional field.
    3. C. Set the compatibility mode to NONE, so that producers can register any schema and the consumers adapt on their own.
    4. D. Turn off the registry, and put the schema in each producer's code so that each team controls its own versions.
    Show the answer and explanation

    Answer: A

    Explanation

    FULL compatibility checks that each new schema can read the previous data and that the previous schema can read the new data, so an optional field passes while breaking changes are refused. BACKWARD checks only one direction, NONE disables checks, and local schemas remove the registry controls.

    Study

  7. Question 7 Data Operations and Support From Practice set 3

    A ticket-resale company has an Amazon Athena query that joins listings, sales and venues and now takes 12 minutes. The engineer suspects one join stage processes far more rows than expected, but cannot tell which.

    The engineer wants to see, for each stage of the query as it actually runs, the rows processed and the time spent, using Athena itself rather than another tool.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Run EXPLAIN ANALYZE on the query, which reports the actual rows and CPU time for each stage.
    2. B. Run EXPLAIN on the query, which shows the planned stages with the exact number of rows that each stage will process.
    3. C. Turn on CloudTrail data events for the results bucket, and check how many objects the query wrote to Amazon S3.
    4. D. Check the workgroup's CloudWatch metrics for the total data scanned and the total run time of the query.
    Show the answer and explanation

    Answer: A

    Explanation

    EXPLAIN ANALYZE in Athena runs the query and annotates each stage of the plan with actual statistics, which reveals the join that processes too many rows. Plain EXPLAIN only shows the plan, and CloudTrail or workgroup metrics give no per-stage detail.

    Study

  8. Question 8 Data Operations and Support From Practice set 3

    A property listings company drops partner CSV files into the incoming/ prefix of an S3 bucket. A Lambda function, triggered by Object Created events for the whole bucket, normalizes phone numbers and dates and writes the cleaned file back to the same bucket.

    After deployment, invocations and costs spiked within minutes, and Lambda stopped some invocations as a recursive loop. The team needs each file cleaned once and wants to keep the event-driven design.

    Which change meets these requirements?

    Choose one answer.

    1. A. Set the function's reserved concurrency to 1, so that only one copy of the loop can run at a time.
    2. B. Scope the trigger to the incoming/ prefix, and write cleaned files to a clean/ prefix that does not trigger the function.
    3. C. Increase the function's timeout, so that it finishes cleaning each file before the next event for that same file arrives.
    4. D. Replace the S3 trigger with a schedule that runs the function every hour over all files in the bucket.
    Show the answer and explanation

    Answer: B

    Explanation

    A function that writes into the location that triggers it creates a recursive loop. Scoping the trigger to the input prefix and writing output elsewhere keeps the event-driven flow with one run per file. Concurrency limits and timeouts do not stop the loop, and a schedule drops the event-driven design.

    Study

  9. Question 9 Data Security and Governance From Practice set 4

    An auto parts maker's AWS Glue job reads supplier files from the supplier-in/ prefix of a shared Amazon S3 bucket and writes results to the curated/ prefix of the same bucket. The security team rejected the job's role because it allows access to every object in every bucket.

    The job must keep working, and nothing outside those two prefixes may be read or changed by the role.

    Which change to the role's IAM policy meets these requirements?

    Choose one answer.

    1. A. Scope GetObject to the supplier-in/ prefix and PutObject to curated/, and limit ListBucket with an s3:prefix condition.
    2. B. Keep s3:* on every bucket, and add a Deny statement that protects only the security team's own bucket, so the job's other access stays in place.
    3. C. Replace the role's policy with the AWS managed AmazonS3FullAccess policy, and rely on the bucket policy to restrict the job to the two prefixes.
    4. D. Grant s3:GetObject on all objects in every bucket for the job, and remove its write permission so that the job cannot change any object.
    Show the answer and explanation

    Answer: A

    Explanation

    Least privilege for an S3 job means scoping object actions to the exact prefixes and limiting list calls with the s3:prefix condition. Broad allows, managed full-access policies and read-everything grants each leave access outside the two prefixes.

    Study

  10. Question 10 Data Security and Governance From Practice set 1

    A payroll SaaS company loads data into an Amazon Redshift provisioned cluster with COPY from S3 buckets in the same Region. The security team requires all COPY and UNLOAD traffic to pass through the company's VPC, so that VPC flow logs record it and an endpoint policy limits which buckets the cluster can reach.

    The cluster's subnets have no internet gateway or NAT device.

    Which TWO changes meet these requirements? (Choose two.)

    Choose two answers.

    1. A. Attach an internet gateway to the cluster's subnets, so that COPY can reach Amazon S3 over its public endpoints.
    2. B. Turn on enhanced VPC routing for the cluster, so that COPY and UNLOAD traffic is forced through the VPC.
    3. C. Grant the cluster's IAM role access to only the approved buckets, and leave the cluster's network settings as they are.
    4. D. Create an interface VPC endpoint for the Amazon Redshift API, so that COPY traffic to S3 uses the Redshift endpoint.
    5. E. Create an S3 gateway endpoint with a policy that allows only the approved buckets, and add it to the cluster subnets' route tables.
    Show the answer and explanation

    Answers: B, E

    • A. Wrong: An internet gateway gives the subnets a path to the internet, which the security team does not want. It also gives no endpoint policy to limit which buckets the cluster can use.
    • B. Right: Correct. Without enhanced VPC routing, Redshift sends COPY and UNLOAD traffic outside the VPC. With it turned on, the traffic goes through the VPC, where flow logs record it and the VPC's routes apply. Learn more: Redshift enhanced VPC routing (opens in a new tab)
    • C. Wrong: A scoped role limits what the cluster may read, but the traffic still bypasses the VPC, so flow logs do not record it. The option misses the routing requirement. Learn more: Security best practices in IAM (opens in a new tab)
    • D. Wrong: An interface endpoint for the Redshift API lets clients reach the Redshift service privately, but it does not carry the data that COPY reads from S3. The cluster would still need a path to S3.
    • E. Right: Correct. A gateway endpoint gives the VPC a private route to S3, and its endpoint policy can allow only the approved buckets. With enhanced VPC routing turned on, COPY and UNLOAD use this route. Learn more: Gateway endpoints for Amazon S3 (opens in a new tab)

    Explanation

    Enhanced VPC routing makes Redshift send COPY and UNLOAD traffic through the VPC, where flow logs can record it. An S3 gateway endpoint gives that traffic a private path to S3 with no internet gateway or NAT, and its policy limits the buckets. Internet gateways, IAM scoping alone and a Redshift API endpoint each miss the routing or bucket-control requirement.

    Study

Like these? There are 325 more.

The DEA-C01 practice sets: 5 sets, 325 questions in the same style, none of them in the free exam. One payment of$14.99, no subscription, with access for at least 12 months.

Questions about a question or your purchase? Email support@exampark.app and we'll sort it out.

Every exam starts with free questions. No account needed.