Which feature of Amazon CloudFront helps protect your website from Layer 7 (HTTP) attacks like SQL injection and Cross-Site Scripting (XSS)?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: AWS WAF integration

You can associate a Web ACL from AWS WAF with your CloudFront distribution to filter web traffic....

๐Ÿ“‹Part of AWS Certified Cloud Practitioner (CLF-C02) ยท AWS Certification Practice
Real Exam ScenarioAmazon CloudFront

Which feature of Amazon CloudFront helps protect your website from Layer 7 (HTTP) attacks like SQL injection and Cross-Site Scripting (XSS)?

โœ“ Correct Answer & ExplanationAmazon CloudFront

Correct Answer

AWS WAF integration

Why This Answer Is Correct

You can associate a Web ACL from AWS WAF with your CloudFront distribution to filter web traffic.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Amazon CloudFront โ€” a core concept tested in AWS Certified Cloud Practitioner (CLF-C02). Understanding Amazon CloudFront is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.