AWS Certified Developer Associate DVA-C02 Practice Question

Your application ingests thousands of events each second from 50 IoT devices. Each event record contains deviceId, eventType, eventTimestamp, and payload. The DynamoDB table uses deviceId as the partition key and eventTimestamp as the sort key, but device D-001 generates over 1,000 writes per second, triggering hot-partition throttling. Which partition-key strategy will distribute write load while still letting you query all events for a given device?

  • Create a GSI on eventType but leave the primary key unchanged.

  • Use eventTimestamp as the partition key and deviceId as the sort key.

  • Concatenate a hashed or random two-digit suffix (for example, deviceId#07) to the deviceId and use that string as the partition key; keep eventTimestamp as the sort key.

  • Keep deviceId as the partition key and eventTimestamp as the sort key.

AWS Certified Developer Associate DVA-C02
Development with AWS Services
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