1D0-571 · Question #17
Which tool is best suited for identifying applications and code on a Web server that can lead to a SQL injection attack?
The correct answer is A. A vulnerability scanner. See the full explanation below for the reasoning.
Question
Which tool is best suited for identifying applications and code on a Web server that can lead to a SQL injection attack?
Options
- AA vulnerability scanner
- BA packet sniffer
- CAn intrusion-detection system
- DA network switch
How the community answered
(53 responses)- A83% (44)
- B9% (5)
- C4% (2)
- D4% (2)
Community Discussion
4A vulnerability scanner is your answer here. The whole job of a scanner is to probe a web server, inventory what applications and scripts are running, and flag weaknesses like unsanitized input fields that an attacker could use to inject SQL. I used something similar when we had a third-party dev shop hand off a web app to us years ago, and the scanner caught a handful of raw query strings the developers never parameterized. A packet sniffer just captures traffic after the fact, an IDS watches for attack patterns in motion, and a network switch is just infrastructure routing, none of those reach into the code or application layer to tell you where the vulnerability lives before someone exploits it.
Took this one cold in March, "SCAN before you sniff" saved me, A all day.
Yes, a vulnerability scanner is the right call here. It actively probes the web server and its code for known weaknesses like unsanitized input fields, which is exactly where SQL injection tends to hide, whereas a packet sniffer just captures traffic and an IDS only reacts after something suspicious already happens.
A vulnerability scanner is the right call here because it actively probes the web server, crawls application inputs, and flags unsanitized query construction before an attacker ever touches it. A packet sniffer only captures traffic in flight, an IDS reacts after the fact, and a switch is just layer-2 plumbing with no application awareness at all.