Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
shantest1
Highly Voted 2 years, 6 months ago
D. answer
upvoted 15 times
...
ryuhei
Highly Voted 1 year, 10 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 7 months, 3 weeks ago
Selected Answer: D
D. Ensure the BatchGetltem operation is called with the ConsistentRead parameter set to true.
upvoted 2 times
...
IhorK
8 months, 3 weeks 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
1 year, 1 month ago
Selected Answer: D
D is correct https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchGetItem.html
upvoted 2 times
...
Mintwater
1 year, 1 month 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
1 year, 10 months ago
D is correct.
upvoted 2 times
...
elf78
1 year, 10 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
1 year, 8 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
1 year, 11 months 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
1 year, 11 months ago
I meant "D" would double the RCUs.
upvoted 1 times
...
...
novice_expert
1 year, 12 months ago
Selected Answer: D
game's status data was out of current means query got eventual consistent data
upvoted 2 times
...
Dantas
2 years, 1 month 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
2 years, 2 months ago
D, BatchGetItem with ConsistentRead
upvoted 1 times
...
user0001
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.
upvoted 1 times
...
mnzsql365
2 years, 4 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
2 years, 6 months ago
DDDDDDDDD
upvoted 1 times
...
gdtypk
2 years, 6 months ago
https://docs.aws.amazon.com/ja_jp/amazondynamodb/latest/developerguide/API_BatchGetItem_v20111205.html
upvoted 1 times
...
Aesthet
2 years, 6 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 ...