SAA-C03 Question 344
Select 2A company is hosting a multi-tier web application on AWS. The application uses an Application Load Balancer (ALB) to distribute traffic to multiple Amazon EC2 instances in an Auto Scaling group. The database layer uses Amazon RDS for MySQL. During peak traffic, users report increased latency and occasional timeout errors. The company wants to improve the application's performance and scalability while minimizing operational overhead. Which combination of actions should the Solutions Architect recommend?
- A
Enable Auto Scaling for the EC2 instances to handle increased traffic.
- B
Modify the ALB listener to use TCP instead of HTTP to reduce latency.
- C
Enable Amazon RDS Read Replicas to offload read traffic from the primary database.
- D
Migrate the application from EC2 instances to AWS Lambda using Amazon API Gateway.
- E
Increase the instance type of the primary database in Amazon RDS to a larger size.
Show answer and explanation
Correct answers: A, C
Explanation
To address the reported performance issues during peak traffic, a combination of scalable solutions is recommended. Enabling Auto Scaling for the EC2 instances ensures the application can handle varying traffic loads dynamically. Adding Amazon RDS Read Replicas offloads read-heavy traffic from the primary database, improving overall database performance. These solutions align with AWS best practices for scalability and operational efficiency.
- A. Correct.
This is correct. Enabling Auto Scaling for the EC2 instances ensures that the application can dynamically adjust its capacity to handle increased traffic, improving scalability and performance without manual intervention.
- B. Incorrect.
This is incorrect. Changing the ALB listener to use TCP is not a recommended solution for reducing latency in this scenario. HTTP is typically used for web applications, and switching to TCP would not address the underlying issue of scaling.
- C. Correct.
This is correct. Adding Amazon RDS Read Replicas can offload read traffic from the primary database, improving performance and reducing the load on the primary database during peak traffic.
- D. Incorrect.
This is incorrect. Migrating to AWS Lambda and API Gateway would require significant changes to the application architecture. While serverless can improve scalability, it is not a quick solution for the current performance issues.
- E. Incorrect.
This is incorrect. Increasing the instance size of the primary database may temporarily improve performance but does not address scalability during peak traffic. It is a less efficient and more costly solution compared to adding Read Replicas.