A company hosts a three-tier web application in the AWS Cloud. A Multi-AZAmazon RDS for MySQL server forms the database layer Amazon ElastiCache forms the cache layer. The company wants a caching strategy that adds or updates data in the cache when a customer adds an item to the database. The data in the cache must always match the data in the database. Which solution will meet these requirements?
- AImplement the lazy loading caching strategy
- BImplement the write-through caching strategy (correct answer)
- CImplement the adding TTL caching strategy
- DImplement the AWS AppConfig caching strategy
Reveal answer & explanationHide answer
The correct answer is B. Option B: Implement the write-through caching strategy By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.
