Courseiva
Network ImplementationhardMultiple ChoiceObjective-mapped

ANS-C01 Network Implementation Practice Question

A company has a Direct Connect connection with a private VIF to a VPC. The on-premises network is advertising a default route (0.0.0.0/0) over BGP. The VPC has an internet gateway attached. When an EC2 instance in the VPC sends traffic to an internet destination, which path does it take by default?

⚠ Common exam trap

The ANS-C01 exam often tests the misconception that an internet gateway always takes precedence for internet-bound traffic, but the trap here is that a BGP-advertised default route via Direct Connect is treated as a static route in the VPC, overriding the internet gateway's implicit route for the same destination.

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

Traffic goes to the on-premises network via Direct Connect.

When an on-premises network advertises a default route (0.0.0.0/0) over BGP via a Direct Connect private VIF, that route is propagated into the VPC route tables as a static route. By default, the most specific route (longest prefix match) is preferred, but since both the internet gateway and the BGP-advertised route are for 0.0.0.0/0, the BGP route takes precedence because it is learned via a more specific path (Direct Connect) and is considered a static route in the VPC route table, overriding the internet gateway's implicit route.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Traffic goes to the on-premises network only if there is a static route.

    Why it's wrong here

    BGP propagates the route automatically.

  • Traffic is dropped because there is no route.

    Why it's wrong here

    There is a route via Direct Connect.

  • Traffic goes to the internet via the internet gateway.

    Why it's wrong here

    Unless a more specific route to IGW exists, the BGP route takes precedence.

  • Traffic goes to the on-premises network via Direct Connect.

    Why this is correct

    The propagated BGP route is more specific than a default route to IGW, if any.

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 →

How Courseiva writes practice questions · Editorial policy

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.