A company hosts a public website from an S3 bucket in us‑east‑1 and serves it via an Amazon CloudFront distribution. The company wants protection from DDoS and needs fine control over the rate threshold that triggers mitigation. Which deployment meets that need?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a global (CloudFront scope) AWS WAF web ACL with a default action of allow. Add an AWS WAF rate‑based rule that blocks matching requests. Associate the web ACL with the CloudFront distribution..
Why this is the answer
The correct option deploys AWS WAF with a rate-based rule at the CloudFront distribution, which is the appropriate integration point for protecting a public website served via CloudFront. AWS WAF rate-based rules allow you to specify a threshold for requests from a single IP address within a five-minute period, providing fine-grained control for DDoS mitigation. Setting the default action to "allow" ensures legitimate traffic passes, while the rate-based rule specifically blocks excessive requests. Incorrect options are flawed because: Associating WAF with an S3 bucket directly is not supported for S3 static website hosting. WAF must be integrated with CloudFront or an Application Load Balancer. Setting the default action to "block" would block all traffic by default, requiring the rate-based rule to allow legitimate requests, which is an inverted and less secure approach for a public website.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed