ANS-C01 Network Design Practice Question
A company wants to ensure that traffic between Amazon EC2 instances in the same VPC but different subnets is inspected by a network security appliance. The appliance is deployed in a separate security VPC. Which AWS service should be used to route traffic through the security VPC?
⚠ Common exam trap
It's easy for candidates to confuse VPC Peering with transitive routing, assuming that multiple peering connections can chain traffic through a middle VPC, but AWS explicitly prohibits transitive routing through VPC peering.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
AWS Transit Gateway
AWS Transit Gateway acts as a hub-and-spoke router that can interconnect multiple VPCs, including a security VPC, and centrally route traffic between them. By attaching both the workload VPC and the security VPC to a Transit Gateway, you can configure route tables to force all inter-subnet traffic (or inter-VPC traffic) through the network security appliance in the security VPC. This enables inspection without requiring a full mesh of VPC peering connections or complex routing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
AWS Transit Gateway
Why this is correct
Transit Gateway can route traffic between VPCs with route tables enabling inspection.
- ✗
VPC Peering
Why it's wrong here
VPC Peering does not support transitive routing; each pair must be peered.
- ✗
VPC Endpoint
Why it's wrong here
VPC Endpoints provide private access to AWS services, not inter-VPC routing.
- ✗
Network Load Balancer
Why it's wrong here
NLB distributes traffic to targets, not route inter-VPC traffic.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 1,621 original ANS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ANS-C01 exam.