Design High-Performing Architectures
An application uses Amazon DynamoDB Accelerator (DAX) for product reads. Checkout must retrieve the latest successfully written price, while product browsing can tolerate stale prices. Which approach BEST meets these requirements?
Show the answer
Correct answerD. Use strongly consistent reads for checkout requests.
AWhy not this: Eventually consistent reads can return stale prices and do not meet the checkout requirement.
BWhy not this: A shorter TTL reduces the stale-data window but does not guarantee current values.
CWhy not this: Additional DAX nodes increase capacity, not the consistency of cached values.
DWhy this is right: DAX passes strongly consistent reads to DynamoDB, which returns the latest successfully written value.
DAX passes strongly consistent reads through to DynamoDB without serving them from its cache. Reducing the cache TTL limits how long stale values remain cached but cannot guarantee the latest successfully written price.