ANS-C01 Network Implementation Practice Question
Which TWO of the following are valid methods to connect a VPC to an on-premises network? (Choose TWO.)
⚠ Common exam trap
Many candidates confuse AWS Transit Gateway as a direct connection method to on-premises, when it is actually a central hub that requires a VPN or Direct Connect attachment to reach on-premises networks.
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 tunnel over the public internet between a VPC and an on-premises network using IPsec. It is a fully managed, quick-to-deploy method that supports both static routes and BGP dynamic routing via the virtual private gateway.
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 Site-to-Site VPN
Why this is correct
Creates a secure connection over the internet.
- ✓
AWS Direct Connect
Why this is correct
Provides a dedicated private connection from on-premises to AWS.
- ✗
VPC endpoints
Why it's wrong here
Provide private access to AWS services, not to on-premises.
- ✗
AWS Transit Gateway
Why it's wrong here
A hub for connecting VPCs and on-premises, but not a connection method itself.
- ✗
VPC peering
Why it's wrong here
Connects VPCs, not on-premises.
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
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 →
Same concept, more angles
2 more ways 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. Which TWO of the following are valid methods to connect an on-premises data center to a VPC in AWS? (Choose 2.)
easy- ✓ A.AWS Direct Connect
- B.VPC endpoint
- C.Transit Gateway
- ✓ D.AWS Site-to-Site VPN
- E.VPC peering
Why A: AWS Direct Connect is a correct answer because it provides a dedicated, private network connection from an on-premises data center to AWS, bypassing the public internet for consistent latency and higher bandwidth. This service uses industry-standard 802.1Q VLANs to create virtual interfaces, enabling direct access to VPCs via private virtual interfaces (VIFs) or transit virtual interfaces for use with Transit Gateway.
Variation 2. Which TWO options are valid methods to connect a VPC to an on-premises network? (Choose 2)
medium- A.Internet gateway
- ✓ B.AWS Direct Connect
- C.VPC endpoint
- D.VPC peering connection
- ✓ E.AWS Site-to-Site VPN
Why B: AWS Site-to-Site VPN and AWS Direct Connect are the two primary services for hybrid connectivity. VPC peering is for VPC-to-VPC, not on-premises. VPC endpoints are for accessing AWS services privately. Internet gateway is for public internet access.
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.