
Answer-first summary for fast verification
Answer: Implement write-through caching
The correct answer is B. A write-through caching strategy ensures that every time data is written to the database, it is also written to the cache. This approach maintains synchronization between the ElastiCache and the Multi-AZ Amazon RDS MySQL database, ensuring the data in the cache always matches the data in the database. Options A (lazy loading caching), C (write-around caching), and D (write-back caching) do not provide the same level of synchronization between the database and the cache as write-through caching.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In an AWS-hosted three-tier web application, which caching strategy should be used to maintain synchronization between Amazon ElastiCache and a Multi-AZ Amazon RDS MySQL database when items are added by customers?
A
Implement lazy loading caching
B
Implement write-through caching
C
Implement write-around caching
D
Implement write-back caching
No comments yet.