A company runs a web application on EC2 instances behind an Application Load Balancer. The application experiences intermittent failures due to a single Availability Zone failing. Which solution is MOST resilient and cost-effective?
Trap 1: Use a larger instance type in the same Availability Zone
Does not provide multi-AZ resilience.
Trap 2: Use an Auto Scaling group with a single instance in each of three…
Overkill and more expensive; ALB is sufficient.
Trap 3: Migrate to a single larger instance in a different region
Not cost-effective and adds latency.
- A
Use a larger instance type in the same Availability Zone
Why wrong: Does not provide multi-AZ resilience.
- B
Use an Auto Scaling group with a single instance in each of three Availability Zones and a Network Load Balancer
Why wrong: Overkill and more expensive; ALB is sufficient.
- C
Migrate to a single larger instance in a different region
Why wrong: Not cost-effective and adds latency.
- D
Deploy EC2 instances across two Availability Zones and configure the ALB to distribute traffic
Provides fault isolation and load balancing across zones.