AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A media company is running a web application in AWS that retrieves data from a relational database. The application experiences high latency during peak hours due to frequent database reads. What is the most cost-effective way to improve the application's read performance?
Use a content delivery network to cache database responses at edge locations.
Implement Amazon ElastiCache with Redis to cache frequently accessed data.
Increase the size of the database instance to improve performance.
Enable read replicas for the database to offload read traffic.
Implementing Amazon ElastiCache with Redis allows the application to cache frequently accessed data in memory, significantly reducing the number of reads from the database and improving performance. This is a cost-effective solution because it offloads repetitive queries to a fast, in-memory data store without the need to scale the database resources. Increasing the size of the database instance as well as enabling read replicas can improve performance but at the expense of additional cost and complexity due to more resources being involved. Using a content delivery network (CDN) is not suitable for caching database responses, as it is designed for content delivery of static and dynamic web content, rather than database query output.
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 is Redis and why would I choose it for caching?
Open an interactive chat with Bash
What are the drawbacks of increasing the size of a database instance?