Practice free →
HomeAWS Cloud Practitionercloudcomputingsecuritycompliance › A team wants to block common web exploits like S…

A team wants to block common web exploits like SQL injection and cross-site scripting at the edge before requests reach their Application Load Balancer. Which service should they use?

AAmazon CloudWatch Synthetics
BAmazon Inspector
CAWS WAF (Web Application Firewall)
DAWS Direct Connect
Answer & Solution
Correct answer: C. AWS WAF (Web Application Firewall)
AWS WAF inspects HTTP/HTTPS requests and blocks or allows them based on rules (SQLi, XSS, IP reputation, rate limits) before they reach CloudFront, ALB, or API Gateway. Inspector is for EC2 / container vulnerability assessment, not request filtering.
Solve this in the app — AWS Cloud Practitioner practice & 24k+ MCQs →
Related questions