AWS Cloud Practitioner (CLF-C02) · Lesson 13 of 26
Protect: WAF, Shield and Firewall Manager
Describe how AWS Shield (Standard and Advanced), AWS WAF and AWS Network Firewall protect workloads at the edge, at the application layer and in the VPC, explain what AWS Firewall Manager adds across accounts, and recognize that third-party security products are available in AWS Marketplace.
Tip: turn your phone sideways or use full screen for larger labels.
Captions match the narration word for word. Press Space to play or pause and the arrow keys to change scenes.
Learning objective
Describe how AWS Shield (Standard and Advanced), AWS WAF and AWS Network Firewall protect workloads at the edge, at the application layer and in the VPC, explain what AWS Firewall Manager adds across accounts, and recognize that third-party security products are available in AWS Marketplace.
Exam mapping
Domain 2: Security and Compliance (30%). Task statement 2.4 in the official exam guide.
Key takeaways
- Defense in depth: protect in layers (edge, web requests, network, instance), so one failure doesn't expose the workload.
- AWS Shield Standard protects all AWS customers automatically, at no extra cost, against common network and transport layer (layer 3 and 4) DDoS attacks.
- AWS Shield Advanced is a paid tier: enhanced detection and mitigation (layers 3, 4 and 7 with WAF), 24/7 access to the Shield Response Team (SRT) and cost protection against DDoS-related scaling charges.
- AWS WAF is a layer 7 web application firewall: web ACL rules allow, block or count HTTP(S) requests (SQL injection, cross-site scripting, IP and country lists, rate-based rules) for CloudFront, Application Load Balancers, API Gateway and more.
- AWS Network Firewall is a managed, stateful firewall for VPC traffic; AWS Firewall Manager centrally applies WAF, Shield Advanced, security group, Network Firewall and DNS Firewall policies across accounts in AWS Organizations.
- Third-party security products (firewalls, endpoint protection, SIEM, managed rules) are available from AWS Marketplace.
Exam tips
How the exam asks about this
Questions describe a situation and expect you to recognize the concept behind it.
| If the question mentions… | Think |
|---|---|
| Automatic DDoS protection for all customers at no additional cost | AWS Shield Standard |
| 24/7 access to DDoS experts and protection from scaling charges during an attack | AWS Shield Advanced |
| Block SQL injection, cross-site scripting or requests from specific IPs or countries | AWS WAF |
| Managed firewall that filters traffic for an entire VPC | AWS Network Firewall |
| Centrally configure firewall rules across multiple accounts in AWS Organizations | AWS Firewall Manager |
| Third-party security software that can be bought and deployed on AWS | AWS Marketplace |
Common traps
- WAF vs. Shield: WAF filters individual web requests with rules (layer 7); Shield is DDoS protection. A question about SQL injection or cross-site scripting is WAF, not Shield.
- Shield Standard is already on and free. A question asking for the Shield Response Team, cost protection or advanced attack diagnostics needs Shield Advanced.
- Firewall Manager doesn't inspect traffic itself; it manages WAF, Shield Advanced, security group and Network Firewall rules across accounts, and it requires AWS Organizations.
- WAF attaches to CloudFront, load balancers, API Gateway and similar web endpoints, not directly to an EC2 instance; instance-level traffic is controlled by security groups.
Practice
Exam-style questions
Answer each one before you open the explanation.
Question 1. A company's website on an Application Load Balancer is receiving requests that try SQL injection attacks. Which AWS service should the company use to block these requests?
- AWS Shield Standard
- AWS WAF
- AWS Firewall Manager
- Amazon Inspector
Show answer
B. AWS WAF. AWS WAF inspects HTTP(S) requests at layer 7 and can block SQL injection with web ACL rules on an Application Load Balancer. Shield Standard is tempting because it's also protection, but it handles network and transport layer DDoS floods, not malicious request content. Firewall Manager only manages rules across accounts, and Inspector scans for software vulnerabilities.
Question 2. Which benefits does AWS Shield Advanced provide that AWS Shield Standard does not? (Select TWO.)
- Protection against common layer 3 and layer 4 DDoS attacks
- 24/7 access to the AWS Shield Response Team (SRT)
- Automatic enablement for every AWS customer
- Cost protection against scaling charges caused by a DDoS attack
- Encryption of data at rest
Show answer
B. 24/7 access to the AWS Shield Response Team (SRT) and D. Cost protection against scaling charges caused by a DDoS attack. Shield Advanced adds 24/7 access to the Shield Response Team and DDoS cost protection, plus enhanced detection. Protection against common layer 3 and 4 attacks is tempting, but Shield Standard already provides it to every customer automatically at no extra cost. Encryption at rest is a KMS feature, not Shield.
Question 3. A company uses AWS Organizations with 40 accounts. The security team wants the same AWS WAF rules and security group rules applied in every account, including accounts created later. Which service meets this requirement?
- AWS Shield Advanced
- AWS Network Firewall
- AWS Trusted Advisor
- AWS Firewall Manager
Show answer
D. AWS Firewall Manager. AWS Firewall Manager applies WAF, Shield Advanced, security group and Network Firewall policies across accounts in AWS Organizations and adds them to new accounts and resources automatically. Network Firewall is tempting because it's a firewall, but it filters traffic in VPCs; it doesn't distribute rules across accounts. Trusted Advisor only makes recommendations.
Question 4. Which AWS service protects all AWS customers against common DDoS attacks automatically and at no additional charge?
- AWS Shield Standard
- AWS Shield Advanced
- AWS WAF
- Amazon GuardDuty
- AWS Firewall Manager
Show answer
A. AWS Shield Standard. Shield Standard is automatically included for every AWS customer at no extra cost and protects against common network and transport layer DDoS attacks. Shield Advanced is tempting, but it's a paid subscription that you opt into. WAF is billed per web ACL, rule and request, GuardDuty detects threats, and Firewall Manager manages policies.
Question 5. A company wants to deploy a firewall product from a security vendor it already uses, and pay for it through its AWS bill. Where can it find this product?
- AWS Artifact
- AWS Security Hub
- AWS Marketplace
- AWS Service Catalog
Show answer
C. AWS Marketplace. AWS Marketplace is the catalog of third-party software, including security products, that customers can buy and deploy on AWS with charges on their AWS bill. Service Catalog is tempting because it lists products too, but it holds IT products a company's own administrators have approved, not a vendor marketplace. AWS Artifact provides compliance reports, and Security Hub collects security findings.
Transcript
Lesson transcript
The full narration, scene by scene. The captions file contains the same text with timings.
Scene 1 · 0:00
Lesson 13: Protect your workloads. Welcome back to Domain 2. Last time we encrypted the store's data and locked away its secrets. Today we guard the front door. First, the services that stop attacks before they reach the store: AWS Shield for floods of traffic, AWS WAF for malicious web requests, and AWS Network Firewall for traffic inside a VPC. Second, managing those rules centrally with AWS Firewall Manager, plus partner tools from AWS Marketplace. This is exam task 2.4.
Scene 2 · 0:32
Defense in layers. Think of protection as rings around the store. At the outer ring, the edge, CloudFront and AWS Shield absorb floods of traffic close to the attacker. Next, AWS WAF inspects each web request before it reaches the application. Inside the VPC, Network Firewall and security groups decide which network traffic gets through. No single control is perfect, so each layer catches what the one before it missed.
Scene 3 · 1:02
What a DDoS attack is. The most common threat at the edge is a DDoS attack: distributed denial of service. An attacker controls thousands of hijacked machines and points them all at one target. Each request may look harmless, but together they swamp the network or the servers. The store isn't hacked; it's simply too busy to answer, so real shoppers can't get in. The goal is to make the site unavailable.
Scene 4 · 1:31
AWS Shield Standard and Advanced. AWS Shield is the DDoS service, with two tiers. Shield Standard protects every AWS customer automatically, at no extra cost, against the most common network and transport layer attacks. Shield Advanced is a paid subscription. It adds enhanced detection, including application layer attacks with AWS WAF, around-the-clock access to the Shield Response Team, and cost protection against scaling charges caused by an attack, for resources such as CloudFront, load balancers and Route 53.
Scene 5 · 2:03
AWS WAF. AWS WAF is a web application firewall. It works at layer 7, reading each HTTP request. You attach a web ACL, a list of rules, to the store. Rules can block SQL injection and cross-site scripting, deny listed IP addresses or countries, and a rate-based rule blocks an address that sends too many requests. The shopper's request is allowed; the attacker's request is blocked with an error, and never reaches the store.
Scene 6 · 2:34
Where WAF runs. WAF protects web-facing resources: CloudFront distributions at the edge, Application Load Balancers, API Gateway REST APIs, and others such as AppSync and Cognito. You don't attach it to an EC2 instance directly; put a load balancer or CloudFront in front. You can write your own rules or start from managed rule groups, ready-made rules from AWS or AWS Marketplace sellers that cover common exploits and bad bots.
Scene 7 · 3:03
Inside the VPC. Inside the network, AWS Network Firewall is a managed firewall for your VPC. Traffic is routed through it, and it filters by ports, protocols, domain names and threat signatures, using both stateful and stateless rules. Security groups, which you met earlier, still guard each instance. So Network Firewall protects the whole network, and security groups protect individual resources. Neither one replaces WAF, which understands web requests.
Scene 8 · 3:32
AWS Firewall Manager. Now picture the store growing to many AWS accounts. Setting the same rules in each one by hand is slow and error-prone. AWS Firewall Manager uses AWS Organizations: from one administrator account, you define policies for WAF, Shield Advanced, security groups, Network Firewall and DNS Firewall. It applies them across accounts, and adds them automatically to new accounts and resources. It manages rules; it doesn't inspect traffic itself.
Scene 9 · 4:02
Security products in AWS Marketplace. Sometimes a company already trusts a security vendor. AWS Marketplace is a catalog of third-party software, including firewalls, endpoint protection, log analysis tools and managed WAF rules. You can find, buy and deploy them quickly, and the charges appear on your AWS bill. For the exam, remember that third-party security products are available from AWS Marketplace, alongside AWS's own security services.
Scene 10 · 4:28
How the exam asks about this. Here's how the exam asks about this. Protect against DDoS at no extra cost: Shield Standard. Twenty-four seven DDoS experts and cost protection: Shield Advanced. Block SQL injection or cross-site scripting: AWS WAF. Limit requests from one IP address: a WAF rate-based rule. A managed firewall for a whole VPC: Network Firewall. The same firewall rules across all accounts: Firewall Manager. And a third-party security product: AWS Marketplace.
Scene 11 · 4:58
Recap: protect your workloads. To recap: Shield Standard protects every customer from common DDoS attacks for free, and Shield Advanced adds experts, wider detection and cost protection. AWS WAF filters web requests with rules at layer 7. Network Firewall guards a VPC, and security groups guard each instance. Firewall Manager pushes the same policies to every account in your organization, and AWS Marketplace offers partner tools. Next, we'll detect threats that get through, with GuardDuty, Inspector and Macie.
Sources and accuracy
Checked against AWS documentation and the official CLF-C02 exam guide on October 18, 2026. AWS changes often, so confirm details in the current documentation. Diagrams and numbers in the animation are illustrative.
- AWS WAF (developer guide)
- AWS Shield FAQs
- AWS Firewall Manager (developer guide)
- AWS Network Firewall documentation overview
- CLF-C02 exam guide: Domain 2, Security and Compliance
This free course is independent and isn't affiliated with or endorsed by Amazon Web Services. AWS and AWS Certified Cloud Practitioner are trademarks of Amazon.com, Inc. or its affiliates.
Preparing a team for AWS certification?
I run hands-on AWS training for teams, from Cloud Practitioner basics to architecture, built around your own environment.