Courseiva
Troubleshooting and DiagnosticsmediumMultiple ChoiceObjective-mapped

NSE7 Troubleshooting and Diagnostics Practice Question

An administrator wants to troubleshoot why specific traffic is not matching a configured firewall policy. Which debug command should be used?

⚠ Common exam trap

Test-takers frequently confuse session listing commands with flow debugging, assuming that viewing existing sessions ('diagnose sys session list') will reveal why new traffic fails to match a policy, when in fact it only shows already-established sessions and not the real-time policy evaluation path.

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

diagnose debug flow

The 'diagnose debug flow' command is the correct tool for tracing traffic through the firewall policy engine in FortiOS. It captures the packet flow in real time, showing which policy is evaluated, why a match or no-match occurs, and any drop reasons. This directly addresses the administrator's need to troubleshoot why specific traffic is not matching a configured firewall policy.

Answer analysis

Option-by-option breakdown

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

  • diagnose sys session list

    Why it's wrong here

    This shows existing sessions, not policy matching.

  • get firewall policy <id>

    Why it's wrong here

    This shows policy configuration, not debugging.

  • diagnose netlink interface list

    Why it's wrong here

    This shows interface information.

  • diagnose debug flow

    Why this is correct

    This traces packet flow and shows policy matching.

About these practice questions

This NSE7 question is part of Courseiva's 940-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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.