A company is troubleshooting an Amazon DynamoDB table that is throttling write requests. The table has a partition key ('userId') and a sort key ('timestamp'). The 'WriteCapacityUnits' is set to 1000. CloudWatch shows 'ThrottledWriteRequests' but the 'ConsumedWriteCapacityUnits' is only 500. Which TWO actions could resolve the throttling?
Randomizing the partition key helps distribute write load across partitions, reducing throttling.
Why this answer
The issue is throttling on write requests despite consumed capacity below provisioned. This indicates a hot partition where one partition receives more writes than its limit (1000 WCU per partition). Option A (add random suffix to partition key) distributes writes across partitions, preventing any single partition from exceeding its limit.
Option C (increase write capacity units) can increase the number of partitions, thereby distributing the load and potentially raising the per-partition limit. Option B is incorrect because DAX is a read cache and does not affect write throughput. Option D (Global Tables) does not resolve throttling and may add latency.
Option E (removing sort key) does not address partition hotness.
Exam trap
Candidates often confuse throttling due to hot partitions with overall capacity shortage. They may think increasing capacity is unnecessary when consumed capacity is low, but it can help by increasing partitions.