SAP-C02 Question 476
Select 3A company runs a multi-tier web application on AWS. The application uses an Amazon RDS database for transactional data and stores large static files in an Amazon S3 bucket. Recently, the company experienced a significant increase in traffic, causing performance issues in the application. As a solutions architect, which combination of solutions will help optimize the application’s performance while ensuring cost-efficiency?
- A
Enable Amazon RDS read replicas to reduce read traffic on the primary database instance
- B
Use Amazon CloudFront to cache static content stored in the S3 bucket
- C
Scale the Amazon RDS instance vertically by upgrading to a larger instance size
- D
Use Amazon S3 Transfer Acceleration to improve file upload speeds to the S3 bucket
- E
Deploy an Amazon ElastiCache cluster in front of the database to cache frequently accessed data
Show answer and explanation
Correct answers: A, B, E
Explanation
To optimize the performance of a multi-tier web application, a combination of caching strategies and scalable solutions is necessary. Adding RDS read replicas helps distribute read traffic efficiently, Amazon CloudFront accelerates the delivery of static assets from S3, and ElastiCache reduces database load by caching frequently accessed data. Vertical scaling of the RDS instance may be a short-term fix but is not cost-efficient, and S3 Transfer Acceleration primarily addresses different use cases.
- A. Correct.
Correct: Enabling Amazon RDS read replicas offloads read traffic from the primary database, improving performance and scalability for read-heavy workloads.
- B. Correct.
Correct: Using Amazon CloudFront to cache static content stored in the S3 bucket reduces latency and improves performance by delivering content from edge locations.
- C. Incorrect.
Incorrect: Scaling the RDS instance vertically may temporarily improve performance but is not cost-efficient or scalable as a long-term solution.
- D. Incorrect.
Incorrect: Amazon S3 Transfer Acceleration improves upload speeds for geographically distant users but does not address the performance issues related to static content delivery.
- E. Correct.
Correct: Deploying an Amazon ElastiCache cluster to cache frequently accessed data reduces database load and improves application performance.