nerdexam
Amazon

DVA-C02 · Question #571

A developer is designing a game that stores data in an Amazon DynamoDB table. The partition key of the table is the country of the player. After a sudden increase in the number of players in a…

The correct answer is B. Revise the primary key to use more unique identifiers. The ProvisionedThroughputExceededException error in DynamoDB occurs when your application exceeds the provisioned read or write capacity for a specific partition. In this case, the partition key is the country of the player, and it appears that a sudden increase in the number…

Submitted by weili_xi· Mar 5, 2026Troubleshooting and Optimization

Question

A developer is designing a game that stores data in an Amazon DynamoDB table. The partition key of the table is the country of the player. After a sudden increase in the number of players in a specific country, the developer notices ProvisionedThroughputExceededException errors. What should the developer do to resolve these errors?

Options

  • AUse strongly consistent table reads.
  • BRevise the primary key to use more unique identifiers.
  • CUse pagination to reduce the size of the items that the queries return.
  • DUse the Scan operation to retrieve the data.

How the community answered

(45 responses)
  • A
    33% (15)
  • B
    42% (19)
  • C
    18% (8)
  • D
    7% (3)

Explanation

The ProvisionedThroughputExceededException error in DynamoDB occurs when your application exceeds the provisioned read or write capacity for a specific partition. In this case, the partition key is the country of the player, and it appears that a sudden increase in the number of players from a specific country is causing the partition to become "hot," meaning that the requests for that partition are exceeding the available throughput. To resolve this issue, the developer should consider revising the primary key to spread the load more evenly across partitions. Using more unique identifiers for the partition key, such as adding an additional attribute (e.g., player ID, country + player ID, or a timestamp) can help distribute the data more evenly, preventing any single partition from becoming a hotspot.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice