AWS Networking 面试高频

AWS Networking Interview Guide

AWS Networking Interview Guide

networkinginterviewVPCRoute 53
Last organized

Troubleshoot AWS networking layer by layer across DNS, routes, subnet controls, load balancing, and host services.

Layered answer

Source and destination → DNS → route/IGW/NAT → subnet/NACL → security group → host firewall → application listener → logs and VPC Flow Logs.

Frequent questions

QuestionStrong answer
SG vs NACLENI, stateful, allow-only / subnet, stateless, allow-deny, rule-number order
ALB / NLB / GWLBHTTP content routing / L4 and static IP / security-appliance traffic
Only ALB may reach EC2Reference the ALB SG from the application SG; do not hard-code ALB IPs
Timeout / refused / permission deniedNetwork path / service listener / SSH identity
Route 53 policyWeighted, latency, failover, geo, and IP-based policies select DNS answers
Hybrid DNSOn-prem to AWS uses inbound; AWS to on-prem uses outbound + resolver rule
CloudFront vs Global AcceleratorHTTP cache and edge features / TCP-UDP Anycast IP and path optimization

Boundaries

  • A public IP does not guarantee Internet reachability.
  • Route 53 failover changes DNS answers; it does not move existing connections or provide complete DR.
  • Alias records can target supported AWS resources at the zone apex; CNAME cannot be used there.
  • An Active load balancer does not mean its targets are healthy.
  • An ASG owns capacity and replacement; an ELB routes only to healthy targets.

Remember

Troubleshoot by layer; never respond to every timeout by editing only the security group.