SECURITY & GUARD Network/application protection

AWS WAF

Filters HTTP(S) requests to protected web resources using rules you define.

Official AWS Reference https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

You block SQL injection, XSS, bots, or rate-limit in front of CloudFront, ALB, API Gateway, or AppSync.

✕

When to Avoid

The attack is a Layer 3/4 flood, or the traffic is not HTTP.

// EXAM TRAPS & SIGNAL KEYWORDS

UDP, Network Load Balancer, direct EC2 attachment

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html ↗

"AWS WAF is a web application firewall that monitors HTTP(S) requests to protected resources and returns the content, HTTP 403, or a custom response."

  • Protected resource types: CloudFront distribution, API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Cognito user pool, App Runner service, Bedrock AgentCore Gateway, Verified Access instance, AWS Amplify.
  • No direct attachment to EC2 or an NLB. ECS is protected via a WAF-enabled Application Load Balancer.

// AWS WAF TAKEAWAYS

01

Role: Filters HTTP(S) requests to protected web resources using rules you define.

02

Choose: You block SQL injection, XSS, bots, or rate-limit in front of CloudFront, ALB, API Gateway, or AppSync.

03

Avoid: The attack is a Layer 3/4 flood, or the traffic is not HTTP.

04

Trap: Watch for exam signals like UDP, Network Load Balancer, direct EC2 attachment.

05

Fact: Protected resource types: CloudFront distribution, API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Cognito user pool, App Runner service, Bedrock AgentCore Gateway, Verified Access instance, AWS Amplify.

06

Fact: No direct attachment to EC2 or an NLB. ECS is protected via a WAF-enabled Application Load Balancer.

// PRACTICE QUESTIONS

Ready to test your AWS WAF knowledge?

25 practice questions cover AWS WAF.

Start Practice →