exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 104 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 104
Topic #: 1
[All AWS Certified Database - Specialty Questions]

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?

  • A. Ensure the DynamoDB table is configured to be always consistent.
  • B. Ensure the BatchGetltem operation is called with the ConsistentRead parameter set to false.
  • C. Enable a stream on the DynamoDB table and subscribe each device to the stream to ensure all devices receive up-to-date status information.
  • D. Ensure the BatchGetltem operation is called with the ConsistentRead parameter set to true.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
shantest1
Highly Voted 3 years, 8 months ago
D. answer
upvoted 15 times
...
ryuhei
Highly Voted 2 years, 11 months ago
Selected Answer: D
Answer:D https://docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html
upvoted 6 times
...
Pranava_GCP
Most Recent 1 year, 9 months ago
Selected Answer: D
D. Ensure the BatchGetltem operation is called with the ConsistentRead parameter set to true.
upvoted 2 times
...
IhorK
1 year, 10 months ago
Selected Answer: D
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 tables. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
upvoted 1 times
...
backbencher2022
2 years, 2 months ago
Selected Answer: D
D is correct https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
upvoted 2 times
...
Mintwater
2 years, 2 months ago
D. 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 tables. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
upvoted 2 times
...
sachin
2 years, 11 months ago
D is correct.
upvoted 2 times
...
elf78
2 years, 11 months ago
C is the answer. Questions states that "..periodically reads" which mean re using the BatchGetItem with consistent read (D) is not going to solve the problem since data might be already stale on the next read. However, by using Streams each device will be notified immediately.
upvoted 1 times
shammous
2 years, 9 months ago
Consistent means getting the latest data. You are talking about the "eventual" case. Streams is usually used to trigger actions based on events happening on the db. D is probably the answer.
upvoted 1 times
...
...
dbaroger
3 years ago
Selected Answer: C
C is the most effective. Streams always will show the last update of the item, so, all users will read the same item status. C would resolve the problem as well, but will double the read capacity unit and the cost will double too https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
upvoted 1 times
dbaroger
3 years ago
I meant "D" would double the RCUs.
upvoted 1 times
...
...
novice_expert
3 years, 1 month ago
Selected Answer: D
game's status data was out of current means query got eventual consistent data
upvoted 2 times
...
Dantas
3 years, 2 months ago
Selected Answer: D
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 tables. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
upvoted 4 times
...
kped21
3 years, 3 months ago
D, BatchGetItem with ConsistentRead
upvoted 1 times
...
user0001
3 years, 3 months ago
D 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 tables.
upvoted 1 times
...
mnzsql365
3 years, 5 months ago
D 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 tables.
upvoted 2 times
...
Suresh108
3 years, 7 months ago
DDDDDDDDD
upvoted 1 times
...
gdtypk
3 years, 7 months ago
https://docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/API_BatchGetItem_v20111205.html
upvoted 1 times
...
Aesthet
3 years, 7 months ago
D final answer
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 ...