Lesson 12 of 36 · see all lessons
  1. Start here: cloud concepts (domain 1, 24%)

    1. 1. Start here: the exam, the plan and what you already know
    2. 2. What the cloud is: benefits, service models and deployment models
    3. 3. AWS global infrastructure: Regions, Availability Zones and edge locations
    4. 4. Cloud economics: what you pay for on-premises vs in the cloud
    5. 5. The AWS Well-Architected Framework: six pillars
    6. 6. Moving to AWS: the Cloud Adoption Framework and migration strategies
  2. Security and identity (domain 2, 30%)

    1. 7. The shared responsibility model: who secures what
    2. 8. IAM basics: users, groups, roles and policies
    3. 9. Protecting the root user, MFA and credentials
    4. 10. Identity at scale: IAM Identity Center, federation and cross-account access
    5. 11. Encryption and keys: protecting data at rest and in transit
    6. 12. Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub
  3. Governance, ways of working and compute (domains 2 and 3)

    1. 13. Logging, auditing and compliance: CloudWatch, CloudTrail, Config and Artifact
    2. 14. Governing many accounts: Organizations, Control Tower and Service Catalog
    3. 15. Ways to use AWS: console, CLI, SDKs and infrastructure as code
    4. 16. Amazon EC2: virtual servers and instance types
    5. 17. Elasticity: Auto Scaling and Elastic Load Balancing
    6. 18. Containers and serverless: ECS, EKS, Fargate, Lambda and more
  4. Storage, databases and networking (domain 3, 34%)

    1. 19. Block and file storage: EBS, instance store, EFS and FSx
    2. 20. Amazon S3: buckets, storage classes and lifecycle policies
    3. 21. Hybrid storage, backup and disaster recovery
    4. 22. Databases: RDS, Aurora, DynamoDB, ElastiCache and more
    5. 23. Networking: VPCs, subnets, gateways and security layers
    6. 24. Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect
  5. Analytics, AI, integration and more (domain 3)

    1. 25. Analytics services: Athena, Glue, Kinesis, Redshift and Quick
    2. 26. AI and machine learning services: SageMaker AI, Lex, Rekognition and Amazon Q
    3. 27. App integration and business apps: SQS, SNS, EventBridge, Connect and SES
    4. 28. Developer tools, end-user computing, Amplify and IoT
  6. Billing, pricing and support, then exam practice (domain 4, 12%)

    1. 29. Pricing models: On-Demand, Savings Plans, Reserved, Spot and Dedicated
    2. 30. Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags
    3. 31. AWS Support plans, Trusted Advisor and where to get help
    4. 32. Final review and exam day: every decision on one page
    5. 33. Mock exam 1
    6. 34. Mock exam 2 Exam Pack · $12
  7. Extra practice: mock exams 3 and 4

    1. 35. Mock exam 3 Exam Pack · $12
    2. 36. Mock exam 4 Exam Pack · $12
See the leaderboard

19 min

Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub

Match each AWS security service to the threat it detects or blocks.

By the end of this lesson you can

  • Choose Shield Standard or Shield Advanced for DDoS protection
  • Explain what AWS WAF blocks and how Firewall Manager relates to it
  • Tell GuardDuty, Inspector, Detective and Security Hub apart from a scenario
  • Recognize that AWS Marketplace sells third-party security products

From earlier lessons · 1 of 2

A company must encrypt data in Amazon EBS with keys it can disable and rotate itself, and audit every use. Which option fits?

Pick one answer.

From earlier lessons · 2 of 2

Which phrase in a question points to AWS CloudHSM instead of AWS KMS?

Pick one answer.

It's Black Friday at Cedar Lane Books, and the new AWS site is holding. Then three things happen. A flood of junk traffic hits the site. Someone types database commands into the search box. And at 3 a.m., a test server starts mining cryptocurrency for a stranger. Each one needs a different AWS guard.

[3]

DDoS attacks and AWS Shield

Exam depth: know it cold.

A DDoS attack (distributed denial of service) uses many hijacked computers to flood a target with traffic. Real customers can't get through.

AWS Shield protects against DDoS. Every AWS customer gets Shield Standard automatically, at no extra charge. It defends against the most common attacks at the network and transport layers, layers 3 and 4. Resources behind Amazon CloudFront, Amazon Route 53 and AWS Global Accelerator get the most from it.

