AWS Certified Data Engineer Associate DEA-C01 Practice Question

A retail company needs to store order events in a single Amazon DynamoDB table. Each item contains the attributes customer_id, order_id (UUID), order_timestamp (ISO-8601 string), and order_total. Business requirements are:

  1. Retrieve all orders for a given customer within an arbitrary date range, sorted by most-recent first.
  2. Show the latest N orders for a customer on the mobile app's home screen.
  3. Look up a specific order when only the order_id is known (for example, from a help-desk ticket). Each customer places no more than a few hundred orders per year, and the company wants to minimize storage and read costs. Which table design best meets these requirements?
  • Define the table's primary key as partition key customer_id and sort key order_timestamp, and add a GSI with partition key order_id and no sort key.

  • Define the table's primary key as partition key customer_segment and sort key order_timestamp, and add a GSI with partition key order_id and sort key customer_id.

  • Define the table's primary key as a concatenated partition key customer_id#order_timestamp and sort key order_id, with no secondary indexes.

  • Define the table's primary key as partition key order_id with no sort key, and create a GSI with partition key customer_id and sort key order_timestamp.

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