Connecting two VPCs privately
WHAT IT TESTS: VPC connectivity options and their scaling tradeoffs. OUTLINE: VPC peering is simple but non-transitive and full-mesh; a Transit Gateway scales hub-and-spoke; PrivateLink exposes one service narrowly.
WHAT IT TESTS: knowledge of private cross-VPC connectivity and when each pattern breaks down. ANSWER OUTLINE: VPC peering gives a direct one-to-one link, low cost and low latency, but is non-transitive and becomes a full mesh as VPCs multiply. A Transit Gateway acts as a hub that scales hub-and-spoke routing across many VPCs at extra cost. PrivateLink or a private endpoint exposes only the single monitoring service, the tightest blast radius and works with overlapping CIDRs.
Read the original → interview
- #vpc
- #networking
- #peering
- #transit-gateway
- #cloud
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.