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 33 discussion

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

A developer has built a market application that stores pricing data in Amazon DynamoDB with Amazon ElastiCache in front. The prices of items in the market change frequently. Sellers have begun complaining that, after they update the price of an item, the price does not actually change in the product listing.
What could be causing this issue?

  • A. The cache is not being invalidated when the price of the item is changed
  • B. The price of the item is being retrieved using a write-through ElastiCache cluster
  • C. The DynamoDB table was provisioned with insufficient read capacity
  • D. The DynamoDB table was provisioned with insufficient write capacity
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
WilsonNF
Highly Voted 3 years, 6 months ago
Correct is "A"
upvoted 18 times
...
RicardoD
Highly Voted 3 years, 5 months ago
A is the answer Cache is not being invalidated after table write and this causes inconsistency
upvoted 11 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: A
A) Correct - If the price is stored in Amazon ElastiCache and the cache is not invalidated or updated when the item price in DynamoDB changes, the application will continue to serve the outdated price from the cache. To solve this, you need to ensure that the cache is invalidated (or updated) whenever the price is updated in DynamoDB.
upvoted 1 times
sumanshu
4 months, 1 week ago
B) Eliminated - A write-through caching mechanism automatically writes data to the cache when data is written to the database. While this ensures data is kept in sync between the cache and database, it doesn't seem to be the root cause here
upvoted 1 times
...
...
JonasKahnwald
5 months, 1 week ago
Selected Answer: A
A is the problem. B would be a possible solution.
upvoted 1 times
...
Sty01
8 months, 1 week ago
A is the one.
upvoted 1 times
...
AssessmentKing
1 year, 1 month ago
Who in the world would use ElastiCache in front of DynamoDB? Something is off with this one
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: A
for sure A
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: A
The correct answer is A, the cache is not being invalidated when the price of the item is changed. Instead, we should use a write through cache policy in order to invalidate the cache as soon as an item has been added or modified to the table.
upvoted 1 times
...
peterpain
1 year, 11 months ago
Selected Answer: A
To get the most recent updated data we need to invalidate cache
upvoted 1 times
...
MMaquis
2 years, 2 months ago
Selected Answer: A
Answer is A
upvoted 1 times
...
KT_Yu
2 years, 3 months ago
B is incorrect because you should be seeing immediate change using write-through
upvoted 1 times
...
speer
2 years, 4 months ago
Selected Answer: A
A is correct
upvoted 2 times
...
dark_cherrymon
2 years, 5 months ago
A easy
upvoted 1 times
...
JP_PA
3 years, 2 months ago
Selected Answer: A
ANS: A
upvoted 1 times
...
Chinta
3 years, 5 months ago
A is correct
upvoted 1 times
...
arpana_03
3 years, 6 months ago
A is Correct
upvoted 1 times
...
saeidp
3 years, 6 months ago
A is correct
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