Interview Prep/AWS/VPC and Networking

Design hybrid connectivity to on-prem that survives a link failure.

IntermediateScenarioVPC and Networking
Answer

Situation read → Redundancy must exist at the device, circuit and path level.

What I'd do →

  1. Primary: Direct Connect, ideally two connections at different locations
  2. Backup: Site-to-Site VPN over the internet attached to the same Transit Gateway or Virtual Private Gateway
  3. Use BGP on both with local preference or AS-path prepending favoring DX
  4. Enable BFD and test failover by shutting one path
  5. Monitor TunnelState and DX ConnectionState metrics

Why → DX gives predictable latency; VPN gives fast, cheap insurance with automatic BGP failover.

Interview tip → A single DX is a single point of failure; say so.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking