exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 344 discussion

A developer is creating a new application for a pet store. The application will manage customer rewards points. The developer will use Amazon DynamoDB to store the data for the application. The developer needs to optimize query performance and limit partition overload before actual performance analysis.

Which option should the developer use for a partition key to meet these requirements?

  • A. A randomly generated universally unique identifier (UUID)
  • B. The customer's full name
  • C. The date when the customer signed up for the rewards program
  • D. The name of the customer's pet
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
65703c1
11 months, 2 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 2 times
...
trungtd
1 year, 1 month ago
Selected Answer: A
Think of it as CustomerID
upvoted 3 times
...
DeaconStJohn
1 year, 1 month ago
Selected Answer: A
This is the only feasible option for a partition key.. B - Two John Smith's sign up for the programme C - Both John Smith's signed up on the same day D - Both John Smith's signed up on the same day with a poodle called Betsy May. Cant rule it out.
upvoted 2 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: C
The start date for the rewards program
upvoted 1 times
tirthyakamaldasgupta
8 months, 3 weeks ago
Based on my understanding, using the start date as a Partition Key could result in partition overload if a large number of sign-ups occur on the same date. In contrast, choosing a randomly generated UUID as a Partition Key would prevent this issue, as each ID is unique, ensuring even distribution and eliminating the risk of creating a hot partition. Please correct me if my understanding is incorrect, as I am still learning.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago