nerdexam
Fortinet

NSE4 · Question #540

How does FortiGate look for a matching firewall policy to process traffic?

The correct answer is A. From top to bottom, based on the sequence numbers. FortiGate processes firewall policies strictly from top to bottom based on their configured sequence numbers, applying the first matching policy to traffic.

Submitted by kevin_r· Apr 18, 2026Firewall Policies and Authentication

Question

How does FortiGate look for a matching firewall policy to process traffic?

Options

  • AFrom top to bottom, based on the sequence numbers.
  • BBased on best match.
  • CFrom top to bottom, based on the policy ID numbers.
  • DFrom lower to higher, based on the priority value.

How the community answered

(36 responses)
  • A
    89% (32)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

Why each option

FortiGate processes firewall policies strictly from top to bottom based on their configured sequence numbers, applying the first matching policy to traffic.

AFrom top to bottom, based on the sequence numbers.Correct

FortiGate evaluates firewall policies sequentially from the top of the policy list to the bottom, processing traffic with the first policy that matches all specified criteria.

BBased on best match.

FortiGate does not use a 'best match' approach for firewall policies; it relies on a strict, ordered evaluation until the first match is found.

CFrom top to bottom, based on the policy ID numbers.

While policies have internal ID numbers, their processing order is determined by their position in the policy list (sequence), not numerically by their ID.

DFrom lower to higher, based on the priority value.

FortiGate firewall policies do not have a configurable 'priority value' that dictates their processing order; instead, their order is determined by their sequential placement in the list.

Concept tested: FortiGate firewall policy matching order

Source: https://docs.fortinet.com/document/fortigate/7.4.0/fortios-handbook/36881/firewall-policy-matching-order

Topics

#Firewall Policy#Policy Evaluation#Traffic Processing#FortiGate

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice