
Answer-first summary for fast verification
Answer: UUIDs generated for each customer
The best choice for a partition key in this scenario is a randomly generated universally unique identifier (UUID). This is because UUIDs provide a high level of randomness, which helps distribute data evenly across the partitions in DynamoDB. This approach minimizes the risk of creating 'hot' partitions that could degrade performance. The other options, such as a customer's full name, the signup date, or the name of the customer's pet, do not offer the same level of distribution and could lead to uneven partition sizes, resulting in potential performance issues.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a new pet store application using Amazon DynamoDB, which partition key selection should a developer prioritize to enhance query efficiency and prevent partition hotspots during the initial phase of performance assessment?
A
UUIDs generated for each customer
B
Customers' full names
C
Signup dates for the rewards program
D
Names of customers' pets
No comments yet.