AWS Certified Developer Associate DVA-C01 – Question225

A company’s ecommerce website is experiencing massive traffic spikes, which are causing performance problems in the
company database. Users are reporting that accessing the website takes a long time.
A Developer wants to implement a caching layer using Amazon ElastiCache. The website is required to be responsive no matter which product a user views, and the updates to product information and prices must be strongly consistent.
Which cache writing policy will satisfy these requirements?

A.
Write to the cache directly and sync the backend at a later time
B. Write to the backend first and wait for the cache to expire
C. Write to the cache and the backend at the same time
D. Write to the backend first and invalidate the cache

Correct Answer: A

Explanation: