Network and Communications Security
Which device sits in front of a public website and inspects HTTP requests for attacks such as SQL injection and cross-site scripting?
Show the answer
Correct answerC. Web application firewall (WAF)
AWhy not this: A CASB mediates users' access to cloud services and enforces policy; it does not shield a web server.
BWhy not this: NAC checks the posture and identity of devices joining the network, not HTTP payloads.
CWhy this is right: A WAF inspects web requests at layer 7 and blocks injection and scripting attacks against a site.
DWhy not this: A load balancer spreads requests across servers for availability and does not inspect for attack patterns.
A WAF operates at the application layer and inspects HTTP/HTTPS traffic to block web attacks like SQL injection and XSS. A CASB enforces policy over cloud service use by an organization's users, not inbound attacks on a web server.