Communication and Network Security

VPC A peers with VPC B, and VPC B peers with VPC C, yet instances in A cannot reach C. Policy requires all inter-VPC traffic to pass one central inspection point and never cross the internet. What should the architect do?

Show the answer

Correct answerB. Attach all VPCs to a transit gateway with an inspection VPC

AWhy not this: VLANs are layer 2 segmentation inside a network and cannot be stretched across separate VPCs.

BWhy this is right: A transit gateway is a central hub that supports transitive routing, so routes can force all traffic through an inspection VPC.

CWhy not this: Peering would connect A and C, but traffic goes directly between them and skips any central inspection point.

DWhy not this: Public IPs and internet gateways send traffic across the internet, which the policy forbids.

Peering is non-transitive, so A cannot reach C through B. A transit gateway hub-and-spoke design lets routing send all inter-VPC traffic through one inspection VPC. A direct A-to-C peering gives reachability but bypasses central inspection.