Hands-on AWS knowledge base for developers Managed Ops
Talk to Us

CLF-C02 Exam Domain Deep Dive: Security and Compliance (30%)

Export PDF Print-friendly layout with a copyright watermark; choose Save as PDF in the print dialog
CLF-C02 Exam Domain Deep Dive: Security and Compliance (30%)

Write.

Let me draft the body carefully.


TL;DR

  • Security and Compliance carries 30% of CLF-C02 — roughly 20 of the 65 questions — and almost every one of them collapses into "who is responsible for this piece: AWS, you, or both".
  • You need recognition, not depth: GuardDuty = suspicious behavior, Inspector = vulnerable software, Macie = sensitive data in S3, Config = drift from a rule you set.
  • Two weeks of 60–90 minute sessions plus one timed practice run is realistic for someone already clicking around the console; 90 minutes for 65 questions means ~83 seconds each, so flagging and moving on beats deliberating.

Then intro paragraph? Rule 5 says body must start with TL;DR. So TL;DR first. Then after TL;DR a short paragraph before next H2? Fine.

Where the 30% actually lands: the four domains by weight

Domain Weight Questions (of 65) What it feels like
1. Cloud Concepts 24% ~16 definitions, Well-Architected pillars, migration basics
2. Security and Compliance 30% ~20 shared responsibility, IAM, security services, compliance artifacts
3. Cloud Technology and Services 34% ~22 compute/storage/db/networking picks, "which service"
4. Billing, Pricing and Support 12% ~8 pricing models, support plans, Cost Explorer/TCO

Then prose: I quote roughly because scaled scoring means the number of questions you must get right isn't published; the weights are from the official exam guide and the question count is 65 with some unscored items. Actually AWS says 65 questions; some may be unscored. Pass = 700/1000 scaled. Avoid promising pass rates.

