
Answer-first summary for fast verification
Answer: Cache invalidation is not occurring on item price updates.
The issue likely arises because the cache is not being invalidated when the price of an item is updated. In a caching strategy using Amazon ElastiCache in front of Amazon DynamoDB, if the cache is not properly invalidated or updated when changes occur in the DynamoDB, stale data will be served from the cache. This leads to the observed behavior where sellers' updates to item prices are not reflected in the product listings. Implementing a cache invalidation mechanism will ensure that the most up-to-date data is retrieved either from the cache or directly from DynamoDB.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a market application using Amazon DynamoDB with Amazon ElastiCache, why might updated item prices not reflect in product listings despite frequent changes?
A
Cache invalidation is not occurring on item price updates.
B
Item prices are retrieved through a particular ElastiCache cluster configuration.
C
DynamoDB table has an issue with allocated read capacity.
D
DynamoDB table has an issue with allocated write capacity.
No comments yet.