AWS Certified Data Engineer Associate DEA-C01 Practice Question

An ecommerce app logs each shopping cart change in a DynamoDB table. The solution must quickly query all changes for a single shopper in newest-to-oldest order, absorb unpredictable flash-sale traffic without capacity planning, and automatically delete items older than seven days. Which table design and configuration meet these goals with minimal operational effort?

  • Create a table with partition key shopperId and sort key changeTimestamp, add a local secondary index that reverses the timestamp order, enable TTL, and use provisioned capacity with auto scaling.

  • Combine shopperId and changeTimestamp into a single primary key attribute, add a global secondary index on shopperId, enable TTL, and keep the table in on-demand capacity mode.

  • Create a single table with partition key shopperId and sort key changeTimestamp, enable TTL on an expiration attribute set to 7 days, and run the table in on-demand capacity mode.

  • Create a table with partition key changeTimestamp and sort key shopperId, process a DynamoDB Stream with a Lambda function to delete stale items, and use provisioned capacity with auto scaling.

AWS Certified Data Engineer Associate DEA-C01
Data Store Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot