SAA-C03 Question 290
Single answerAn e-commerce company hosts its web application on Amazon EC2 instances behind an Application Load Balancer. The application's backend database is an Amazon RDS instance. The database experiences high read traffic during flash sales, causing performance issues. You need to implement a caching solution to reduce the load on the database and improve application performance. Which solution should you choose?
- A
Use Amazon ElastiCache for Redis to cache frequently accessed data.
- B
Enable Amazon RDS Read Replicas to distribute read traffic.
- C
Use Amazon S3 to store and retrieve frequently accessed data.
- D
Enable Amazon DynamoDB Accelerator (DAX) for caching database queries.
Show answer and explanation
Correct answer: A
Explanation
The best solution for caching frequently accessed data in this scenario is Amazon ElastiCache for Redis. It provides in-memory caching that significantly reduces database load and improves performance, especially during high traffic events like flash sales. The other options are either not designed for caching (Amazon S3), specific to other services (DAX for DynamoDB), or less optimal for achieving the desired performance boost (RDS Read Replicas).
- A. Correct.
Using Amazon ElastiCache for Redis is a highly effective solution for caching frequently accessed data, reducing the load on the database and improving application performance. It works well with relational databases like Amazon RDS.
- B. Incorrect.
While Amazon RDS Read Replicas can offload some read traffic, they do not provide in-memory caching and may not be as fast as a caching layer like ElastiCache.
- C. Incorrect.
Amazon S3 is a storage service and is not designed for caching database queries or frequently accessed relational data.
- D. Incorrect.
Amazon DynamoDB Accelerator (DAX) is specifically designed for DynamoDB and does not work with Amazon RDS.