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?
A) Create a global secondary index with game_id as the partition key
B) Create a global secondary index with user_id as the partition key
C) Create a composite primary key with game_id as the partition key and user_id as the sort key
D) Create a composite primary key with user_id as the partition key and game_id as the sort key
Correct Answer:
Verified
Q109: An ecommerce company has tasked a Database
Q110: A company has an AWS CloudFormation template
Q111: A company is looking to move an
Q112: A company is using Amazon with Aurora
Q113: A company is planning to close for
Q115: A company wants to migrate its on-premises
Q116: A company is building a software as
Q117: A database specialist was alerted that a
Q118: A company is load testing its three-tier
Q119: A retail company manages a web application
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents