NSE7 Advanced VPN and Zero Trust Practice Question
What is the primary purpose of Dead Peer Detection (DPD) in an IPsec VPN configuration?
⚠ Common exam trap
NSE7 often tests the confusion between DPD and IKE/IPsec keepalive or rekey timers — candidates pick the key renegotiation answer because both involve timers, missing that DPD specifically detects peer liveness.
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
✓
To detect if a VPN peer is alive by sending periodic probes and bringing down the tunnel if no response is received.
Dead Peer Detection (DPD) sends periodic R-U-THERE probes (RFC 3706) to a VPN peer and expects an R-U-THERE-ACK response. If no response arrives within a configured threshold, DPD declares the peer dead and tears down the tunnel, allowing failover or renegotiation. This prevents traffic from being black-holed into a dead tunnel.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To establish a backup tunnel in case the primary tunnel fails.
Why it's wrong here
DPD sends R-U-Then-ALIVE probes to confirm whether a peer is still reachable; it does not build or maintain a secondary tunnel. It is tempting because failover and DPD both concern tunnel availability, but backup tunnels are established through separate configuration such as redundant gateways or route-based VPN, not peer liveness checks.
- ✓
To detect if a VPN peer is alive by sending periodic probes and bringing down the tunnel if no response is received.
Why this is correct
DPD sends periodic encrypted probes (IKE notify payloads) to the peer; if no response arrives within the configured retry and idle intervals, FortiGate tears down the IPsec SA and routes traffic elsewhere, preventing black-holed packets over a silently failed peer.
- ✗
To automatically renegotiate IKE phase1 keys before they expire.
Why it's wrong here
IKE phase 1 key renegotiation is governed by lifetime timers and rekey settings, not by DPD. It is tempting because both mechanisms maintain tunnel health, but DPD only detects whether a peer has become unreachable; automatic rekeying occurs when configured lifetimes expire, independent of peer reachability checks.
- ✗
To verify the integrity of encrypted packets using HMAC authentication.
Why it's wrong here
HMAC authentication verifies packet integrity and origin within IPsec's ESP or AH processing, which occurs independently of peer liveness. It is tempting because both DPD and HMAC operate inside IPsec, but DPD's payload is an encrypted liveness probe; integrity checking is performed by the authentication algorithm, not by DPD.
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 NSE7 question is part of Courseiva's 718-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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Fortinet exam blueprint
This NSE7 practice question is part of Courseiva's free Fortinet 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 NSE7 exam.