DVA-C02 · Question #619
A developer is receiving an intermittent ProvisionedThroughputExceededException error from an application that is based on Amazon DynamoDB. According to the Amazon CloudWatch metrics for the table…
The correct answer is B. The application is exceeding capacity on a particular hash key. DynamoDB distributes throughput across partitions based on the hash key. A hot partition (caused by high usage of a specific hash key) can result in a ProvisionedThroughputExceededException, even if overall usage is below the provisioned Partition-Level Limits: Each partition…
Question
A developer is receiving an intermittent ProvisionedThroughputExceededException error from an application that is based on Amazon DynamoDB. According to the Amazon CloudWatch metrics for the table, the application is not exceeding the provisioned throughput. What could be the cause of the issue?
Options
- AThe DynamoDB table storage size is larger than the provisioned size.
- BThe application is exceeding capacity on a particular hash key.
- CThe DynamoDB table is exceeding the provisioned scaling operations.
- DThe application is exceeding capacity on a particular sort key.
How the community answered
(38 responses)- A13% (5)
- B55% (21)
- C26% (10)
- D5% (2)
Explanation
DynamoDB distributes throughput across partitions based on the hash key. A hot partition (caused by high usage of a specific hash key) can result in a ProvisionedThroughputExceededException, even if overall usage is below the provisioned Partition-Level Limits: Each partition has a limit of 3,000 read capacity units or 1,000 write capacity units per second. Hot Partition: Excessive use of a single hash key can overwhelm its partition.
Community Discussion
No community discussion yet for this question.