ANS-C01 Network Design Practice Question
A company has a VPC with a CIDR of 10.0.0.0/16. It has two subnets: 10.0.1.0/24 (public) and 10.0.2.0/24 (private). The company wants to use AWS Site-to-Site VPN to connect to an on-premises network with a CIDR of 192.168.0.0/16. The VPN connection uses a virtual private gateway (VGW) attached to the VPC. The on-premises network has a VPN appliance that supports BGP. The company also wants to use static routes for the VPN. Which configuration is required to enable communication between the VPC and on-premises network?
⚠ Common exam trap
Many candidates confuse the need for a NAT gateway or internet gateway for VPN traffic, but Site-to-Site VPN traffic must be routed through the VGW, not through NAT or IGW.
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
✓
Add a route in the VPC route table for 192.168.0.0/16 with target the virtual private gateway.
For a Site-to-Site VPN using a virtual private gateway (VGW), you must add a route in the VPC route table for the on-premises CIDR (192.168.0.0/16) with the VGW as the target. This directs traffic destined for the on-premises network through the VPN tunnel. Even though BGP is supported, the company explicitly wants to use static routes, so manual route entries are required in the VPC route table.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add a route in the on-premises route table for 10.0.0.0/16 pointing to the VPN appliance.
Why it's wrong here
This is necessary on-premises, but the question asks for VPC configuration.
- ✓
Add a route in the VPC route table for 192.168.0.0/16 with target the virtual private gateway.
Why this is correct
This routes traffic from the VPC to the on-premises network via the VPN.
- ✗
Create a NAT gateway in the public subnet and route traffic through it.
Why it's wrong here
NAT is for outbound internet access, not VPN connectivity.
- ✗
Add a route in the VPC route table for 192.168.0.0/16 with target the internet gateway.
Why it's wrong here
The internet gateway is for internet traffic, not VPN.
Visual reference
Go deeper
Related to this question
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 →
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.