NSE7 Advanced Threat Protection Practice Question
An organization wants to protect a public-facing web application against SQL injection and cross-site scripting (XSS) attacks. They have a FortiGate and a FortiWeb. What is the BEST deployment approach?
⚠ Common exam trap
Many candidates assume a next-generation firewall with IPS (like FortiGate) is sufficient for web application protection, underestimating the need for a dedicated WAF that operates at the application layer with full HTTP context and specialized attack detection algorithms.
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
✓
Deploy FortiWeb in reverse proxy mode in front of the web server
FortiWeb in reverse proxy mode is the best deployment because it terminates the client connection and inspects all HTTP/HTTPS traffic at the application layer (Layer 7) using specialized web application firewall (WAF) signatures and machine learning to detect and block SQL injection and XSS payloads before they reach the web server. Unlike a network firewall or IPS, FortiWeb is purpose-built for web application security and can decode, normalize, and analyze complex attack patterns that might evade simpler inspection methods.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Place the web server in a DMZ and rely on firewall policies
Why it's wrong here
Firewall policies alone cannot inspect application-layer attacks.
- ✗
Use FortiGate WAF profile only
Why it's wrong here
FortiGate WAF has limited capabilities compared to FortiWeb.
- ✓
Deploy FortiWeb in reverse proxy mode in front of the web server
Why this is correct
FortiWeb provides comprehensive WAF features like signature-based detection, anomaly detection, and bot mitigation.
- ✗
Use FortiGate IPS signatures for SQL injection and XSS
Why it's wrong here
IPS may not cover all variations of web attacks as effectively as a WAF.
Go deeper
Related to this question
About these practice questions
One of 940 original NSE7 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.