Courseiva
Security Engineering →easyMultiple Choice

CAS-004 Security Engineering Practice Question

A security engineer is configuring a VPN between two sites and needs to ensure data confidentiality and integrity. Which IPsec mode and protocol combination should be used to encrypt the entire IP packet including the header?

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

✓

Tunnel mode with ESP

IPsec tunnel mode with ESP encrypts and authenticates the entire IP packet, providing confidentiality and integrity. Transport mode only encrypts the payload, and AH provides integrity 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.

  • ✗

    Transport mode with ESP

    Why it's wrong here

    ESP encrypts the payload but transport mode leaves the original IP header intact and unencrypted, so the entire packet is not protected. Transport mode with ESP suits host-to-host traffic where the endpoints themselves are the tunnel and header concealment is not required.

  • ✗

    Transport mode with AH

    Why it's wrong here

    AH provides integrity but no encryption; transport mode does not encrypt the header.

  • ✗

    Tunnel mode with AH

    Why it's wrong here

    Tunnel mode encapsulates the whole original packet, yet AH still supplies no encryption, so the payload and headers travel in cleartext and confidentiality is unmet. AH in tunnel mode fits integrity-only site-to-site links where encryption is explicitly out of scope.

  • ✓

    Tunnel mode with ESP

    Why this is correct

    Tunnel mode encapsulates the complete original IP packet, header included, inside a new IP packet, so the original addresses are hidden. ESP provides confidentiality and integrity for that payload. Transport mode would leave the original header exposed, failing the stated requirement.

Quick reference

VPN Protocol Comparison

ProtocolPortEncryptionAuthenticationUse Case
IKEv2 / IPsecUDP 500 / 4500AES-256Certificates / PSKSite-to-site & remote access
SSL / TLS VPNTCP 443TLS 1.3Certificates / MFAClientless remote access
L2TP / IPsecUDP 1701AES (IPsec)PSK / CertificatesLegacy remote access
WireGuardUDP 51820ChaCha20Public keysModern high-performance VPN
PPTPTCP 1723MPPE (weak)MS-CHAPv2Legacy — avoid in production

PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.

About these practice questions

One of 973 original CAS-005 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 →

How Courseiva writes practice questions · Editorial policy

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.