Courseiva
Network Security, Compliance and GovernancemediumMultiple ChoiceObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

A company is using AWS Direct Connect to connect its on-premises network to VPCs in multiple AWS accounts. The company wants to ensure that traffic from the on-premises network can only access specific VPCs based on the source IP address. Which AWS service should be used to enforce this segmentation?

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

The correct answer because AWS Transit Gateway provides the connectivity hub between Direct Connect and multiple VPCs, and its route tables can be used to isolate traffic based on the Direct Connect virtual interface. However, Transit Gateway route tables are destination-based, not source-based. To enforce segmentation based on source IP address, you must combine Transit Gateway with a firewall service such as AWS Network Firewall or a third-party firewall appliance. The other options are incorrect: VPC Peering does not support source IP filtering and does not scale to many VPCs; AWS PrivateLink is for accessing services within a VPC; and Security Groups apply at the instance level, not to traffic from Direct Connect.

Answer analysis

Option-by-option breakdown

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

  • VPC Peering

    Why it's wrong here

    VPC Peering does not support source IP-based filtering.

  • AWS Transit Gateway

    Why this is correct

    Transit Gateway with route tables can enforce segmentation based on source IP.

  • AWS PrivateLink

    Why it's wrong here

    PrivateLink is for accessing services via endpoints, not for routing.

  • Security Groups

    Why it's wrong here

    Security Groups apply to ENIs, not to traffic from Direct Connect.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

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.