Quibank app: now on the App Store — free, works offline. Get the app ↗

23 Security: Services & Resources Practice Questions & Answers

Every Security: Services & Resources practice question from the AWS Cloud Practitioner Practice Test, with the correct answer and a short explanation.

Start practice test →
  1. 1. An online store keeps seeing SQL injection and cross-site scripting attempts in the HTTP requests reaching its Application Load Balancer. Which service should it use to filter those requests?

    • A.AWS Shield, because it reads each web request for injected database code
    • B.Amazon Inspector, because it checks each web request for known exploits
    • C.AWS WAF, because its rules examine each web request for attack patterns✓ Answer
    • D.Amazon Macie, because it compares each web request with sensitive data

    AWS WAF is a web application firewall: its rules evaluate HTTP(S) requests at the application layer and can block SQL injection and cross-site scripting patterns before they reach the application. Shield addresses DDoS attacks, Inspector scans workloads for software vulnerabilities, and Macie finds sensitive data in Amazon S3.

    Ref QB-TQARM5Source: AWS WAF Developer Guide, what AWS WAF is and rule statements for SQL injection and cross-site scriptingReport a problem with this question

  2. 2. A developer argues that security groups already protect a public website, so AWS WAF adds nothing. Which capability does AWS WAF add that security groups do not provide?

    • A.Scanning the server software for unpatched packages and reporting each flaw
    • B.Absorbing large network-layer floods automatically across the AWS edge network
    • C.Allowing or denying instance traffic by looking at protocol, port and source
    • D.Inspecting HTTP request contents, such as query strings, and blocking matches✓ Answer

    Security groups filter traffic at the instance level by protocol, port and source, and they do not read what is inside a web request. AWS WAF evaluates the HTTP request itself, including parts such as the query string, so it can block requests by their content. Patch scanning belongs to Amazon Inspector, and flood absorption belongs to AWS Shield.

    Ref QB-98S8V3Source: AWS WAF Developer Guide, overview of web request inspection; Amazon VPC User Guide, security groupsReport a problem with this question

  3. 3. A retailer has two separate concerns: a large flood of network traffic meant to overwhelm its site, and cross-site scripting attempts inside web requests. Which pairing matches each concern to the right service?

    • A.AWS Shield for the traffic flood and AWS WAF for the scripting attempts✓ Answer
    • B.Amazon GuardDuty for the traffic flood and AWS WAF for the scripting attempts
    • C.AWS Shield for the traffic flood and Amazon Macie for the scripting attempts
    • D.AWS WAF for the traffic flood and AWS Shield for the scripting attempts

    AWS Shield exists to protect applications from DDoS attacks such as traffic floods, while AWS WAF evaluates web requests and blocks exploits such as cross-site scripting. GuardDuty reports suspicious activity rather than absorbing floods, and Macie looks for sensitive data in Amazon S3.

    Ref QB-SQXDF4Source: AWS WAF, AWS Shield, and AWS Firewall Manager Developer Guide, descriptions of AWS WAF and AWS ShieldReport a problem with this question

  4. 4. A small startup has not subscribed to any extra security service. Which DDoS protection does it already have from AWS?

    • A.AWS Shield Advanced, which applies automatically to every AWS account
    • B.AWS Shield Standard, which applies automatically to every AWS customer✓ Answer
    • C.Amazon GuardDuty, which applies automatically to every new account
    • D.AWS WAF, which applies automatically to every web application on AWS

    AWS Shield Standard is the automatic baseline: every AWS customer receives it with no subscription or action. Shield Advanced is a paid subscription, AWS WAF needs rules set up by the customer, and GuardDuty must be enabled and detects threats rather than mitigating DDoS attacks.

    Ref QB-88EWP2Source: AWS WAF, AWS Shield, and AWS Firewall Manager Developer Guide, AWS Shield Standard overviewReport a problem with this question

  5. 5. A bank runs a critical public application and is willing to pay for enhanced DDoS protection beyond the baseline that AWS includes automatically. Which option fits this goal?

    • A.AWS Shield Advanced✓ Answer
    • B.Amazon GuardDuty
    • C.AWS Firewall Manager
    • D.AWS Shield Standard

    AWS Shield comes in two levels: Standard is the automatic baseline, and Advanced is the paid subscription that adds enhanced DDoS detection and mitigation. Firewall Manager centrally administers protections rather than providing the enhanced DDoS service itself, and GuardDuty detects threats.

    Ref QB-RQK3A3Source: AWS WAF, AWS Shield, and AWS Firewall Manager Developer Guide, AWS Shield Advanced overviewReport a problem with this question

  6. 6. A company with dozens of accounts in AWS Organizations wants one place to apply its AWS WAF rules across all accounts, including new accounts as they are added. Which service fits?

    • A.AWS Service Catalog
    • B.AWS Organizations
    • C.AWS Firewall Manager✓ Answer
    • D.AWS Control Tower

    AWS Firewall Manager centrally configures and applies firewall protections across accounts and resources, and it automatically covers new ones as they appear. AWS Organizations is a prerequisite and provides permission guardrails rather than firewall rules, Service Catalog offers approved IT products, and Control Tower sets up governed multi-account environments.

    Ref QB-783KHZSource: AWS WAF, AWS Shield, and AWS Firewall Manager Developer Guide, what AWS Firewall Manager isReport a problem with this question

  7. 7. How does AWS Firewall Manager relate to AWS WAF and AWS Shield Advanced?

    • A.It is the reporting layer that ranks their findings for each account
    • B.It is the management layer that rolls out their protections across accounts✓ Answer
    • C.It is the paid upgrade that replaces both of them for member accounts
    • D.It is the inspection engine that examines traffic for them in each account

    AWS Firewall Manager does not inspect traffic itself; it is a management layer that deploys and maintains AWS WAF and Shield Advanced protections across accounts. The services it manages keep doing the actual filtering and DDoS protection, and ranking findings is closer to AWS Security Hub's role.

    Ref QB-QQ8R42Source: AWS WAF, AWS Shield, and AWS Firewall Manager Developer Guide, how the three services relateReport a problem with this question

  8. 8. A company wants a service that continuously monitors its AWS accounts and alerts it when an EC2 instance starts talking to known malicious IP addresses or appears to be mining cryptocurrency. Which service fits?

    • A.AWS Security Hub
    • B.Amazon Inspector
    • C.Amazon Detective
    • D.Amazon GuardDuty✓ Answer

    Amazon GuardDuty is the threat detection service: it uses threat intelligence and machine learning to spot suspicious activity such as cryptomining and contact with malicious IP addresses. Inspector looks for vulnerabilities, Security Hub aggregates findings, and Detective investigates findings after they appear.

    Ref QB-E8JWQ9Source: Amazon GuardDuty User Guide, what Amazon GuardDuty isReport a problem with this question

  9. 9. Amazon GuardDuty has spotted what looks like compromised credentials in an account. What does the service produce, and how can the team act on it?

    • A.Patch bundles that it installs on affected instances with AWS Systems Manager
    • B.Security findings that the team can route through Amazon EventBridge to respond✓ Answer
    • C.Compliance reports it publishes for auditors to download from AWS Artifact
    • D.Firewall rules that it places inline to drop malicious traffic at the VPC edge

    GuardDuty detects and reports: its output is findings, which a team can review or route through Amazon EventBridge to trigger an automated response. It does not sit inline as a firewall, install patches, or issue compliance reports, which come from AWS Artifact.

    Ref QB-XQQ3BASource: Amazon GuardDuty User Guide, GuardDuty findings and processing findings with Amazon EventBridgeReport a problem with this question

  10. 10. A compliance officer needs a continually updated list of known software vulnerabilities in the company's EC2 instances, container images in Amazon ECR, and Lambda functions. Which service provides this?

    • A.Amazon GuardDuty
    • B.AWS Trusted Advisor
    • C.Amazon Inspector✓ Answer
    • D.AWS Security Hub

    Amazon Inspector automatically discovers and continually scans EC2 instances, ECR container images and Lambda functions for software vulnerabilities. GuardDuty looks for suspicious activity instead, Trusted Advisor checks account configuration against best practices, and Security Hub collects findings produced by other services.

    Ref QB-D56NGTSource: Amazon Inspector User Guide, what Amazon Inspector isReport a problem with this question

  11. 11. Which of these situations is Amazon Inspector designed to report?

    • A.An EC2 instance runs a software package with a known vulnerability✓ Answer
    • B.An account's root user does not have multi-factor authentication
    • C.An S3 bucket contains files holding customer credit card numbers
    • D.An access key is calling AWS APIs from a malicious IP address

    Amazon Inspector finds weaknesses in workloads, such as a software package with a known vulnerability. An access key used from a malicious IP address is suspicious activity for GuardDuty, card numbers in S3 are sensitive data for Macie, and a root user without multi-factor authentication is a best-practice check in Trusted Advisor.

    Ref QB-VMYFWSSource: Amazon Inspector User Guide, understanding findingsReport a problem with this question

  12. 12. A health care company fears that personal information, such as names and insurance numbers, has ended up in files across its Amazon S3 buckets. Which service helps it discover that data?

    • A.Amazon Macie✓ Answer
    • B.AWS Config
    • C.Amazon Athena
    • D.AWS Artifact

    Amazon Macie uses machine learning and pattern matching to discover sensitive data, such as personal information, in Amazon S3. Athena runs queries a person writes but does not identify sensitive data on its own, Artifact provides compliance reports, and Config tracks resource configuration rather than file contents.

    Ref QB-E5HYNUSource: Amazon Macie User Guide, what Amazon Macie isReport a problem with this question

  13. 13. A team assumes that Amazon Macie will look for sensitive data in all of its data stores. Where does Macie actually discover sensitive data?

    • A.Objects stored in Amazon S3 buckets✓ Answer
    • B.Tables inside Amazon RDS databases
    • C.Packets moving through an Amazon VPC
    • D.Volumes attached to Amazon EC2 instances

    Macie is focused on Amazon S3: it keeps an inventory of buckets and analyzes the objects in them for sensitive data. It does not scan EBS volumes, RDS tables or network traffic.

    Ref QB-WMBT3USource: Amazon Macie User Guide, discovering sensitive data in Amazon S3Report a problem with this question

  14. 14. After Amazon GuardDuty raises a finding, an analyst needs to work out the root cause and how far the incident spread, using linked historical activity data. Which service is built for that?

    • A.AWS CloudTrail
    • B.AWS Security Hub
    • C.Amazon Inspector
    • D.Amazon Detective✓ Answer

    Amazon Detective collects log data and uses machine learning, statistical analysis and graph theory to build a behavior graph for investigating the root cause of findings. Security Hub aggregates findings, Inspector finds vulnerabilities, and CloudTrail records API activity without doing the linked analysis.

    Ref QB-B5FY5RSource: Amazon Detective User Guide, what Amazon Detective isReport a problem with this question

  15. 15. A security lead is tired of opening Amazon GuardDuty, Amazon Inspector and Amazon Macie separately and wants their findings gathered and prioritized in one place. Which service fits?

    • A.Amazon Detective
    • B.AWS Security Hub✓ Answer
    • C.Amazon CloudWatch
    • D.AWS Trusted Advisor

    AWS Security Hub aggregates, organizes and prioritizes findings from services such as GuardDuty, Inspector and Macie, giving a single view. Detective investigates individual findings, Trusted Advisor gives best-practice recommendations, and CloudWatch handles metrics, alarms and logs.

    Ref QB-TM9TJQSource: AWS Security Hub User Guide, overview of aggregated findingsReport a problem with this question

  16. 16. An administrator wants recommendations from AWS after a review of the account's setup, such as flagging security groups with unrestricted ports and a root user without multi-factor authentication. Which service provides these best-practice checks?

    • A.AWS Organizations
    • B.AWS Trusted Advisor✓ Answer
    • C.Amazon GuardDuty
    • D.Amazon Inspector

    AWS Trusted Advisor inspects an AWS environment and recommends best-practice improvements, and its security category includes checks on unrestricted security group ports and root user multi-factor authentication. Inspector scans software for vulnerabilities, GuardDuty detects active threats, and AWS Organizations manages multiple accounts centrally.

    Ref QB-C5TABSSource: AWS Support User Guide, AWS Trusted Advisor security checksReport a problem with this question

  17. 17. AWS Trusted Advisor flags an Amazon S3 bucket whose permissions allow open access. What happens next?

    • A.Trusted Advisor removes the public access by itself and then logs the change
    • B.Amazon Macie receives the alert and then moves the affected files elsewhere
    • C.Your team reviews the recommendation and then changes permissions itself✓ Answer
    • D.AWS Support receives the alert and then locks the bucket until you respond

    Trusted Advisor advises but does not fix anything: it reports the check result and recommended action, and the customer decides whether to change the bucket permissions. Neither AWS Support nor Macie steps in to change the bucket because of the check.

    Ref QB-UMM5RRSource: AWS Support User Guide, AWS Trusted Advisor check referenceReport a problem with this question

  18. 18. A company wants to find and buy a third-party antivirus product from a partner and run it in its AWS environment. Where should it look?

    • A.AWS License Manager
    • B.AWS Security Hub
    • C.AWS Service Catalog
    • D.AWS Marketplace✓ Answer

    AWS Marketplace is the curated digital catalog for finding, buying and deploying third-party software, and security is one of its categories. Service Catalog holds an organization's own approved IT products, License Manager tracks licenses, and Security Hub aggregates findings rather than selling products.

    Ref QB-H5KY6YSource: AWS Marketplace Buyer Guide, what AWS Marketplace isReport a problem with this question

  19. 19. A company plans to buy a third-party security product through AWS Marketplace. Which statement describes how this works?

    • A.AWS engineers build every product and set one price, and you pay a separate invoice
    • B.Your IT team publishes approved products and sets access, and employees launch them
    • C.Independent sellers list products and set terms, and charges appear on your AWS bill✓ Answer
    • D.AWS Support installs each product and manages it under your support plan terms

    AWS Marketplace connects buyers with sellers: sellers set their own prices and terms, charges appear on the buyer's AWS bill, and AWS Marketplace pays the seller. An IT team publishing approved products describes AWS Service Catalog instead.

    Ref QB-ZMDTKXSource: AWS Marketplace Buyer Guide, what AWS Marketplace is and how buyers are billedReport a problem with this question

  20. 20. An administrator wants AWS how-to articles that answer common questions and troubleshooting problems, such as how to resolve a specific permissions issue. Which resource should the administrator check?

    • A.AWS Knowledge Center✓ Answer
    • B.AWS Security Blog
    • C.AWS Health Dashboard
    • D.AWS Security Bulletins

    AWS Knowledge Center is the collection of how-to and troubleshooting articles for frequently asked questions. Security Bulletins carry vulnerability advisories, the Security Blog carries in-depth articles and guidance, and the Health Dashboard reports service events.

    Ref QB-PN3SPGSource: AWS Knowledge Center on AWS re:Post, troubleshooting and how-to articlesReport a problem with this question

  21. 21. A consultant wants to read in-depth articles written by AWS experts with guidance and walkthroughs on security topics. Which resource is the best fit?

    • A.AWS Knowledge Center
    • B.AWS Security Bulletins
    • C.AWS Health Dashboard
    • D.AWS Security Blog✓ Answer

    The AWS Security Blog publishes expert articles, guidance and walkthroughs on security topics. Knowledge Center focuses on answers to common how-to and troubleshooting questions, Security Bulletins announce vulnerabilities, and the Health Dashboard reports service events.

    Ref QB-769X9HSource: AWS Security Blog (aws.amazon.com/blogs/security)Report a problem with this question

  22. 22. A new security manager wants the central AWS website that brings together its security resources and guidance, including how to report a vulnerability. Which resource should the manager start with?

    • A.AWS Marketplace
    • B.AWS Security Hub
    • C.AWS Security Center✓ Answer
    • D.AWS Security Blog

    AWS Security Center is the web hub for AWS security information, gathering resources and guidance, including the path for reporting vulnerabilities. Despite the similar name, Security Hub is a service that aggregates findings in an account, Marketplace sells third-party products, and the Security Blog publishes individual articles.

    Ref QB-QNE4VHSource: AWS Cloud Security site (aws.amazon.com/security), the security resource hub the exam guide calls AWS Security CenterReport a problem with this question

  23. 23. A small business notices repeated port scans hitting its own servers from an IP address that belongs to AWS. Where should it report this suspected abuse of AWS resources?

    • A.AWS Health Dashboard
    • B.AWS Trust and Safety✓ Answer
    • C.AWS Security Bulletins
    • D.AWS Knowledge Center

    AWS Trust and Safety handles reports that AWS resources are being used for abusive or illegal activity, such as port scanning, spam or attacks, including reports from people who are not AWS customers. The other resources publish information and do not take abuse reports.

    Ref QB-86M9FJSource: AWS Trust and Safety guidance on reporting abuse of AWS resourcesReport a problem with this question

Other topics in this exam

Practice questions built from the domains and task statements in the published AWS exam guide (CLF-C02). AWS and AWS Certified Cloud Practitioner are trademarks of Amazon.com, Inc. or its affiliates; this site is not affiliated with or endorsed by Amazon Web Services, and these are not real exam questions. Fees, scoring, exam languages, Support plans, service names and prices change over time — confirm the current details on the AWS website before you book. The real exam also has multiple-response questions, which this single-answer practice does not reproduce. AWS exam guide (CLF-C02) →