Security

AWS WAF and Shield

AWS WAF filters Layer 7 HTTP traffic with rules, while AWS Shield defends against DDoS attacks across network and application layers.

How it works

AWS WAF inspects HTTP and HTTPS requests using web ACL rules, helping filter application attack patterns and rate-limit requests. AWS Shield helps protect against DDoS attacks. Shield Standard automatically protects against common infrastructure attacks; Shield Advanced adds protection capabilities and support subject to the service terms.

When to use it

Choose it when the requirement is to inspect HTTP requests for exploits or mitigate distributed denial of service attacks.

Real-world example

A financial portal uses AWS WAF with CloudFront to filter SQL injection patterns and rate-limit logins. Shield Standard protects against common infrastructure DDoS attacks; the team continues to monitor traffic.

Key facts

  • AWS Shield Standard provides automatic protection against common infrastructure attacks at no extra charge.
  • AWS WAF deploys web ACLs on CloudFront, Application Load Balancers, API Gateway, and Cognito user pools.

Common pitfall

Security groups filter network traffic with rules but do not inspect HTTP content like WAF. Design layered protection and test WAF rules to avoid blocking legitimate requests.

Often confused with

Security Groups filter network traffic by IP address and port, whereas WAF inspects application HTTP headers and payloads.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Keywords you will see in SAA-C03 questions

  • SQL injection
  • cross-site scripting
  • DDoS mitigation

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning