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. They also have a site-to-site VPN as a backup. The on-premises network advertises the same prefix via BGP over both connections. The company wants to prefer the Direct Connect path. What configuration achieves this?

⚠ Common exam trap

The ANS-C01 exam often tests the misconception that MED is used for inbound traffic engineering, but here the requirement is to control outbound traffic from the VPC, where local preference is the correct attribute, not MED or AS path prepending.

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

Configure the Direct Connect BGP session with a higher local preference (e.g., 200) than the VPN BGP session.

Local preference is a BGP attribute used to influence outbound traffic from the local AS. By setting a higher local preference (e.g., 200) on the Direct Connect BGP session, the router will prefer that path over the VPN session (default local preference 100) for the same prefix. This ensures traffic from the VPC to on-premises uses Direct Connect as the primary path.

Answer analysis

Option-by-option breakdown

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

  • Set the Multi-Exit Discriminator (MED) on the VPN advertisement to a lower value.

    Why it's wrong here

    Lower MED makes route more preferred, opposite of desired.

  • Prepend the AS path on the Direct Connect advertisement to make it longer.

    Why it's wrong here

    Longer AS path makes route less preferred.

  • Configure the Direct Connect BGP session with a higher local preference (e.g., 200) than the VPN BGP session.

    Why this is correct

    Higher local preference makes Direct Connect preferred.

  • Configure the VPN BGP session with a higher local preference than the Direct Connect session.

    Why it's wrong here

    That would prefer VPN over Direct Connect.

About these practice questions

Courseiva writes every ANS-C01 question from scratch — 1,621 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.