Learning
Learning
Loading practice session...
AWS Certified Developer - Associate · Exam domain
48 practice questions in this domain. AI-tutored explanations for every answer.
Sign in to practice all 48 questions with progress tracking and AI explanations.
1. An application performs 100 eventually consistent reads per second on a DynamoDB table. Each item retrieved is 6 KB in size. How many Read Capacity Units (RCUs) must be provisioned to support this workload?
Explanation
DynamoDB rounds the 6 KB size up to 8 KB, which requires 2 capacity units. Eventual consistency halves this requirement to 1 RCU per read. 100 reads per second thus requires 100 RCUs.
2. A transactional logging system writes 50 records per second to a DynamoDB table. Each log entry is precisely 3 KB in size. How many Write Capacity Units (WCUs) should the engineer provision?
Explanation
Write capacity units are calculated in 1 KB blocks, so a 3 KB item requires 3 WCUs per write. At 50 writes per second, 150 WCUs are needed to sustain the workload without throttling.
3. A developer uses an exact sequential timestamp as the partition key for a DynamoDB table. Despite having adequate provisioned capacity, the application frequently encounters ProvisionedThroughputExceededException errors during writes. What is the most effective solution?
Explanation
Sequential keys like timestamps funnel all writes to a single partition, creating a hot partition. Appending a random suffix distributes the I/O load evenly across multiple partitions.
4. A DynamoDB table successfully handles minor traffic spikes lasting two minutes. However, a recent sustained spike lasting 10 minutes caused severe write throttling, even though the overall traffic volume was similar. Why did the longer spike fail?
Explanation
DynamoDB retains up to 5 minutes of unused capacity to handle unexpected burst traffic. Spikes lasting longer exhaust this reserve bucket and require higher provisioned throughput limits.
5. A developer needs to automatically delete old session data from a DynamoDB table after 24 hours while strictly minimizing operational costs. Which approach satisfies these requirements?
Explanation
DynamoDB Time to Live (TTL) automatically deletes expired items in the background without consuming any provisioned write capacity units, making it the most cost-effective solution.
Practice all 48+ questions in this domain
Start free practice →