Courseiva
Security Profiles →mediumDrag & Drop

NSE4 Security Profiles Practice Question

Drag and drop the steps to capture traffic on a FortiGate interface using the CLI into the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

✓

Step 1: Specify the interface, Step 2: Specify the filter, Step 3: Specify the verbose level, Step 4: Specify the count

The sniffer command syntax is diagnose sniffer packet <interface> <filter> <verbose> <count>.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Step 1: Specify the interface, Step 2: Specify the filter, Step 3: Specify the verbose level, Step 4: Specify the count

    Why this is correct

    The FortiGate 'diagnose sniffer packet' command has a fixed positional order: interface first to select the traffic source, then the display filter (e.g., 'port 443'), then the verbose level (1–6) to control output detail, and finally the packet count to limit how many frames are captured. This sequence exactly mirrors the syntax 'diagnose sniffer packet <interface> <filter> <verbose> <count>', so the steps must follow this order for the capture to work as intended.

  • ✗

    Step 1: Specify the filter, Step 2: Specify the interface, Step 3: Specify the verbose level, Step 4: Specify the count

    Why it's wrong here

    Placing the filter before the interface violates the command's positional grammar: the first token after 'diagnose sniffer packet' must always be the interface name or 'any'. Because the FortiGate CLI parses arguments strictly positionally, a filter string in the first position would be misinterpreted as the interface, and the actual interface as the filter, resulting in an invalid capture or no capture at all.

  • ✗

    Step 1: Specify the interface, Step 2: Specify the verbose level, Step 3: Specify the filter, Step 4: Specify the count

    Why it's wrong here

    This option has the interface first but incorrectly moves the verbose level ahead of the filter. In the actual syntax, the filter is the second positional parameter and verbose is the third; swapping them causes the CLI to try applying the verbose numeric as a filter expression or the filter string as a verbose level, yielding an invalid command. The correct order is filter before verbose, not the reverse.

  • ✗

    Step 1: Specify the count, Step 2: Specify the verbose level, Step 3: Specify the filter, Step 4: Specify the interface

    Why it's wrong here

    Reversing the order so that count is specified first is completely invalid: the count is a trailing numeric parameter, not a leading one. The interface must be the first argument because it is the only mandatory positional argument; the count, which can be omitted or set to 0 for continuous capture, belongs at the end. Leading with the count would make the CLI treat that number as the interface name, failing immediately.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

This NSE4 question is part of Courseiva's 773-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 NSE4 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 NSE4 exam.