DBS-C01 · Question #114
DBS-C01 Question #114: Real Exam Question with Answer & Explanation
The correct answer is D: Ensure the BatchGetltem operation is called with the ConsistentRead parameter set to true.. https://docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/API_BatchGetItem_ By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all
Question
A company is releasing a new mobile game featuring a team play mode. As a group of mobile device users play together, an item containing their statuses is updated in an Amazon DynamoDB table. Periodically, the other users' devices read the latest statuses of their teammates from the table using the BatchGetltemn operation. Prior to launch, some testers submitted bug reports claiming that the status data they were seeing in the game was not up-to-date. The developers are unable to replicate this issue and have asked a database specialist for a recommendation. Which recommendation would resolve this issue?
Options
- AEnsure the DynamoDB table is configured to be always consistent.
- BEnsure the BatchGetltem operation is called with the ConsistentRead parameter set to false.
- CEnable a stream on the DynamoDB table and subscribe each device to the stream to ensure all
- DEnsure the BatchGetltem operation is called with the ConsistentRead parameter set to true.
Explanation
https://docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/API_BatchGetItem_ By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all
Topics
Community Discussion
No community discussion yet for this question.