Question 1
Infrastructure SecurityA public application behind CloudFront receives requests containing SQL injection attempts in query parameters. Which edge security strategy BEST filters these requests before they reach the application?
Show the answer
Correct answerC. Associate an AWS WAF web ACL containing SQL injection rules.
AWhy not this: Shield Advanced protects availability against DDoS attacks rather than filtering general SQL injection attempts.
BWhy not this: An origin request policy controls forwarding to the origin, not malicious-content inspection.
CWhy this is right: AWS WAF SQL injection rules can inspect query parameters and block matching requests at CloudFront.
DWhy not this: Response security headers influence browser behavior after a response; they do not inspect incoming query parameters.
AWS WAF can inspect query parameters and block requests that match SQL injection rules. Shield Advanced addresses DDoS protection, not general filtering of SQL injection attempts.