SAP-C02
Deep Dive
SAP-C02's D3 domain (25%) tests continuous improvement, and organization-scale security is its core. You need to differentiate between security tools, their use cases, and how they work together in a detection-and-response pipeline.
Contents
Preventive Controls — block before it happens
Detective Controls — identify after it happens
GuardDuty is a threat detection service that uses Machine Learning to analyze AWS data sources and detect malicious or anomalous behavior. It requires no agents or complex configuration.
Data sources analyzed
Finding types
GuardDuty across multi-account Organizations
Enable GuardDuty org-wide from a Delegated Administrator account (typically the Security Tooling Account). Findings from all member accounts are aggregated at the delegated admin. New accounts are onboarded automatically.
Security Hub aggregates findings from multiple AWS and third-party security services into a single pane of glass. It scores your security posture against standards like CIS AWS Foundations Benchmark, PCI DSS, and AWS Foundational Security Best Practices.
Finding sources (native integrations)
Key capabilities
AWS Config records the configuration history of every AWS resource and evaluates its compliance against defined rules. It answers: how was this resource configured 3 months ago? What changed and who changed it?
Config Rules
Config across multiple accounts
Amazon Macie
Discovers and protects sensitive data in S3 using ML. Identifies PII (card numbers, SSNs, medical data), credentials, and confidential data. Generates findings when sensitive data is found in public or shared buckets.
Amazon Inspector
Continuously scans EC2 instances, container images in ECR, and Lambda functions for software vulnerabilities (CVEs) and network reachability deviations from best practices.
Amazon Detective
A security incident investigation service. It automatically analyzes CloudTrail, VPC Flow Logs, and GuardDuty to build a behavior graph that speeds up forensic investigation.
| Service | Key control | FIPS 140-2 | Best for |
|---|---|---|---|
| AWS KMS (AWS Managed Keys) | AWS manages rotation and key material | Level 2 | Encrypting AWS resources with no operational overhead |
| AWS KMS (Customer Managed Keys) | You control the policy and rotation | Level 2 | Compliance requiring you to own key control |
| AWS KMS (Customer-Provided Keys) | You import your own key material | Level 2 | Compliance requiring externally sourced key material |
| CloudHSM | You have exclusive access to the HSM | Level 3 | Strict compliance (PCI, FIPS L3), SSL/TLS offload |
| Secrets Manager | Secrets management + automatic rotation | Uses KMS | DB credentials, API keys with automatic rotation |
| SSM Parameter Store | Secrets and configuration (not just secrets) | Uses KMS | App configuration + simple secrets, lower cost |
Pitfall: "GuardDuty analyzes the content of the data stored in S3"
Reality: FALSE. GuardDuty analyzes metadata and logs (CloudTrail, VPC Flow, DNS) — not file content. To analyze data content in S3 (PII) use Amazon Macie.
Pitfall: "AWS Config can block non-compliant configuration changes"
Reality: FALSE. Config is detective, not preventive. It records and evaluates changes but doesn’t block them. To block changes use SCPs, IAM Policies, or Service Catalog.
Pitfall: "Security Hub replaces GuardDuty, Inspector, and Macie"
Reality: FALSE. Security Hub aggregates and centralizes findings from these services — it doesn’t replace them. You still need to enable GuardDuty, Inspector, etc. separately.
Pitfall: "CloudHSM and KMS are equivalent"
Reality: They’re different. KMS is AWS-managed (shared but with cryptographic isolation). CloudHSM gives you a dedicated HSM where you hold the only copy of the keys. CloudHSM meets FIPS 140-2 Level 3 (KMS only Level 2).
Did you get this topic?
Test what you just learned
A security team needs to: (1) automatically detect if an EC2 instance in any account of the organization is communicating with known malicious IPs, (2) view all security findings from all accounts in a centralized dashboard, and (3) receive an alert when an S3 bucket in production is configured as public. Which combination of services satisfies all three requirements?
Put what you learned to the test with original SAP-C02 exam questions.
Start SAP-C02 mock examUnlimited mock exams with the Pro plan
Log in to track your progress.