DBS-C01 · Question #63
DBS-C01 Question #63: Real Exam Question with Answer & Explanation
Sign in or unlock DBS-C01 to reveal the answer and full explanation for question #63. The question stem and answer options stay visible for context.
Question
An online gaming company is planning to launch a new game with Amazon DynamoDB as its data store. The database should be designated to support the following use cases: - Update scores in real time whenever a player is playing the game. - Retrieve a player's score details for a specific game session. A Database Specialist decides to implement a DynamoDB table. Each player has a unique user_id and each game has a unique game_id. Which choice of keys is recommended for the DynamoDB table?
Options
- ACreate a global secondary index with game_id as the partition key
- BCreate a global secondary index with user_id as the partition key
- CCreate a composite primary key with game_id as the partition key and user_id as the sort key
- DCreate a composite primary key with user_id as the partition key and game_id as the sort key
Unlock DBS-C01 to see the answer
You've previewed enough free DBS-C01 questions. Unlock DBS-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.