Which of the following is an example of a good DynamoDB hash key schema for
provisioned throughput efficiency?
A.
User ID, where the application has many different users.
B.
Status Code where most status codes are the same
C.
Device ID, where one is by far more popular than all the others.
D.
Game Type, where there are three possible game types
Explanation:
A
Sources:
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GuidelinesForTables.html
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BestPractices.html
Device ID, where each device accesses data at relatively similar intervals Good
User ID, where the application has many users.Good
A
A is the answer :::: Read more here
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GuidelinesForTables.html
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BestPractices.html