ANS-C01 Network Security, Compliance and Governance Practice Question
A security engineer is designing a VPC with public and private subnets. The company requires that all outbound traffic from private subnets to the internet must go through a single IP address for logging and compliance. Which service should be used?
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
✓
NAT Gateway
NAT Gateway. A NAT Gateway provides outbound internet access from private subnets, and it uses a single Elastic IP address, meeting the requirement for a single IP for logging and compliance. Option A is wrong because a Transit Gateway is used for connecting multiple VPCs and on-premises networks, not for outbound internet from private subnets. Option B is wrong because an Internet Gateway allows inbound and outbound traffic from public subnets, not private subnets. Option D is wrong because a VPC Endpoint is for accessing AWS services privately without traversing the internet.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Transit Gateway
Why it's wrong here
Transit Gateway is for network transit between VPCs and on-premises.
- ✗
Internet Gateway
Why it's wrong here
An Internet Gateway allows two-way traffic and is used for public subnets.
- ✓
NAT Gateway
Why this is correct
A NAT Gateway provides outbound-only internet access with a single IP.
- ✗
VPC Endpoint
Why it's wrong here
VPC Endpoints are for private connectivity to AWS services, not internet access.
Visual reference
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.