ANS-C01 Network Implementation Practice Question
A company has a VPC with a transit gateway (TGW) connected to multiple VPCs and an on-premises network via AWS Direct Connect. The on-premises network advertises a specific prefix 10.0.0.0/16. A VPC attachment in the same region also advertises the same prefix. The TGW route table has the on-premises route as static and the VPC route as propagated. Which route will be used for traffic destined to 10.0.0.5?
⚠ Common exam trap
The ANS-C01 exam often tests the misconception that propagated routes from VPC attachments are preferred over static routes, or that ECMP applies when two routes for the same prefix exist, but the key trap is that static routes always override propagated routes in a TGW route table regardless of the source.
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
✓
The static route to on-premises
When a transit gateway (TGW) receives both a static route and a propagated route for the same prefix, the static route takes precedence regardless of the propagation source. This is because static routes have a higher administrative distance (lower priority number) than dynamically learned routes. Therefore, traffic destined to 10.0.0.5 will be forwarded via the Direct Connect attachment to the on-premises network.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The propagated route from VPC
Why it's wrong here
Propagated routes have lower precedence.
- ✓
The static route to on-premises
Why this is correct
Static routes have higher precedence than propagated.
- ✗
Both routes will be used with ECMP
Why it's wrong here
ECMP not used between static and propagated.
- ✗
The route with the shortest AS_PATH
Why it's wrong here
AS_PATH is not considered for static routes.
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.