CAS-004 Security Engineering Practice Question
A security architect is designing a VPN that requires both authentication and encryption. Which IPsec protocol provides both services in a single protocol?
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
✓
ESP in tunnel mode
ESP provides both encryption and optional authentication, while AH only provides authentication without encryption.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
AH in transport mode
Why it's wrong here
AH provides data origin authentication and integrity only; it does not encrypt the payload, so it cannot satisfy the confidentiality requirement in transport mode. It is tempting because AH genuinely authenticates packets, and would be correct where integrity protection without encryption is acceptable, such as certain internal routing scenarios.
- ✗
IKEv2
Why it's wrong here
IKEv2 negotiates and manages Security Associations for IPsec; it does not itself authenticate or encrypt the tunnel's data traffic, which ESP performs. It is tempting because IKEv2 is the modern choice for establishing IPsec VPNs, and it would be correct when the requirement is robust, resilient key exchange and reconnection.
- ✓
ESP in tunnel mode
Why this is correct
ESP encrypts the payload and authenticates its origin and integrity, delivering confidentiality plus authentication in one protocol. Tunnel mode encapsulates the entire original packet, so the site-to-site VPN's demand for both services is met without adding AH alongside.
- ✗
AH in tunnel mode
Why it's wrong here
Tunnel mode changes which addresses AH protects, but AH still performs no encryption, so confidentiality remains unmet. It is tempting because tunnel mode is the usual VPN encapsulation, and would be correct when AH's integrity-only protection is needed across gateways, such as authenticating traffic between trusted sites.
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.
About these practice questions
This CAS-005 question is part of Courseiva's 973-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 CAS-005 practice question is part of Courseiva's free CompTIA 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 CAS-005 exam.