AWS Certified Developer - Associate DVA-C02 Exam QuestionsBrowse all questions from this exam

AWS Certified Developer - Associate DVA-C02 Exam - Question 557


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?

Show Answer
Correct Answer:

Discussion

3 comments
Sign in to comment
e886835Option: B
Feb 6, 2025

when the request rate exceeds the provisioned throughput for a specific partition key in DynamoDB. This means that the partition key (country in this case) has become a hot spot, as many players from the same country are causing an overload of requests to that partition. To resolve this issue, the developer should revise the primary key to distribute the traffic more evenly

DadasarOption: B
Mar 4, 2025

Problema de Hot partition, resolve adicionando uma chave de partição mais aleatória para o DynamoDb executar consultas mais eficientes.

vbloiseOption: B
May 4, 2025

B. Revise the primary key to use more unique identifiers. Explanation: The ProvisionedThroughputExceededException occurs when too many requests are made to a single partition key, which causes hot partitioning in DynamoDB. In this case, since the partition key is "country", a spike in players from a single country will overload that partition. To resolve this, the developer should revise the primary key to distribute read/write traffic more evenly—for example, by including a more granular identifier like a user ID along with the country (e.g., a composite key or a more randomized key structure). Why not the others: A. Strongly consistent reads actually require more throughput, worsening the issue. C. Pagination helps with large result sets but doesn't resolve partition throughput limits. D. Scan operations are less efficient and consume more throughput than queries.