AWS Certified Data Engineer Associate DEA-C01 Practice Question

An IoT company ingests millions of sensor records into Amazon DynamoDB. Each item includes deviceId, readingType, timestamp (ISO 8601), and value. Engineers must quickly retrieve the last 24 hours of readings for a single device and occasionally list the most recent readings for a given readingType across all devices. Which table design meets these access patterns with the least read cost?

  • Create one table with partition key deviceId and sort key readingType; filter the timestamp range in application code when querying.

  • Create one table with partition key readingType and sort key deviceId; add a GSI with deviceId as the partition key only.

  • Create one table with partition key deviceId and sort key timestamp; enable TTL on the timestamp attribute; add a GSI with readingType as the partition key and timestamp as the sort key.

  • Create a separate DynamoDB table for each day (yyyy-mm-dd) with partition key deviceId and no secondary indexes.

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