SY0-701 Security Operations Practice Question
A web team is moving a customer portal behind a new inspection device. They need something that can examine HTTP requests, block malicious patterns like injection attempts, and still allow normal browsing. Which control is most appropriate?
⚠ Common exam trap
Watch out — candidates often confuse an IDS with an IPS (Intrusion Prevention System) and assume an IDS can block traffic, but an IDS is passive and only generates alerts, whereas a WAF is an active, inline control that can both detect and block application-layer attacks.
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
✓
WAF, because it understands web requests and can block malicious application-layer traffic.
A WAF (Web Application Firewall) is the correct choice because it operates at Layer 7 (application layer) and is specifically designed to inspect HTTP/HTTPS traffic. It can parse web requests, identify malicious patterns such as SQL injection or XSS payloads, and block them while allowing legitimate traffic to pass through to the customer portal.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
IDS, because it alerts on suspicious traffic without affecting application delivery.
Why it's wrong here
A network-based IDS monitors a mirrored copy of traffic through a SPAN port or TAP and raises alerts when it matches attack signatures, but it is a passive device that cannot drop or modify the packets it inspects. Because it is usually out-of-band, it does not sit in the request path to the customer portal, so an exploit could succeed before an analyst even reads the alert. Even inline IPS versions typically lack the deep HTTP parsing needed to catch web-specific obfuscation, making IDS a monitoring aid rather than a protective security control for application delivery.
- ✓
WAF, because it understands web requests and can block malicious application-layer traffic.
Why this is correct
A web application firewall is deployed inline in front of the portal and operates at Layer 7, where it decodes and inspects HTTP/HTTPS requests, including headers, cookies, parameters, and request bodies. By matching traffic against signature-based rules (such as the OWASP Core Rule Set) and behavior, it can distinguish normal requests from SQL injection, cross-site scripting, and other application-layer attacks, then actively block or sanitize them before they reach the backend. This real-time, application-aware blocking is exactly what the team needs for a customer-facing portal that accepts untrusted input.
- ✗
DLP, because it can stop sensitive data from being posted to the portal.
Why it's wrong here
Data loss prevention (DLP) tools inspect content for patterns that represent confidential information, such as credit card numbers, social security numbers, or classification labels, and can block data exfiltration via web uploads, email, or USB. However, DLP regulates the movement of sensitive data outward and has no concept of web application attack payloads like SQL injection or malicious request sequences. It cannot distinguish a benign product search from an exploitation attempt against the portal's backend, so it would not satisfy the requirement to inspect and block malicious traffic to the customer-facing application itself.
- ✗
NAC, because it verifies whether devices are allowed onto the network.
Why it's wrong here
Network access control (NAC) enforces security policies at the point where devices join the network—checking endpoint posture, authentication, and compliance with health requirements via 802.1X or DHCP before granting admission. NAC operates at the network and data-link layers and, once a device is admitted, it does not examine the HTTP requests that device sends to a web server. It is therefore incapable of rejecting a malicious request inside the portal's session, because it lacks any awareness of application-layer protocol content or web vulnerabilities.
Go deeper
Related to this question
Learn chapter
Mobile Device Security
Key term
Hypertext Transfer Protocol Secure
Hypertext Transfer Protocol Secure, or HTTPS, is the secure version of HTTP that encrypts data between a web browser and a website using SSL/TLS to protect sensitive information like passwords and credit card numbers.
Key term
SQL
SQL is a standard programming language used to manage, query, and manipulate relational databases by issuing commands like SELECT, INSERT, UPDATE, and DELETE.
About these practice questions
Courseiva writes every SY0-701 question from scratch — 1,013 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SY0-701 practice question is part of Courseiva's free CompTIA 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 SY0-701 exam.