Which Solution Protects a Web Server from SQL Injection?
Which solution should a network administrator deploy to protect a webserver from SQL injection attacks?
Community Insight
The question tests whether you can map SQL injection defense to an inline IPS signature capability, not to a web proxy or identity service; the trap is treating Secure Web Appliance as a WAF.
SQL injection is an application-layer attack that an inline intrusion prevention system can block by inspecting traffic for malicious SQL patterns. This page explains why IPS (D) is the best fit among the listed Cisco security solutions, while distinguishing it from IDS, a web proxy, and ISE.
Learners often pick Secure Web Appliance because it sounds like a web security product, but it is a secure web proxy for user internet access, not an inline WAF or IPS for protecting a server from SQL injection traffic.
Community Discussion (6 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
An IPS is deployed inline and can inspect application traffic for SQL injection signatures and drop matching requests before they reach the web server. Cisco's own SQL injection guidance places intrusion prevention among the network defenses that can detect and prevent these attacks when the IPS has visibility into the application traffic. Among the four options, IPS is the only one that combines inline enforcement with attack-signature inspection for server-bound HTTP requests. This is why the best answer is D, even though a dedicated WAF would be the more precise control when available.Why the Other Options Are Wrong
IDS (A) is passive: it detects and alerts on suspected SQL injection but does not sit inline to block the request. Secure Web Appliance (B) is a secure web proxy that controls user web access and malware/URL risk; it is not the same as a WAF and is not positioned to protect an inbound web server from SQL injection. ISE (C) is an identity and network access control platform using 802.1X, MAB, and profiling, not an HTTP application-layer inspection engine. A dedicated WAF or WAAP would be ideal, but it is not among the listed choices.Community Comment Notes
Community learners split between IPS and Secure Web Appliance, with the IPS camp pointing to Cisco's SQL injection defense article. XBfoundX quoted that IPS signatures can "detect and prevent SQL injection attacks using an intrusion prevention system (IPS)" when the IPS has traffic visibility. Another commenter stressed that "WSA is NOT AT ALL a WAF solution, is a web proxy!" which is the key distinction behind rejecting option B. TanHK suspected a typo in option B and wanted "Secure Web Application," but the option as written is Secure Web Appliance, so the proxy reading stands and D remains the defensible Cisco exam answer.Official Reference
Exam Strategy
When a question asks how to protect a server from an application-layer exploit, distinguish inline prevention from detection and from user-focused proxies. If a WAF is not offered, the inline IPS that can inspect and drop malicious requests is the intended Cisco answer; IDS only alerts, and ISE handles access control.
Frequently Asked Questions
Why is Secure Web Appliance not the correct SQL injection defense here?
It is a secure web proxy for user internet access, not a WAF or inline IPS for protecting a server; it lacks the application attack inspection intended in this scenario.
Does an IPS still work if the web server uses HTTPS?
Only if the IPS can see decrypted traffic, such as behind TLS termination; otherwise encrypted SQL injection payloads cannot be inspected.