Domain 3 of the exam guide (Security and Compliance) splits into four task areas: shared responsibility model; cloud security and compliance concepts (encryption, least privilege, compliance scope); access management capabilities (IAM users/groups/roles/policies, MFA, Identity Center, Organizations SCPs); and the components used for security support (the service toolbox + where to find compliance reports). Domain 2 (in the guide it's actually numbered… hmm). In CLF-C02 guide the domains order: 1 Cloud Concepts 24%, 2 Security and Compliance 30%, 3 Cloud Technology and Services 34%, 4 Billing Pricing and Support 12%. Yes I believe Security is Domain 2 in CLF-C02. Let me just not number them rigidly — I'll label by weight and name. Actually a table with numbers is fine; I'll use "Domain 2 — Security and Compliance (30%)". Hmm risk. The official CLF-C02 exam guide lists: Domain 1: Cloud Concepts 24%, Domain 2: Security and Compliance 30%, Domain 3: Cloud Technology and Services 34%, Domain 4: Billing, Pricing, and Support 12%. I'm fairly confident. I'll keep numbers.

Prose after table: "Roughly one in three questions is a security question…" then note that security vocabulary also leaks into domain 3 questions (e.g., "which service encrypts…"). Good insight.

Shared responsibility: the model that answers half the domain

Table: layer | AWS | you.

Rows: physical datacenter/hardware — AWS; hypervisor & managed service patching (RDS engine patching) — AWS; guest OS patching on EC2 — you; security groups / NACLs configuration — you; IAM, credentials, MFA on root — you; S3 bucket policy and object ACL, encryption choice — you (AWS provides the capability); data classification — you; edge DDoS protection (Shield Standard) — AWS.

Then prose about the classic trap: "RDS patching is AWS; EC2 guest OS patching is you." And the "of the cloud vs in the cloud" phrasing.

Then a command block showing how to prove who's who? Maybe:

# Who am I actually authenticated as? Run this before blaming IAM policies.
aws sts get-caller-identity

output snippet:
```json
{
    "UserId": "AROAXXXXXXXXXXXXX:deploy",
    "Account": "111122223333",
    "Arn": "arn:aws:sts::111122223333:assumed-role/deploy-role/deploy"
}

Good concrete output detail. Then "If that ARN isn't what you expect (an assumed role instead of an IAM user), the policy you're editing is the wrong one" — a real ops pattern.

IAM points: no access keys on EC2, use instance profiles/roles; root only for the handful of tasks; MFA on root; SCPs deny by default across the org; Identity Center for humans.

Maybe include a second command block: simulate principal policy.

```bash
aws iam simulate-principal-policy 
  --policy-source-arn arn:aws:iam::111122223333:role/app-reader 
  --action-names s3:GetObject kms:Decrypt 
  --resource-arns arn:aws:s3:::app-data/report.csv 
  --query 'EvaluationResults[].[EvalActionName,EvalDecision]' --output table


Output table with allowed/implicitDeny. Good — matches the exam's least-privilege theme.

## Security service matching table + prose

Table: service | one-line signal in the question
GuardDuty | unusual API calls / crypto mining / malicious IP on CloudTrail+VPC DNS logs
Inspector | CVEs, package vulnerabilities, EC2/ECR/Lambda scanning
Macie | PII/sensitive data discovery in S3
Config | resource configuration drift, conformance packs
Security Hub | aggregated findings, standards like CIS/PCI
CloudTrail | who did what, API audit trail
CloudWatch | metrics/logs/alarms — performance not audit
Shield | DDoS (Standard automatic, Advanced paid w/ DDoS Response Team)
WAF | SQLi/XSS, rate-based rules, layer 7
KMS/CloudHSM | key management; CloudHSM = single-tenant dedicated hardware
Secrets Manager | rotating DB creds
Artifact | SOC/ISO/PCI reports, on-demand
Trusted Advisor | checks/limits

Prose about distinguishing GuardDuty vs Inspector vs Macie vs Config — the four "detective" services that get swapped in wrong answers. Then the compliance bit: compliance of the cloud is AWS's, reports in Artifact; you still need to be eligible/configured for PCI/HIPAA.

## The 01:40 KMS call: why "AccessDenied" from S3 lies

Story with commands as above. Keep tight: setup, error, wrong first config (added kms:Decrypt to the IAM role policy — no effect), diagnosis via CloudTrail, root cause (key policy didn't delegate to IAM), fix (add statement for role, or account-root principal + IAM allow), verification (`aws s3api get-object` succeeds; CloudTrail shows no errorCode).

Lesson tie to exam: resource-based policies vs identity-based; explicit deny in SCP wins.

## Registration, money, timeline — and when to skip

Facts table maybe: fee USD 100 (US; varies by region), 90 min, 65 Q, pass 700/1000, 3-year validity, 14-day retake wait, online proctored or Pearson test center, no prerequisites.

Hmm rule: "For comparisons or pricing, always include a Markdown table." So a small table for exam facts. Good.

Then "When NOT to sit CLF-C02" — subheading? The instruction says include a "when NOT to use this" section. I'll make it an H3 under this H2, or its own H2: "## When not to sit CLF-C02" — that adds a section. I'll make it H3 within this H2 to keep section count. Actually a "section" could be H3. I'll use H3: "### When NOT to sit CLF-C02".

Study path: steps list (real steps are allowed as list).

## Exam technique

Prose + maybe short list.

## FAQ — 2 questions.

## Sources — 4 links.

Now, awsgood.com mention once near end — put in exam technique or registration section: "the same setup we do for clients through awsgood.com managed services... " Keep non-salesy: e.g., "If you'd rather not run the org-level guardrails yourself, this is the sort of baseline work we do at awsgood.com — SCPs, GuardDuty, and a key policy that doesn't fight IAM." Fine, near end (before FAQ).

Word count target: let's estimate. I'll write and roughly count. Aim ~1650.

Let me write now for real.

Careful with 4-sentence max paragraphs.

Writing:

---

## TL;DR

- Security and Compliance is 30% of CLF-C02 — about 20 of the 65 questions — and nearly all of them come down to one question: AWS, you, or both?
- Recognition beats depth. GuardDuty for suspicious behaviour, Inspector for vulnerable packages, Macie for sensitive data in S3, Config for drift against a rule you wrote.
- Two weeks at 60–90 minutes a day plus one timed 65-question run is realistic if you already use the console; 90 minutes for 65 questions is ~83 seconds each, so flag and move.

## The four domains, and why the 30% one is worth the most attention

Table.

Prose: "Tally those weights against 65 questions and domain 2 is worth roughly 20 items..."

Note about unscored pretest items and scaled 700 score.

Then: "Security vocabulary also leaks into domain 3..." example.

## Shared responsibility: the sentence that solves most of domain 2

Prose framing, then table, then prose on the trap, then the credentials/CLI bit.

Let me be careful: table then prose then another table maybe too many. It's fine.

## The four detection services everyone confuses

Prose + table + prose.

## A 01:40 KMS failure that explains key policies better than any doc

Troubleshooting.

## Registration, cost, and the timeline I'd actually recommend

Table + prose + steps + when NOT.

## Exam technique for 65 questions in 90 minutes

## FAQ

## Sources

Ok. Now the output FAQ (5 items) distinct from in-article FAQ.

In-article FAQ questions:
- "Is CLF-C02 enough to get a cloud job?" — hmm that might be better in output. Let me pick in-article: 
  - "Do I need to memorise AWS service limits?" 
  - "How different is CLF-C02 from CLF-C01?"
Output FAQ:
  - "What is the passing score for CLF-C02?"
  - "How long is the CLF-C02 certification valid?"
  - "Can I take CLF-C02 online from home?"
  - "What is the weight of the Security and Compliance domain?"
  - "Does CLF-C02 include hands-on labs or coding?"
  - "Which exam should I take first: CLF-C02 or SAA-C03?"

Good, 5-6.

Now, careful: the FAQ answers 40-80 words.

Let's write final text with attention to length.

Draft body:

---

## TL;DR

- Security and Compliance carries 30% of CLF-C02 — roughly 20 of the 65 questions — and most of them reduce to a single judgement: is this piece of the stack AWS's job, yours, or shared?
- You need recognition, not depth: GuardDuty flags behaviour, Inspector flags vulnerable packages, Macie flags sensitive data in S3, Config flags drift from a rule.
- Two weeks of 60–90 minute sessions plus one timed 65-question run is a realistic budget if you already click around the console; 90 minutes for 65 questions leaves ~83 seconds per item, so flag and move.

## The four domains, and why the security one deserves most of your hours

| # | Domain | Weight | ≈ questions of 65 | What it looks like |
|---|---|---|---|---|
| 1 | Cloud Concepts | 24% | ~16 | definitions, Well-Architected pillars, migration patterns |
| 2 | Security and Compliance | 30% | ~20 | shared responsibility, IAM, security services, compliance reports |
| 3 | Cloud Technology and Services | 34% | ~22 | pick the right compute/storage/database/network service |
| 4 | Billing, Pricing and Support | 12% | ~8 | pricing models, support plans, Cost Explorer, TCO |

The question count is fixed at 65 and the pass mark is a scaled 700 out of 1000, so nobody outside AWS can tell you "get 45 right and you're through". Treat the ~ column as a budget for study time, not a scoring formula. Also worth knowing: some items are unscored pretest questions mixed in, which is why a handful of them feel weirdly specific.

Domain 3 of the exam guide (in the guide it's the Security and Compliance domain, split into four task areas) ... hmm, domain 2. Let me write: "Domain 2 is broken into four task areas: the shared responsibility model, core security and compliance concepts (encryption, least privilege, what "in scope" means for an audit), access management capability (IAM users, groups, roles, policies, MFA, Identity Center, SCPs), and the security/ compliance service toolbox plus where to download reports."

Then leakage sentence: "Security wording also bleeds into domain 3 — a question about encrypting an RDS instance at rest is scored under technology but answered with KMS vocabulary. That's the practical argument for over-preparing this domain."

## Shared responsibility: the sentence that answers most of domain 2

When you get a question about "who patches this", draw the line at the service boundary rather than at the machine.

| Layer | AWS | You |
|---|---|---|
| Physical datacenters, hosts, network | ✅ | |
| Hypervisor and managed-service engine patching (RDS, ElastiCache) | ✅ | |
| Guest OS and middleware on EC2 | | ✅ |
| Security groups, NACLs, route tables | | ✅ |
| IAM users, roles, key rotation, root MFA | | ✅ |
| Data classification, bucket policies, encryption choice | | ✅ |
| DDoS absorption at the edge (Shield Standard) | ✅ | |

The classic miss is patching. RDS minor version upgrades are AWS's job; the yum packages on your m5.xlarge are yours, and every "who is responsible" question in the exam is a variation of that split. The phrasing to lock in: AWS is responsible for security *of* the cloud, you for security *in* the cloud.

The access-management half of the domain is where hands-on time pays off. Root account locked in a vault with MFA and no access keys, humans through IAM Identity Center, workloads through roles — not long-lived keys baked into a config file. Before you argue with a policy, confirm who you actually are, because an assumed role and an IAM user look identical in a stack trace:

```bash
aws sts get-caller-identity


```json
{
    "UserId": "AROAQ2XEXAMPLE:deploy",
    "Account": "111122223333",
    "Arn": "arn:aws:sts::111122223333:assumed-role/deploy-role/deploy"
}


That output has saved me from editing the wrong policy more than once. And when a question asks for the *least* privilege, the answer is almost never "attach AdministratorAccess and move on" — it's a scoped identity policy plus a permissions boundary or an SCP. You can test that reasoning locally:

```bash
aws iam simulate-principal-policy 
  --policy-source-arn arn:aws:iam::111122223333:role/app-reader 
  --action-names s3:GetObject kms:Decrypt 
  --resource-arns arn:aws:s3:::app-data/report.csv 
  --query 'EvaluationResults[].[EvalActionName,EvalDecision]' 
  --output table --region us-east-1



----------------------------------------
|         SimulatePrincipalPolicy      |
+----------------+---------------------+
|  s3:GetObject  |  allowed            |
|  kms:Decrypt   |  implicitDeny       |
+----------------+---------------------+


`implicitDeny` is the word you want to remember for the exam: no statement allows it, nothing denies it explicitly either.

## The four detection services that get

Leave a Reply

Your email address will not be published. Required fields are marked *