For bigger risks, you can pay for Shield Advanced.

[111][112]

Shield StandardShield Advanced
CostFree, on for everyone.Paid subscription.
Turn it onAutomatic.You subscribe and pick resources.
Protects againstCommon layer 3 and 4 attacks.Expanded protection, including automatic layer 7 (web request flood) mitigation with AWS WAF.
Expert helpNone.24/7 access to the Shield Response Team (SRT) during an attack.
Your billNo protection.Cost protection: service credits for bill spikes caused by an attack.
VisibilityBasic.Detailed attack metrics and reports.

Decision rule: "free" or "automatic" means Standard. "Response team", "cost protection" or "advanced" means Shield Advanced.

[113][114]

A ticket-selling company fears large DDoS attacks during a concert sale. It wants experts on call during an attack and credits if an attack inflates its AWS bill. Which option meets these requirements?

Pick one answer.

[114]

AWS WAF: filter web requests

Exam depth: know it cold.

AWS WAF is a web application firewall. It inspects each web (HTTP or HTTPS) request before it reaches your app. You attach it to Amazon CloudFront, an Application Load Balancer, Amazon API Gateway and a few others.

You write rules that allow or block requests. Common ones:

  • SQL injection: blocks database commands hidden in a request.
  • Cross-site scripting (XSS): blocks malicious scripts aimed at your visitors.
  • IP set and geographic match: block addresses or countries.
  • Rate-based: limit any source that sends requests too fast.

A blocked request gets a "403 Forbidden" reply or a custom response.

[115][116][117][118][119]

[112][115]

Watch it happen · 12 s

Three requests meet AWS WAF on CloudFront

Three requests arrive at CloudFront, where AWS WAF checks each one.

Scene 1 of 4

[115][119]

Cedar Lane Books sees attackers typing SQL commands into its website's search box. The site runs behind an Application Load Balancer. Which AWS service can block these requests?

Pick one answer.

[115][117]

AWS Firewall Manager: one set of rules for every account

Exam depth: know it cold.

WAF rules belong to one account. A company with 30 accounts doesn't want to copy them 30 times.

AWS Firewall Manager sets protections once and applies them across all accounts in AWS Organizations. It manages AWS WAF rules, Shield Advanced, VPC security groups and network ACLs, and a few other firewalls. It also adds protection automatically when new accounts or resources appear.

You pay for the underlying services, such as AWS WAF. Decision rule: WAF writes the rules. Firewall Manager rolls rules out across many accounts.

[120]

Shield stops the crowd. WAF checks each ticket. GuardDuty watches the cameras. Inspector checks the locks. Picture: Three-panel comic strip, bold cartoon style.

Amazon GuardDuty: spot threats in your logs

Exam depth: know it cold.

Amazon GuardDuty is a threat detection service. It watches your account continuously for signs that an attacker is already active.

Once you turn it on, it analyzes AWS CloudTrail management events, VPC Flow Logs and DNS logs. You don't need to set anything else up for that. It compares them with threat intelligence, like lists of known bad IP addresses, and with machine learning.

It flags things like stolen credentials being used, EC2 instances mining cryptocurrency, and malware. Its output is a finding: an alert describing the suspicious activity.

[121]

Amazon Inspector: find vulnerabilities before attackers do

Exam depth: know it cold.

Amazon Inspector is a vulnerability management service. A vulnerability is a weakness in software, often a known flaw listed as a CVE (Common Vulnerabilities and Exposures).

Inspector finds and scans three kinds of workloads: Amazon EC2 instances, container images in Amazon ECR and AWS Lambda functions. It looks for software vulnerabilities and unintended network exposure. When a new CVE is published, it rescans automatically.

Decision rule: GuardDuty spots attackers acting now. Inspector spots weaknesses they could use later.

[122]

A company wants to be alerted if an EC2 instance starts talking to known malicious IP addresses or mining cryptocurrency. It does not want to install software. Which AWS service meets these requirements?

Pick one answer.

[121][122]

Amazon Detective: find the root cause

Exam depth: recognize it.

