SAP-C02 Question 292
Select 3Your company runs a high-traffic e-commerce website hosted on AWS. During peak shopping seasons, customers experience increased latency when accessing the website. The architecture includes an Auto Scaling Group for the web servers, an Application Load Balancer (ALB), and an Amazon RDS database instance with Multi-AZ enabled. Your task is to design a solution to minimize latency and meet performance objectives during these peak periods. What actions should you take?
- A
Enable Amazon ElastiCache to cache frequently accessed data from the database.
- B
Configure the Auto Scaling Group to scale based on ALB Target Response Time metric.
- C
Upgrade the RDS instance to a larger instance type to handle increased database load.
- D
Enable Cross-Region Replication for the RDS instance to distribute database reads.
- E
Migrate the website to AWS Lambda and Amazon API Gateway to improve performance.
Show answer and explanation
Correct answers: A, B, C
Explanation
To meet performance objectives during peak traffic, the solution should focus on reducing latency and scaling the components of the architecture dynamically. Using ElastiCache reduces database load, Auto Scaling based on ALB Target Response Time ensures web servers scale to handle traffic spikes, and upgrading the RDS instance improves database performance. Cross-Region Replication is not relevant for this scenario, and migrating to Lambda and API Gateway is impractical for immediate needs.
- A. Correct.
Correct: Amazon ElastiCache can reduce database load by caching frequently accessed data, significantly improving performance and reducing latency.
- B. Correct.
Correct: Configuring Auto Scaling to scale based on ALB Target Response Time ensures the system dynamically adds or removes instances based on actual user experience, improving performance during peak periods.
- C. Correct.
Correct: Upgrading the RDS instance to a larger instance type can handle increased database throughput and reduce latency during heavy traffic periods.
- D. Incorrect.
Incorrect: Cross-Region Replication is typically used for disaster recovery or global distribution of reads. It does not directly minimize latency in the same region.
- E. Incorrect.
Incorrect: While migrating to AWS Lambda and API Gateway could improve scalability, this would require a complete architecture rewrite, which is not practical for addressing immediate performance objectives.