Q6 — AWS SAA-C03 Ch.14
Question 6 of 100 | ← Chapter 14
Q1006. A software company needs to upgrade a critical web application. The application currently runs on a single Amazon EC2 instance that the company hosts in a public subnet. The EC2 instance runs a MySQL database. The application's DNS records are published in an Amazon Route 53 zone.A solutions architect must reconfigure the application to be scalable and highly available. The solutions architect must also reduce MySQL read latency.Which combination of solutions will meet these requirements? (Choose two.)
- A. Launch a second EC2 instance in a second AWS Region. Use a Route 53 failover routing policy to redirect the traffic to the second EC2 instance.
- B. Create and configure an Auto Scaling group to launch private EC2 instances in multiple Availability Zones. Add the instances to a target group behind a new Application Load Balancer. ✓
- C. Migrate the database to an Amazon Aurora MySQL cluster. Create the primary DB instance and reader DB instance in separate Availability Zones. ✓
- D. Create and configure an Auto Scaling group to launch private EC2 instances in multiple AWS Regions.Add the instances to a target group behind a new Application Load Balancer.
- E. Migrate the database to an Amazon Aurora MySQL cluster with cross-Region read replicas.
Correct Answer: B. Create and configure an Auto Scaling group to launch private EC2 instances in multiple Availability Zones. Add the instances to a target group behind a new Application Load Balancer., C. Migrate the database to an Amazon Aurora MySQL cluster. Create the primary DB instance and reader DB instance in separate Availability Zones.
Explanation
To upgrade the critical web application to be scalable and highly available while also reducing MySQL read latency, the best combination of solutions is:B. Create and configure an Auto Scaling group to launch private EC2 instances in multiple Availability Zones. Add the instances to a target group behind a new Application Load Balancer.C. Migrate the database to an Amazon Aurora MySQL cluster. Create the primary DB instance and reader DB instance in separate Availability Zones.Explanation of Each Step:B. Create and configure an Auto Scaling group: This solution ensures that the application can scale automatically based on demand. By launching instances in multiple Availability Zones, you enhance the application's availability and fault tolerance. The Application Load Balancer will distribute incoming traffic evenly across the EC2 instances, improving performance and reliability.C. Migrate the database to an Amazon Aurora MySQL cluster: Amazon Aurora provides high availability and scalability. By having a primary DB instance and reader DB instance in separate Availability Zones, you can improve read performance due to the ability to offload read requests to the reader instance. Aurora also offers automatic failover, further enhancing availability.Evaluation of Other Options:A. Launch a second EC2 instance in a second AWS Region: This solution does not provide high availability within the same region and adds unnecessary complexity. Failover routing can lead to longer recovery times and is not ideal for a critical application.D. Create and configure an Auto Scaling group to launch private EC2 instances in multiple AWS Regions: While multi-region deployment can enhance availability, it complicates management and does not address the immediate requirement for low latency and scalability within a single region.E. Migrate the database to an Amazon Aurora MySQL cluster with cross-Region read replicas: This option may provide high availability and scalability, but cross-region replicas introduce latency and are not necessary for reducing read latency within a single region.In summary, Options B and C provide a robust approach to upgrading the application, ensuring it is scalable, highly available, and optimized for performance.