A company has a web application that is being targeted by SQL injection attacks and cross-site scripting (XSS) attempts. The security team wants to inspect and filter HTTP/HTTPS traffic at the application layer before it reaches the backend servers. Which AWS service should they implement?
- A. AWS WAF✓ Correct
- B. AWS Shield Advanced
- C. VPC Network ACLs
- D. Amazon GuardDuty
Explanation
Correct: 'AWS WAF' (Web Application Firewall) is designed to filter HTTP/HTTPS web traffic at the application layer (Layer 7). It provides managed rule groups specifically for SQL injection, XSS, and other OWASP Top 10 vulnerabilities. | Wrong: 'AWS Shield Advanced' protects against volumetric DDoS attacks at Layers 3 and 4; it does not inspect application-layer traffic for SQL injection or XSS patterns. | Wrong: 'Amazon GuardDuty' analyzes VPC Flow Logs, DNS logs, and CloudTrail for threat intelligence; it does not intercept or filter web traffic. | Wrong: 'VPC Network ACLs' operate at Layer 3/4 and can only filter by IP address, protocol, and port — they cannot inspect HTTP request payloads for injection attacks.