ANS-C01 Network Security, Compliance and Governance Practice Question
A company wants to securely connect an on-premises data center to a VPC in AWS. The connection must be encrypted and use the public internet. The company has a moderate volume of traffic and needs a quick setup. Which solution meets these requirements?
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 Site-to-Site VPN
AWS Site-to-Site VPN creates an encrypted IPSec tunnel over the public internet and can be set up quickly. Option A is wrong because AWS Client VPN is for individual client connections, not site-to-site. Option B is wrong because AWS Transit Gateway is a network transit hub, not a connection method. Option D is wrong because AWS Direct Connect provides a dedicated private connection, not over the public 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.
- ✗
AWS Client VPN
Why it's wrong here
Client VPN is for individual user connections, not for connecting a data center.
- ✗
AWS Transit Gateway
Why it's wrong here
Transit Gateway is a hub for connecting multiple VPCs and on-premises networks, but it does not provide the connection itself.
- ✓
AWS Site-to-Site VPN
Why this is correct
Site-to-Site VPN provides encrypted tunnels over the internet and can be set up quickly.
- ✗
AWS Direct Connect
Why it's wrong here
Direct Connect is a dedicated private connection, not over the public internet, and takes longer to provision.
Quick reference
VPN Protocol Comparison
| Protocol | Port | Encryption | Authentication | Use Case |
|---|---|---|---|---|
| IKEv2 / IPsec | UDP 500 / 4500 | AES-256 | Certificates / PSK | Site-to-site & remote access |
| SSL / TLS VPN | TCP 443 | TLS 1.3 | Certificates / MFA | Clientless remote access |
| L2TP / IPsec | UDP 1701 | AES (IPsec) | PSK / Certificates | Legacy remote access |
| WireGuard | UDP 51820 | ChaCha20 | Public keys | Modern high-performance VPN |
| PPTP | TCP 1723 | MPPE (weak) | MS-CHAPv2 | Legacy — avoid in production |
PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.
Go deeper
Related to this question
About these practice questions
One of 1,621 original ANS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on ANS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company wants to securely connect an on-premises data center to an AWS VPC over the internet using IPsec. Which AWS service should be used?
easy- A.AWS Transit Gateway
- B.AWS Direct Connect
- C.AWS Client VPN
- ✓ D.AWS Site-to-Site VPN
Why D: WS Site-to-Site VPN, which creates IPsec tunnels over the internet to securely connect an on-premises data center to an AWS VPC. Option A (AWS Transit Gateway) is a network transit hub that can interconnect multiple VPCs and VPNs, but it is not the VPN service itself. Option B (AWS Direct Connect) provides a dedicated physical connection, not over the internet. Option C (AWS Client VPN) is for individual remote users, not for site-to-site connections.
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.