Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

You need zero-downtime AZ failover and a way to rehearse it. What tool do you use?

AdvancedScenarioEC2, Auto Scaling and Load Balancing
Answer

Situation read → Application Recovery Controller zonal shift moves traffic away from an impaired AZ.

What I'd do →

  1. Enable zonal shift on the ALB or NLB
  2. Run aws arc-zonal-shift start-zonal-shift --resource-identifier <alb-arn> --away-from eu-west-1a --expires-in 1h --comment drill
  3. Watch capacity and latency in the other AZs
  4. Pre-scale so remaining AZs can absorb the load
  5. Practice quarterly

Why → Shifting traffic is reversible and quick, and rehearsal exposes under-provisioned AZs.

Interview tip → Static stability: do not depend on control plane actions during a failure.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing