Flow-Based vs Proxy-Based Antivirus: Key Differences
What is the primary difference between flow-based and proxy-based Antivirus inspection on a FortiGate?
Quick Answer
The answer is that proxy-based antivirus inspection reassembles the entire file before scanning, while flow-based antivirus scans the data as it passes through the FortiGate. This difference stems from how each method handles traffic: proxy-based inspection buffers the complete file in memory, allowing for deep, thorough detection of threats like packed malware or complex scripts, but at the cost of higher latency and resource consumption. In contrast, flow-based inspection leverages the FortiASIC hardware acceleration to scan packets on the fly, offering much lower latency and higher throughput, making it ideal for high-speed environments. On the Fortinet NSE 4 exam, this distinction tests your understanding of performance versus security trade-offs, often appearing in scenario-based questions where you must choose the appropriate inspection mode for a given network condition. A common trap is assuming flow-based is always better because it is faster; remember that proxy-based is required for features like file filtering and content disarm. For a quick memory tip, think of proxy as “pausing and peeking” at the whole file, while flow-based is “fast and fleeting.”
⚠ Common exam trap
Many exam-takers assume proxy-based is always more resource-efficient because it is 'thorough,' but in reality, proxy-based consumes more memory and CPU due to file buffering and reassembly, while flow-based is optimized for performance.
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
✓
Proxy-based inspection reassembles the file before scanning, while flow-based scans as the file passes through
The primary difference is that proxy-based antivirus inspection fully reassembles the file in memory before scanning, allowing for more thorough detection of threats like polymorphic viruses and archives. Flow-based inspection scans data as it passes through the FortiGate in a single pass, using pattern matching without full file reassembly, which reduces latency but may miss threats that require file-level analysis.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Flow-based inspection is only available on hardware models with CP8
Why it's wrong here
Flow-based is available on most models, not just those with specific CPs.
- ✓
Proxy-based inspection reassembles the file before scanning, while flow-based scans as the file passes through
Why this is correct
This is the key architectural difference: proxy mode buffers the whole object, flow mode streams.
- ✗
Proxy-based inspection uses fewer resources than flow-based
Why it's wrong here
Proxy-based generally uses more resources due to buffering.
- ✗
Flow-based inspection supports virus outbreak detection, but proxy-based does not
Why it's wrong here
Both modes support outbreak detection if FortiSandbox is enabled.
Go deeper
Related to this question
About these practice questions
This NSE4 question is part of Courseiva's 282-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 →
Same concept, more angles
1 more way this is tested on NSE4
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Which of the following best describes the difference between flow-based and proxy-based inspection for antivirus scanning?
medium- A.Flow-based inspection reassembles the entire file before scanning, while proxy-based scans packets on the fly
- B.Flow-based inspection scans first packet and allows, while proxy-based buffers the entire session
- C.Flow-based inspection requires SSL deep inspection, while proxy-based does not
- ✓ D.Flow-based inspection uses pattern matching and anomaly detection with low latency, while proxy-based provides full content reassembly and higher detection rates
Why D: Flow-based inspection uses pattern matching and anomaly detection to scan traffic with low latency, while proxy-based inspection fully reassembles files and content, enabling deeper analysis and higher detection rates. In Fortinet's FortiOS, flow-based mode is optimized for performance, whereas proxy-based mode provides more thorough inspection by buffering and reconstructing the entire data stream before scanning.
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.