Security, Identity & Compliance Services
AWS has a crowded shelf of security services, and the CLF-C02 exam loves to test whether you can tell the look-alikes apart. The trick is to learn each service by the one job it does: who manages the keys, what gets detected versus assessed versus discovered, and which tool records actions versus records configuration. This set drills the exact pairs candidates mix up under time pressure.
Q1 A company must keep full, exclusive control of its encryption key hardware to meet a strict regulatory rule that no other customer may ever share the underlying device. Which AWS service fits this requirement?
- AWS Key Management Service (KMS)
- AWS CloudHSM
- AWS Secrets Manager
- AWS Certificate Manager (ACM)
- A — KMS is multi-tenant; the underlying hardware is managed and shared across customers, so it cannot meet a "device used by no one else" rule.
- C — Secrets Manager stores and rotates secrets like passwords; it is not key-storage hardware.
- D — ACM provisions and manages TLS/SSL certificates, not encryption key hardware.
Q2 A security team wants automatic, continuous monitoring that analyzes VPC Flow Logs, DNS logs, and CloudTrail events to flag unusual activity such as crypto-mining or communication with a known malicious IP. Which service is purpose-built for this?
- Amazon Inspector
- Amazon Macie
- Amazon GuardDuty
- AWS Config
- A — Inspector scans EC2 instances, containers, and Lambda for software vulnerabilities and exposure; it does not monitor live logs for threats.
- B — Macie discovers and protects sensitive data (like personal info) in S3; it is not a log-based threat detector.
- D — Config tracks resource configuration changes and compliance, not active threats.
Q3 An auditor asks, "Which specific IAM user deleted this S3 bucket, from what IP, and at what time?" Which AWS service answers this question?
- AWS CloudTrail
- AWS Config
- Amazon CloudWatch
- AWS Trusted Advisor
- B — Config records the configuration state and history of resources (what a resource looked like over time), not which user performed the action.
- C — CloudWatch collects performance metrics and logs for monitoring health, not a record of who made API calls.
- D — Trusted Advisor gives best-practice recommendations on cost, security, and performance; it is not an action log.
Q4 A team stores a database password in AWS and wants it to be automatically rotated on a schedule with built-in integration to RDS, so no human ever has to manually update it. Which service is designed for this?
- Systems Manager Parameter Store (standard parameters)
- AWS Key Management Service (KMS)
- AWS Certificate Manager (ACM)
- AWS Secrets Manager
- A — Parameter Store can hold configuration values and SecureString secrets, but it does not provide built-in automatic rotation the way Secrets Manager does.
- B — KMS manages encryption keys; it does not store or rotate application passwords.
- C — ACM handles TLS certificates, not database passwords.
Q5 A startup needs to download AWS's SOC 2 and ISO 27001 compliance reports to hand to its own auditors. Which AWS service provides these on-demand reports at no cost?
- AWS Audit Manager
- AWS Security Hub
- AWS Artifact
- AWS Config
- A — Audit Manager helps you continuously collect evidence about your own environment to prepare for an audit; it does not hand you AWS's pre-made compliance certificates.
- B — Security Hub aggregates security findings across services; it is not a document repository.
- D — Config tracks resource configuration, not AWS compliance reports.
Q6 An application is being hit by a large layer-7 attack with malicious HTTP requests containing SQL injection patterns. The team wants to filter requests by rules such as blocking specific patterns and IP ranges before they reach the app. Which service does this?
- AWS WAF
- AWS Shield Standard
- Amazon GuardDuty
- AWS Firewall Manager
- B — Shield Standard protects against network/transport-layer DDoS attacks, not application-layer content filtering by rules.
- C — GuardDuty detects threats from logs; it does not block web requests inline.
- D — Firewall Manager centrally manages WAF/Shield rules across many accounts; it is a management layer, not the request filter itself.
Q7 A company stores millions of files in Amazon S3 and wants to automatically discover and alert on objects that contain personally identifiable information (PII) such as credit card or passport numbers. Which service is built for this?
- Amazon GuardDuty
- Amazon Macie
- Amazon Inspector
- AWS Secrets Manager
- A — GuardDuty detects malicious activity from logs; it does not classify the content of stored files.
- C — Inspector finds software vulnerabilities on compute resources, not sensitive data in storage.
- D — Secrets Manager stores and rotates secrets you give it; it does not scan S3 for hidden PII.
Q8 A team wants a single dashboard that aggregates and prioritizes security findings from GuardDuty, Inspector, and Macie, and checks them against standards like CIS benchmarks. Which service provides this central view?
- Amazon Detective
- AWS Config
- AWS Security Hub
- AWS Trusted Advisor
- A — Detective helps you deep-dive and investigate the root cause of a specific finding, not aggregate everything into a posture dashboard.
- B — Config tracks configuration compliance, not aggregated security findings from detection services.
- D — Trusted Advisor gives general best-practice checks, not a unified security-findings hub.
Q9 After GuardDuty raises an alert, an analyst needs to visualize related events over time and dig into the root cause of the suspicious behavior across linked resources. Which service is purpose-built to help investigate?
- Amazon Detective
- AWS Security Hub
- Amazon Inspector
- AWS CloudTrail
- B — Security Hub aggregates and prioritizes findings but does not provide the deep investigation graphs Detective offers.
- C — Inspector assesses vulnerabilities; it is unrelated to investigating an active finding.
- D — CloudTrail provides raw API logs, but it does not auto-correlate and visualize an investigation the way Detective does.
Q10 A company runs hundreds of EC2 instances and wants automatic, ongoing scanning for known software vulnerabilities (CVEs) and unintended network exposure. Which service should they enable?
- Amazon Macie
- AWS Shield Advanced
- AWS WAF
- Amazon Inspector
- A — Macie discovers sensitive data in S3, not software vulnerabilities on compute.
- B — Shield Advanced provides enhanced DDoS protection, not vulnerability scanning.
- C — WAF filters malicious web requests; it does not scan instances for CVEs.
Q11 Every AWS account automatically receives protection against common network and transport-layer DDoS attacks at no extra cost. What is this baseline protection called?
- AWS Shield Standard
- AWS Shield Advanced
- AWS WAF
- AWS Firewall Manager
- B — Shield Advanced is a paid subscription adding deeper DDoS protection, cost protection, and DDoS response support; it is not the free default.
- C — WAF filters web requests by rules and is billed separately; it is not automatic DDoS protection.
- D — Firewall Manager centrally manages security rules across accounts; it is not the baseline DDoS layer.
Q12 A large organization with dozens of AWS accounts under AWS Organizations wants to centrally configure and enforce WAF rules and Shield protections across all of them from one place. Which service does this?
- AWS WAF
- AWS Firewall Manager
- AWS Security Hub
- AWS Config
- A — WAF defines and applies rules, but you would configure it per resource/account; it lacks the centralized cross-account enforcement layer.
- C — Security Hub aggregates findings; it does not push firewall rules to accounts.
- D — Config tracks configuration compliance, not central firewall-rule deployment.
Q13 A developer needs a free, auto-renewing public TLS/SSL certificate to enable HTTPS on an Application Load Balancer and CloudFront distribution. Which service provides this?
- AWS Key Management Service (KMS)
- AWS Secrets Manager
- AWS Certificate Manager (ACM)
- AWS CloudHSM
- A — KMS manages encryption keys for data at rest, not TLS certificates.
- B — Secrets Manager stores and rotates secrets like passwords, not certificates for HTTPS.
- D — CloudHSM provides dedicated key-storage hardware; it is not a certificate provider.
Q14 A mobile and web app needs user sign-up, sign-in, and the ability to let users log in with Google or Facebook (social identity providers). Which AWS service handles this customer identity management?
- AWS IAM
- AWS IAM Identity Center
- AWS Directory Service
- Amazon Cognito
- A — IAM controls access for AWS resources and AWS principals (users/roles inside your account), not millions of application end users.
- B — IAM Identity Center manages workforce single sign-on to AWS accounts and business apps, not customer-facing app logins.
- C — Directory Service provides managed Microsoft Active Directory; it is not a customer app sign-in service.
Q15 A compliance officer needs to confirm that all S3 buckets in an account have encryption enabled and to see a timeline of any bucket whose setting changed. Which service tracks resource configuration and compliance over time?
- AWS CloudTrail
- AWS Config
- Amazon GuardDuty
- AWS Trusted Advisor
- A — CloudTrail logs who made API calls, but does not evaluate whether a resource's configuration is compliant over time.
- C — GuardDuty detects threats from logs, not configuration compliance.
- D — Trusted Advisor offers point-in-time best-practice checks, not a per-resource configuration history and rule timeline.
Q16 A company wants AWS to manage encryption keys for it but still needs control over key policies, rotation, and the ability to disable a key, using a multi-tenant managed service that is cheaper and simpler than dedicated hardware. Which service fits best?
- AWS CloudHSM
- AWS Certificate Manager (ACM)
- AWS Secrets Manager
- AWS Key Management Service (KMS)
- A — CloudHSM is single-tenant dedicated hardware — more control but more cost and management; the scenario explicitly prefers the simpler managed option.
- B — ACM manages certificates, not general-purpose encryption keys.
- C — Secrets Manager stores secrets, not encryption keys you manage policies for.
Q17 A team enables HTTPS so data moving between the user's browser and the web server cannot be read if intercepted on the network. This is an example of protecting data in which state?
- Encryption at rest
- Encryption in transit
- Tokenization at rest
- Key escrow
- A — Encryption at rest protects stored data (on disk, in S3, in a database), not data moving over the wire.
- C — Tokenization replaces sensitive values with tokens and is not what HTTPS provides for moving data.
- D — Key escrow is about storing keys with a third party; it is unrelated to the state of the data.
Q18 An enterprise must produce continuous evidence that its own AWS environment meets a framework like PCI DSS, automatically collecting and organizing that evidence for its internal and external auditors. Which service is designed for this?
- AWS Artifact
- AWS Security Hub
- AWS Trusted Advisor
- AWS Audit Manager
- A — Artifact provides AWS's own pre-made compliance reports for download; it does not gather evidence about your specific environment.
- B — Security Hub aggregates security findings; it is not an evidence-collection-for-audit tool.
- C — Trusted Advisor gives best-practice recommendations, not audit evidence mapped to frameworks.
Q19 A media company that frequently faces large, sophisticated DDoS attacks wants enhanced protection, near-real-time attack visibility, cost protection against scaling charges during an attack, and access to the AWS DDoS Response Team. Which option provides all of this?
- AWS Shield Standard
- AWS WAF
- AWS Shield Advanced
- Amazon GuardDuty
- A — Shield Standard is free and automatic but lacks cost protection, the response team, and advanced visibility.
- B — WAF filters web requests by rules; it is not a DDoS mitigation tier with a response team.
- D — GuardDuty detects threats from logs; it does not mitigate DDoS or offer cost protection.
Q20 A developer simply needs to store a non-secret configuration value (like an environment name "production") and occasionally a secure string, at the lowest cost, without needing automatic rotation. Which service best fits?
- AWS Secrets Manager
- Systems Manager Parameter Store
- AWS CloudHSM
- AWS Key Management Service (KMS)
- A — Secrets Manager carries a per-secret cost and is overkill when you do not need automatic rotation.
- C — CloudHSM is dedicated key hardware, far beyond storing a config string.
- D — KMS manages encryption keys; it is not a config/secret value store.
Q21 A security lead summarizes the team's tools: one service finds threats from account logs, another scans instances for vulnerabilities, and a third finds sensitive data in S3. Which set correctly maps to GuardDuty, Inspector, and Macie in that order?
- Threat detection from logs, vulnerability scanning, sensitive-data discovery
- Vulnerability scanning, threat detection from logs, sensitive-data discovery
- Sensitive-data discovery, vulnerability scanning, threat detection from logs
- Threat detection from logs, sensitive-data discovery, vulnerability scanning
- B — It swaps GuardDuty and Inspector, wrongly making GuardDuty a vulnerability scanner.
- C — It reverses the order entirely, mislabeling GuardDuty as data discovery.
- D — It swaps Inspector and Macie, wrongly tying Inspector to S3 data.
Q22 An organization wants to encrypt data stored at rest in Amazon S3 and Amazon EBS using managed keys, while keeping the option to audit every time a key is used. Which service provides the encryption keys for this data-at-rest scenario?
- AWS Certificate Manager (ACM)
- Amazon Cognito
- AWS Secrets Manager
- AWS Key Management Service (KMS)
- A — ACM manages TLS certificates for encryption in transit, not keys for stored data.
- B — Cognito handles application user identity, not data encryption keys.
- C — Secrets Manager stores and rotates secrets like passwords, not the encryption keys for S3/EBS at rest.