exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 308 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 308
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company is developing a microservice that will manage customer account data in an Amazon DynamoDB table. Insert, update, and delete requests will be rare. Read traffic will be heavy. The company must have the ability to access customer data quickly by using a customer ID. The microservice can tolerate stale data.

Which solution will meet these requirements with the FEWEST possible read capacity units (RCUs)?

  • A. Read the table by using eventually consistent reads.
  • B. Read the table by using strongly consistent reads.
  • C. Read the table by using transactional reads.
  • D. Read the table by using strongly consistent PartiQL queries.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
DrCloud
Highly Voted 2 years, 5 months ago
Ans: A Key points: "Read heavy", "access data quickly", "can tolerate stale data" To achieve: "FEWEST" possible (RCUs) For items up to 4 KB in size, one RCU can perform one strongly consistent read request per second. For items up to 4 KB in size, one RCU can perform two eventually consistent read requests per second. Transactional read requests require two RCUs to perform one read per second for items up to 4 KB. For example, a strongly consistent read of an 8 KB item would require two RCUs, an eventually consistent read of an 8 KB item would require one RCU, and a transactional read of an 8 KB item would require four RCUs. https://aws.amazon.com/dynamodb/pricing/provisioned/
upvoted 12 times
...
Paul_101
Most Recent 1 year, 7 months ago
Selected Answer: A
I agree with A
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: A
A is the correct answer, I totally agree with you. In order to have a quick access to data and stale data can be tolerate, we can use an eventually consinstent read that will use half of RCUs compared to a strongly consistent read. The strongly consistent read ensure that the user retrive the most recent data even if the case is not updated but require more effort.
upvoted 1 times
...
mrbig00
2 years, 4 months ago
Selected Answer: A
The correct solution is option A. Reading the table by using eventually consistent reads will meet the requirements with the fewest possible read capacity units (RCUs). When using eventually consistent reads, DynamoDB returns the latest data that it has in its cache, which may be slightly out of date. This is acceptable in this case because the microservice can tolerate stale data. Using eventually consistent reads will reduce the number of RCUs required to read the table because DynamoDB does not need to wait for all copies of the data to be updated before returning the data. Using strongly consistent reads or transactional reads would require more RCUs because these read modes require DynamoDB to wait for all copies of the data to be updated before returning the data. Using PartiQL queries would not be necessary because the requirements can be met using regular read operations.
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: A
A. Read the table by using eventually consistent reads.
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: A
AAAAAAA
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago