Interview Prep/AWS/VPC and Networking

The ALB health checks fail only for targets in one subnet. What could differ?

IntermediateScenarioVPC and Networking
Answer

Situation read → One subnet differs in routing, NACL, or SG source.

What I'd do →

  1. Compare NACLs on the failing subnet for the health check port
  2. Confirm the target SG allows the ALB SG on the health check port
  3. Confirm the subnet is enabled for the ALB's AZ
  4. Check the instance's local firewall and app listening address with ss -ltnp

Why → Health checks originate from ALB ENIs in the enabled subnets, so subnet-level rules matter.

Interview tip → Mention app binding to 127.0.0.1 as the classic cause.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking