Cloud Engineer interview question · Most asked

Design a highly available web application on AWS that survives the loss of an availability zone.

Design Asked in Cloud Engineer · DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Spread every tier across at least two (preferably three) availability zones: an Application Load Balancer across public subnets, application instances or containers in an Auto Scaling group or ECS/EKS service across private subnets, a Multi-AZ database (RDS Multi-AZ or Aurora), shared state in managed services (ElastiCache Multi-AZ, S3), and one NAT gateway per AZ. Health checks and autoscaling replace failed capacity automatically.

Longer Answer

  • Capacity: size so the remaining AZs can carry full load (N+1), or scale quickly with warm pools.
  • Stateless app tier: sessions in Redis or tokens, files in S3.
  • Database: synchronous standby in another AZ; the application reconnects after failover (DNS-based, retry logic).
  • Dependencies: avoid single-AZ resources hidden in the design (one NAT gateway, a self-managed cache node).
  • Edge: CloudFront and Route 53 health checks; multi-region only if the RTO/RPO requires it.
  • Test it: AWS Fault Injection Service or game days that take an AZ away.

Key Points

  • Every tier in two or three AZs.
  • N+1 capacity.
  • Multi-AZ data stores.
  • No hidden single-AZ dependencies.
  • Test with fault injection.

Explanation

What interviewers look for

Spotting hidden single points of failure and testing the design.

More Cloud Engineer questions

← All Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake