Courseiva
Cryptography →mediumMultiple Choice

SSCP Cryptography Practice Question

A security administrator is configuring a VPN gateway that must support perfect forward secrecy for IPsec connections. Which key establishment method should be enabled to ensure that compromise of a long-term key does not expose previously established session keys?

⚠ Common exam trap

The trap here is assuming that any strong authentication method, such as a PSK or RSA key transport, automatically provides perfect forward secrecy.

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

✓

Internet Key Exchange with ephemeral Diffie-Hellman (DHE)

Perfect forward secrecy requires that session keys cannot be recovered from a long-term secret. Ephemeral Diffie-Hellman achieves this by generating temporary key pairs for each session and deleting them after use. Static PSK and static RSA key transport reuse long-term secrets, so compromise of those secrets can expose past sessions. HMAC provides integrity, not key establishment, and is therefore not the correct control.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    RSA key transport with the gateway's static RSA key pair

    Why it's wrong here

    RSA key transport encrypts the session key with the gateway's long-term RSA public key. If the corresponding private key is later compromised, an attacker can decrypt recorded session keys, breaking forward secrecy. Static RSA key transport does not generate ephemeral secrets per session, so it fails the requirement.

  • ✗

    Pre-shared key authentication with a static PSK

    Why it's wrong here

    A static pre-shared key is a long-term secret reused across sessions. If it is compromised, an attacker who recorded past VPN traffic may be able to derive the same session keys and decrypt that traffic. PSK authentication alone does not provide perfect forward secrecy; it must be combined with an ephemeral key exchange such as DHE.

  • ✗

    HMAC-SHA-256 for integrity protection of IKE messages

    Why it's wrong here

    HMAC-SHA-256 is used to authenticate and integrity-protect IKE messages; it does not establish session keys or provide forward secrecy. While important for protecting the key exchange itself, it is not a key establishment method. The requirement is about deriving ephemeral session keys, which HMAC alone cannot accomplish.

  • ✓

    Internet Key Exchange with ephemeral Diffie-Hellman (DHE)

    Why this is correct

    Ephemeral Diffie-Hellman generates a fresh key pair for each session and discards it afterward, so compromise of the long-term authentication key does not reveal past session keys. This property is exactly what perfect forward secrecy requires. Enabling DHE in IKE allows the VPN gateway to derive unique session keys per connection, protecting previously recorded traffic.

Visual reference

Client Server SYN (seq=100) SYN-ACK (seq=200, ack=101) ACK (ack=201) Connection established — data transfer begins

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

This SSCP question is part of Courseiva's 971-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official ISC2 exam blueprint

This SSCP practice question is part of Courseiva's free ISC2 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 SSCP exam.