Q4 — AWS SAA-C03 Ch.11

Question 4 of 100 | ← Chapter 11

Q704. A company designed a stateless two-tier that uses Amazon EC2 in a single Availability Zone and an Amazon RDS multi-AZ DB instance.New company management wants to ensure the application is highly available. What should a solutions architect do to meet this requirement?

Correct Answer: A. Configure the application to use Multi-AZ EC2 Auto Scaling and create an Application Load Balancer.

Explanation

To ensure high availability for the stateless two-tier application that uses Amazon EC2 in a single Availability Zone and an Amazon RDS multi-AZ DB instance, the recommended solution is:A. Configure the application to use Multi-AZ EC2 Auto Scaling and create an Application Load Balancer.Option A provides a solution that ensures high availability for the application:- Configure Multi-AZ EC2 Auto Scaling: EC2 Auto Scaling allows you to automatically add or remove EC2 instances based on demand. By configuring Multi-AZ Auto Scaling, you can ensure that the application runs in multiple Availability Zones, providing fault tolerance and high availability.- Create an Application Load Balancer: An Application Load Balancer (ALB) distributes incoming traffic across multiple EC2 instances, improving availability and load distribution. By creating an ALB, the application can handle increased traffic and distribute it across the EC2 instances running in different Availability Zones.Option B, configuring the application to take snapshots of the EC2 instances and sending them to a different AWS Region, is not the recommended solution for achieving high availability. While snapshots are useful for backup and disaster recovery purposes, they do not provide real-time availability guarantees or automatic failover.Option C, configuring the application to use Amazon Route 53 latency-based routing to feed requests to the application, is not the most suitable solution for ensuring high availability. Latency-based routing is used to route requests to the region with the lowest latency, but it does not inherently provide fault tolerance or redundancy across Availability Zones.Option D, configuring Amazon Route 53 rules to handle incoming requests and creating a multi-AZ Application Load Balancer, is not the best solution in this scenario. While an ALB can improve availability and load distribution, it should be used in conjunction with EC2 Auto Scaling for dynamic scaling and fault tolerance.Therefore, the best solution to ensure high availability for the stateless two-tier application is A: Configure the application to use Multi-AZ EC2 Auto Scaling and create an Application Load Balancer. This solution leverages EC2 Auto Scaling to ensure the application runs in multiple Availability Zones and uses an ALB to distribute traffic across the EC2 instances, providing fault tolerance and high availability.