Interview Prep/AWS/VPC and Networking

You must inspect all egress traffic from 50 VPCs centrally. What is the architecture?

AdvancedScenarioVPC and Networking
Answer

Situation read → Centralized egress with an inspection VPC behind Transit Gateway.

What I'd do →

  1. Spoke VPCs send 0.0.0.0/0 to the TGW
  2. TGW route table for spokes points to an inspection VPC attachment with appliance mode enabled
  3. Inspection VPC runs AWS Network Firewall or third-party firewalls behind a Gateway Load Balancer
  4. Firewall subnets forward to NAT gateways in an egress VPC
  5. Return path via TGW; enable flow logs on all attachments

Why → Appliance mode keeps both directions of a flow on the same AZ so stateful inspection works.

Interview tip → Mention the cost and single-choke-point trade-off versus per-VPC firewalls.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking