AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company's application hosted on AWS uses a database that is read-heavy and experiences occasional spikes in read traffic, causing performance degradation. To optimize for cost and performance, which of the following is the MOST appropriate caching strategy to implement?
You selected this option
Implementing Amazon S3 Select to quickly retrieve necessary data from S3 buckets instead of the database.
You selected this option
Utilizing Amazon ElastiCache for Redis to store and retrieve commonly accessed data.
You selected this option
Increasing the size and computation power of the database to handle the spikes in read traffic.
You selected this option
Deploying compute instances configured with ephemeral storage to cache frequent database queries.
Using Amazon ElastiCache for Redis as a caching layer in front of the database can greatly enhance read performance by storing frequently accessed data in-memory. This reduces database load, leading to potentially lower costs by avoiding the need for scaling the database to meet sporadic read traffic spikes. Amazon ElastiCache supports complex data types and atomic operations, which makes it highly suitable for read-heavy database workloads. On the other hand, placing compute instances with ephemeral storage as a cache or using Amazon S3 Select would not offer the same level of latency optimization for database read operations. Amazon S3 Select is specifically designed for retrieving subsets of data from objects in S3 and would not serve as an effective front-end cache for a database.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Amazon ElastiCache and how does it work?
Open an interactive chat with Bash
What are the advantages of using Redis with ElastiCache?
Open an interactive chat with Bash
What are the differences between caching and database scaling?