Courseiva
Advanced VPN and Zero Trust →mediumMultiple Choice

NSE7 Advanced VPN and Zero Trust Practice Question

A FortiGate administrator is configuring an IPsec VPN with multiple peers for redundancy. The administrator wants to ensure that if the primary peer becomes unreachable, the tunnel fails over to the secondary peer automatically. Which configuration is required to achieve this?

⚠ Common exam trap

The trap here is assuming that DPD or a single phase 1 with a DNS name can provide automatic failover, but redundancy requires separate phase 1 entries and routing mechanisms.

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

✓

Create separate phase 1 configurations for each peer, and use a route-based VPN with multiple tunnel interfaces and a routing protocol to select the active path.

Automatic failover between IPsec peers requires multiple phase 1 configurations, one for each peer. Route-based VPNs with tunnel interfaces allow dynamic routing protocols to detect failures and reconverge, or static routes with link monitoring can be used. This ensures that if the primary peer becomes unreachable, traffic is redirected to the secondary peer. DPD alone only detects failure; it does not perform failover.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Configure a single phase 1 with 'set remote-gw' as a DNS name that resolves to both peers, and enable DPD.

    Why it's wrong here

    A single phase 1 can only have one remote gateway. Using a DNS name that resolves to multiple IPs does not provide redundancy because the FortiGate will only use the first resolved IP. DPD can detect failure but cannot switch to another IP within the same phase 1. Separate phase 1 configurations are required for each peer.

  • ✓

    Create separate phase 1 configurations for each peer, and use a route-based VPN with multiple tunnel interfaces and a routing protocol to select the active path.

    Why this is correct

    To achieve redundancy with automatic failover, you need separate phase 1 configurations for each peer. Using route-based VPNs (with tunnel interfaces) allows dynamic routing protocols like BGP or OSPF to detect failures and reconverge, or you can use link monitoring with static routes. This setup ensures that if one peer goes down, traffic is rerouted through the other. This is the standard method for IPsec VPN redundancy.

  • ✗

    Use a single phase 1 with 'set remote-gw 0.0.0.0' and configure multiple dial-up VPNs, then rely on DPD to failover.

    Why it's wrong here

    Setting remote-gw to 0.0.0.0 is used for dial-up VPNs where the FortiGate acts as a responder. It does not allow the FortiGate to initiate to multiple specific peers. For redundancy, the FortiGate must have separate phase 1 entries for each peer. DPD detects failures but does not automatically select an alternative peer unless routing or link monitoring is configured.

  • ✗

    Configure a single phase 1 with multiple remote gateways and enable 'set dpd on-idle'.

    Why it's wrong here

    A single phase 1 cannot have multiple remote gateways. Each peer requires a separate phase 1 configuration. DPD on-idle detects dead peers but does not automatically fail over to another peer. Failover requires multiple phase 1 entries and routing or link monitoring to select the active peer. This option misconfigures the phase 1 and relies on DPD alone.

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 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 →

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 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.