Topic 1 Question 217
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?
The cache is not being invalidated when the price of the item is changed.
The price of the item is being retrieved using a write-through ElastiCache cluster.
The DynamoDB table was provisioned with insufficient read capacity.
The DynamoDB table was provisioned with insufficient write capacity.
ユーザの投票
コメント(3)
A. The cache is not being invalidated when the price of the item is changed.
In a caching setup using Amazon ElastiCache in front of Amazon DynamoDB, if the cache is not being invalidated or updated when data in DynamoDB is changed, it can result in stale data being served from the cache, leading to the observed behavior.
To resolve this issue, you should implement a mechanism to invalidate or update the cache whenever the price of an item is changed in DynamoDB to ensure that the most up-to-date data is retrieved from the cache or DynamoDB.
👍 3Claire_KMT2023/10/27- 正解だと思う選択肢: A
ANS: A The cache needs to be invalidated. The write-through approach could be helpful here
👍 1kaes2023/11/26 - 正解だと思う選択肢: A
A is correct
👍 1Certified1012023/12/16
シャッフルモード