A real estate company is hosting its public property search portal on AWS. The company needs to protect the application from common web exploits and vulnerabilities, such as SQL injection and cross-site scripting (XSS), which are affecting database queries and user sessions. Which AWS service should a solutions architect recommend to meet this requirement?
- AWS WAFAnswer
- BAWS Shield Standard
- CNetwork Access Control Lists (NACLs)
- DSecurity Groups
Answer
AWS WAF is the correct service because it functions at the application layer (Layer 7) and can inspect HTTP/HTTPS request bodies, headers, and query strings to block malicious payloads such as SQL injection and cross-site scripting (XSS) attacks.
AWS WAF is the appropriate service because it inspects incoming HTTP/HTTPS requests at the application layer (Layer 7) and blocks threats like SQL injection and cross-site scripting based on customizable rules.
Step-by-Step Solution
Key Concept
AWS WAF operates at Layer 7 to protect web applications against common web exploits, whereas AWS Shield, Security Groups, and NACLs operate at Layers 3 and 4.
Estimated Time:45s