Bitzu

CLF-C02 ยท Security services and resources

AWS WAF, AWS Shield and AWS Firewall Manager

Web request filtering with AWS WAF, DDoS protection with AWS Shield Standard and Advanced, and central rule management across accounts with AWS Firewall Manager.

Key points

  • AWS WAF: allows, blocks or counts HTTP(S) requests to CloudFront, Application Load Balancer, API Gateway by rules (IPs, rate limits, SQL injection, XSS).
  • AWS Shield Standard: layer 3 and 4 DDoS protection, automatic, no extra charge.
  • AWS Shield Advanced: paid; attack visibility, cost protection credits, Shield Response Team.
  • AWS Firewall Manager: WAF and Shield Advanced policies across all AWS Organizations accounts, including new ones.

Source: https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html

Practice questions

Single choice

Which AWS service lets you block web requests that contain SQL injection patterns before they reach your application?

  1. AWS Shield Standard
  2. Amazon GuardDuty
  3. AWS WAF
  4. Amazon Macie
Show answer

Answer: C. AWS WAF

AWS WAF inspects HTTP(S) requests against rules and can block those matching SQL injection or cross-site scripting patterns. Shield focuses on DDoS, GuardDuty on threat detection from logs, and Macie on sensitive data in S3.

Select all that apply

Which of these resource types can you protect directly with an AWS WAF web ACL?

  1. Amazon CloudFront distribution
  2. Amazon EBS volume
  3. Application Load Balancer
  4. Amazon API Gateway REST API
  5. Amazon RDS DB instance
Show answer

Answer: A. Amazon CloudFront distribution, C. Application Load Balancer, D. Amazon API Gateway REST API

AWS WAF attaches to web-facing resources such as CloudFront distributions, Application Load Balancers and API Gateway REST APIs. It does not attach to an EBS volume or an RDS database, which are not HTTP endpoints.

True or false

To get any DDoS protection on AWS, you must first subscribe to AWS Shield and pay a monthly fee.

Show answer

Answer: False

False. AWS Shield Standard is applied automatically to all AWS customers at no extra charge. Only Shield Advanced is a paid subscription for higher levels of protection.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module