GuardDuty says something is wrong. Amazon Detective helps you work out why and how far it spread. It pulls in CloudTrail events, VPC Flow Logs and GuardDuty findings. Then it builds a behavior graph, a visual map of who did what over time, with up to a year of history.

The question says "investigate", "root cause" or "analyze a finding"? Pick Detective.

[123]

AWS Security Hub: one place for every alert

Exam depth: know it cold.

AWS Security Hub gives you one view of your security across accounts. It collects findings from Amazon GuardDuty, Amazon Inspector, Amazon Macie and third-party tools. Then it ranks the most important problems.

It also checks your setup against best-practice standards, such as AWS Foundational Security Best Practices, CIS and PCI DSS. That checking part is now called AWS Security Hub CSPM (cloud security posture management). Older study guides describe Security Hub only as this checker.

The question says "single view", "aggregate findings" or "check against best practices"? Pick Security Hub.

[124][125]

Third-party security tools in AWS Marketplace

Exam depth: recognize it.

AWS services aren't your only option. AWS Marketplace is a catalog where you find, try, buy and deploy third-party software. Its security section covers firewalls, endpoint protection, identity tools, SIEM (log analysis for security teams) and managed security services.

If a question asks where to get a vendor's security product for AWS, the answer is AWS Marketplace.

[126]

Pick the security service

Exam depth: know it cold.

Match the deciding word to the service.

The scenario saysPick
DDoS, flood, free, automatic.AWS Shield Standard
DDoS response team, cost protection.AWS Shield Advanced
SQL injection, XSS, block IPs or countries, rate limit.AWS WAF
Same firewall rules across all accounts in the organization.AWS Firewall Manager
Malicious activity, compromised credentials, cryptomining.Amazon GuardDuty
Software vulnerabilities, CVEs, EC2, ECR, Lambda.Amazon Inspector
Investigate, root cause, behavior graph.Amazon Detective
Single view of findings, best-practice checks.AWS Security Hub
Sensitive data in S3.Amazon Macie (lesson 11)

[112][115][120][121][122][123][124]

Match

Match each Cedar Lane Books scenario to the AWS service that handles it

Pick an item on the left, then its match on the right.

[120][121][122]

[7]

Exam-style practice

A company stores container images in Amazon ECR. It wants every image checked automatically for known software vulnerabilities. Which AWS service meets this requirement?

Pick one answer.

[122]

A security team uses GuardDuty, Inspector and Macie across 20 accounts. It wants one place to see and prioritize all their findings. Which AWS service should it use?

Pick one answer.

[124][125]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 18

[112][114][115][120][121][122][123][124]

Worth keeping

  1. Shield stops DDoS floods: Standard is free and automatic, Advanced adds experts and cost protection.
  2. WAF blocks bad web requests. Firewall Manager rolls those rules out across accounts.
  3. GuardDuty detects active threats. Inspector finds vulnerabilities. Detective investigates.
  4. Security Hub is the single view of findings and best-practice checks.
  5. Third-party security tools come from AWS Marketplace.

GuardDuty spotted the stolen key. But who created that test server, and when? Next lesson: CloudWatch, CloudTrail, Config and Artifact, the services that keep the record.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (18)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [3]AWS: CLF-C02 Content Domain 2: Security and Compliance
  2. [7]AWS: CLF-C02 Out-of-Scope AWS Services
  3. [111]AWS: How AWS Shield and Shield Advanced work
  4. [112]AWS: AWS Shield Standard overview
  5. [113]AWS: AWS Shield Advanced overview
  6. [114]AWS: AWS Shield Advanced capabilities and options
  7. [115]AWS: AWS WAF
  8. [116]AWS: Using match rule statements in AWS WAF
  9. [117]AWS: SQL injection attack rule statement
  10. [118]AWS: Cross-site scripting attack rule statement
  11. [119]AWS: Using rate-based rule statements in AWS WAF
  12. [120]AWS: AWS Firewall Manager
  13. [121]AWS: What is Amazon GuardDuty?
  14. [122]AWS: What is Amazon Inspector?
  15. [123]AWS: What is Amazon Detective?
  16. [124]AWS: Introduction to AWS Security Hub
  17. [125]AWS: Introduction to AWS Security Hub CSPM
  18. [126]AWS: Cloud Security Software | AWS Marketplace