Interview Prep/AWS/Route 53, CloudFront and Messaging

Add WAF protection against SQL injection and bot floods for a public app.

IntermediateScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → AWS WAF on CloudFront or ALB with managed rule groups and rate limits.

What I'd do →

  1. Create a web ACL with AWS managed rules AWSManagedRulesCommonRuleSet and AWSManagedRulesSQLiRuleSet
  2. Add a rate-based rule such as 2,000 requests per 5 minutes per IP
  3. Start in Count mode, review logs, then Block
  4. Send logs to S3 or CloudWatch
  5. Add Shield Advanced for DDoS needs

Why → Count mode prevents false positives from blocking real customers on day one.

Interview tip → Mention WAF logging to inspect matches.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging