SAA-C03 Question 88
Select 3A company is running a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application stores data in an Amazon RDS database. The company wants to ensure that the architecture is resilient to failure in a single Availability Zone. How should the architecture be designed to meet this requirement?
- A
Deploy the EC2 instances across multiple Availability Zones and register them with the ALB.
- B
Enable Multi-AZ deployment for the Amazon RDS database.
- C
Configure the ALB to route traffic only to instances in the primary Availability Zone.
- D
Set up an Auto Scaling group for the EC2 instances and configure it to span across multiple Availability Zones.
- E
Use Amazon S3 for storing application data instead of RDS.
Show answer and explanation
Correct answers: A, B, D
Explanation
To design a resilient architecture, you must distribute resources across multiple Availability Zones to ensure high availability and fault tolerance. Deploying EC2 instances across multiple zones, enabling Multi-AZ for RDS, and using an Auto Scaling group that spans multiple zones ensures that your application can handle failures in a single Availability Zone and remain operational.
- A. Correct.
Correct: Deploying EC2 instances across multiple Availability Zones ensures high availability and fault tolerance in case one Availability Zone fails.
- B. Correct.
Correct: Enabling Multi-AZ for RDS provides automatic failover to a standby replica in another Availability Zone, enhancing database resiliency.
- C. Incorrect.
Incorrect: Configuring the ALB to route traffic only to one Availability Zone defeats the purpose of fault tolerance and does not provide high availability.
- D. Correct.
Correct: Using an Auto Scaling group that spans multiple Availability Zones ensures that instances can be launched in other zones if one becomes unavailable.
- E. Incorrect.
Incorrect: While Amazon S3 is a durable storage solution, it is not a direct substitute for a relational database like RDS in this scenario.