Courseiva
Network Management and OperationshardMultiple SelectObjective-mapped

ANS-C01 Network Management and Operations Practice Question

A company uses AWS Direct Connect with a public VIF to access S3. The on-premises network uses BGP to advertise a specific prefix to AWS. The company wants to ensure that traffic to S3 from on-premises always uses the Direct Connect connection and not the internet. Which ONE configuration must be in place?

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

Set a higher local preference on the Direct Connect BGP session for the S3 prefixes.

To ensure on-premises traffic to S3 uses Direct Connect (public VIF) instead of the internet, the primary mechanism is to set a higher local preference on the Direct Connect BGP session for the S3 prefixes (B). Local preference is evaluated first in the BGP path selection process, making the Direct Connect path more attractive than internet paths. Option E is incorrect because the on-premises router does not advertise S3 CIDRs; AWS advertises them. Other methods like MED or AS path prepend are not as effective for this scenario when comparing routes from different ASes.

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 a higher MED value on routes learned from the internet to make them less preferred.

    Why it's wrong here

    MED is used for inbound traffic, not outbound.

  • Set a higher local preference on the Direct Connect BGP session for the S3 prefixes.

    Why this is correct

    Local preference influences outbound route selection; higher value is preferred.

  • Disable the internet gateway for the VPC.

    Why it's wrong here

    The on-premises traffic doesn't go through the VPC IGW.

  • Set the AS_PATH prepend on the Direct Connect BGP session.

    Why it's wrong here

    AS_PATH prepend makes a route less preferred, not more.

  • Configure the on-premises router to advertise a more specific route for the S3 CIDR blocks over the Direct Connect BGP session.

    Why it's wrong here

    Incorrect. The on-premises router does not advertise S3 CIDRs; AWS advertises them over the Direct Connect public VIF. Therefore, this configuration is not valid.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

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.