CLF-C02 Question 154
Select 3An e-commerce company wants to ensure their web application remains highly available even if one Availability Zone (AZ) fails. Which of the following actions should they take to achieve this goal?
- A
Deploy the application across multiple Availability Zones within the same region.
- B
Set up an Auto Scaling group to distribute instances across multiple AZs.
- C
Use Route 53 with a weighted routing policy to distribute traffic between AZs.
- D
Store all application data in a single EC2 instance within one AZ for faster access.
- E
Configure an Elastic Load Balancer to distribute traffic across instances in multiple AZs.
Show answer and explanation
Correct answers: A, B, E
Explanation
High availability in AWS can be achieved by deploying resources across multiple Availability Zones. By using an Auto Scaling group, Elastic Load Balancer, and deploying the application in multiple AZs, the architecture can handle failures in one AZ while maintaining service availability. These components work together to ensure resilience and fault tolerance.
- A. Correct.
Deploying the application across multiple Availability Zones ensures that the application continues running even if one AZ fails, providing high availability.
- B. Correct.
Using an Auto Scaling group across multiple AZs ensures that additional instances can be launched in other AZs if an AZ fails, maintaining application availability.
- C. Incorrect.
While Route 53 can distribute traffic using routing policies, a weighted routing policy alone does not inherently provide high availability across multiple AZs.
- D. Incorrect.
Storing all application data in a single EC2 instance within one AZ creates a single point of failure, which does not align with high availability best practices.
- E. Correct.
An Elastic Load Balancer can distribute incoming traffic across instances in multiple AZs, ensuring that traffic is redirected to healthy instances in the event of an AZ failure.