- A
Ensure that the pre-shared key matches on both sides.
Mismatched PSK is a common cause of tunnel failure.
- B
Confirm that UDP ports 500 and 4500 are not blocked by any firewall.
Why wrong: This should be checked, but it's not one of the three most direct actions for a tunnel not coming up; it's more about network path.
- C
Verify that the remote peer's IP address is reachable via ping.
Basic connectivity must exist before IKE negotiation.
- D
Check the IPSec VPN logs with 'diag debug application ike -1'.
IKE debug shows detailed negotiation steps.
- E
Review the routing table to ensure the remote subnet is reachable through the tunnel interface.
Why wrong: This is relevant after the tunnel is established.
Quick Answer
The answer is to check the IPSec VPN logs using the command `diag debug application ike -1`. This is correct because the Internet Key Exchange (IKE) process handles authentication during Phase 1, where a mismatched pre-shared key (PSK) will cause the IKE Security Association (SA) to fail, preventing the tunnel from coming up entirely. On the Fortinet NSE 7 Advanced Security NSE7 exam, this question tests your ability to isolate common Layer 3 VPN failures, especially when the remote peer is a third-party device where you cannot verify the PSK directly. A common trap is jumping to firewall policy checks first, but the debug logs will immediately reveal authentication errors. For a quick memory tip, remember "PSK before PKI" — always verify the pre-shared key in the IKE debug output before investigating certificate or routing issues.
NSE7 Troubleshooting and Diagnostics Practice Question
This NSE7 practice question tests your understanding of troubleshooting and diagnostics. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
An administrator is troubleshooting a VPN tunnel that is not coming up. The remote peer is a third-party device. Which THREE actions should be taken to diagnose the issue?
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
Ensure that the pre-shared key matches on both sides.
Option A is correct because IPsec IKE (Internet Key Exchange) uses the pre-shared key (PSK) during authentication phase 1 (Main Mode or Aggressive Mode). If the PSK does not match on both peers, the IKE SA will fail to establish, and the VPN tunnel will not come up. This is a fundamental prerequisite for any IPsec VPN, and mismatched PSKs are a common misconfiguration.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Ensure that the pre-shared key matches on both sides.
Why this is correct
Mismatched PSK is a common cause of tunnel failure.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Confirm that UDP ports 500 and 4500 are not blocked by any firewall.
Why it's wrong here
This should be checked, but it's not one of the three most direct actions for a tunnel not coming up; it's more about network path.
- ✓
Verify that the remote peer's IP address is reachable via ping.
Why this is correct
Basic connectivity must exist before IKE negotiation.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Check the IPSec VPN logs with 'diag debug application ike -1'.
Why this is correct
IKE debug shows detailed negotiation steps.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Review the routing table to ensure the remote subnet is reachable through the tunnel interface.
Why it's wrong here
This is relevant after the tunnel is established.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse post-tunnel routing checks (Option E) with pre-tunnel connectivity checks, or they assume firewall port blocking (Option B) is a direct diagnostic step rather than a prerequisite to verify after other checks fail.
Detailed technical explanation
How to think about this question
When troubleshooting IPsec, the IKE debug command 'diag debug application ike -1' (Option D) captures real-time IKEv1 or IKEv2 negotiation messages, including PSK authentication failures, proposal mismatches, and NAT-T detection. Ping (Option C) verifies Layer 3 reachability to the remote peer's IP address, which is essential because IKE packets must be routable; if the remote peer is unreachable, the tunnel cannot initiate. These three actions (A, C, D) form a systematic approach: verify authentication credentials, confirm network reachability, and inspect IKE negotiation logs.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A network engineer segments a warehouse floor into three subnets: 20 scanners, 5 printers, and 2 management hosts. Picking the wrong mask wastes addresses or leaves too few usable hosts. Exam questions test whether you can apply CIDR notation, calculate block size, and identify the correct usable-host range for a given prefix.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Troubleshooting and Diagnostics — study guide chapter
Learn the concepts, then practise the questions
- →
Troubleshooting and Diagnostics practice questions
Targeted practice on this topic area only
- →
All NSE7 questions
1,000 questions across all exam domains
- →
Fortinet NSE 7 Advanced Security NSE7 study guide
Full concept coverage aligned to exam objectives
- →
NSE7 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related NSE7 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Advanced Networking and SD-WAN practice questions
Practise NSE7 questions linked to Advanced Networking and SD-WAN.
Advanced VPN and Zero Trust practice questions
Practise NSE7 questions linked to Advanced VPN and Zero Trust.
Enterprise Firewall and VDOMs practice questions
Practise NSE7 questions linked to Enterprise Firewall and VDOMs.
Advanced Threat Protection practice questions
Practise NSE7 questions linked to Advanced Threat Protection.
Troubleshooting and Diagnostics practice questions
Practise NSE7 questions linked to Troubleshooting and Diagnostics.
NSE7 fundamentals practice questions
Practise NSE7 questions linked to NSE7 fundamentals.
NSE7 scenario practice questions
Practise NSE7 questions linked to NSE7 scenario.
NSE7 troubleshooting practice questions
Practise NSE7 questions linked to NSE7 troubleshooting.
Practice this exam
Start a free NSE7 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this NSE7 question test?
Troubleshooting and Diagnostics — This question tests Troubleshooting and Diagnostics — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Ensure that the pre-shared key matches on both sides. — Option A is correct because IPsec IKE (Internet Key Exchange) uses the pre-shared key (PSK) during authentication phase 1 (Main Mode or Aggressive Mode). If the PSK does not match on both peers, the IKE SA will fail to establish, and the VPN tunnel will not come up. This is a fundamental prerequisite for any IPsec VPN, and mismatched PSKs are a common misconfiguration.
What should I do if I get this NSE7 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More NSE7 practice questions
- A FortiGate cluster (A-P) has a session that is not synchronizing to the secondary unit. The administrator runs 'diagnos…
- An administrator is troubleshooting a scenario where IPSec VPN tunnels between two FortiGates are flapping. The logs sho…
- Match each FortiGate interface type to its usage.
- A company is deploying FortiGate with Advanced Threat Protection (ATP) and wants to block advanced malware that uses enc…
- Drag and drop the steps to configure a FortiGate to send logs to a FortiAnalyzer into the correct order.
- Drag and drop the steps to configure an HA cluster on FortiGate into the correct order.
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.