PAS-C01 Technology Practice Question
A company is migrating its SAP ERP system to AWS and needs to ensure that the SAP application can communicate with the corporate LDAP server for authentication. The LDAP server is on-premises. Which AWS service should be used to establish a secure connection?
⚠ Common exam trap
It's easy for candidates to confuse VPC Peering with on-premises connectivity, not realizing that VPC Peering only works between VPCs within AWS and cannot extend to an on-premises network.
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 using IPsec, enabling secure communication between the SAP application in the VPC and the on-premises LDAP server. This is the most straightforward and cost-effective option for establishing a secure connection when a dedicated physical link is not required.
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 Direct Connect
Why it's wrong here
Direct Connect is a dedicated network connection, but it is not the quickest or most cost-effective for simple LDAP traffic.
- ✗
VPC Peering
Why it's wrong here
VPC Peering connects VPCs within AWS, not to on-premises.
- ✓
AWS Site-to-Site VPN
Why this is correct
Site-to-Site VPN provides a secure IPsec tunnel over the internet.
- ✗
AWS Transit Gateway
Why it's wrong here
Transit Gateway is a network transit hub that requires VPN or Direct Connect attachments.
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 PAS-C01 question is part of Courseiva's 1,616-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 PAS-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 PAS-C01 exam.