B Y T E B A R

Study Hub / AWS Certified Cloud Practitioner (CLF-C02) / Domain 2.0

AWS Certified Cloud Practitioner (CLF-C02) Domain 2.0: Security and Compliance — Explained

Domain 2.0 is the biggest conceptual domain on the CLF-C02: who secures what, how identity works on AWS, and how AWS proves its own compliance so customers can inherit it. Get the responsibility line right and half this domain answers itself.

Exam weight: 30% · Free study preview from ByteBar

Shared responsibility, applied

Domain 1 introduced the line; Domain 2 makes you walk it:

IAM concepts: identity on AWS

Roles vs. users: if the exam mentions temporary credentials, cross-account access, or an application needing AWS access — it wants a role, not a user with embedded keys.

Compliance on AWS: inherit, don't rebuild

The must-memorize table: IAM identities

Pick the right identity for the scenario.

IdentityWhat it isUse it when
Root userThe account itself, unlimited powerInitial setup only — then MFA + lock away
IAM userA person or app with long-term credentialsHumans who need console/CLI access
IAM groupA collection of usersAssigning the same policies to many people
IAM roleTemporary credentials to be assumedEC2 apps, cross-account, federation
PolicyJSON allow/deny documentDefining exactly what an identity may do

Try it: 4 sample questions

Sample questions to check your understanding of this domain. Answers and full reasoning are tucked under each one.

1. An application running on EC2 needs to read from an S3 bucket. What is the best-practice way to grant access?

  1. A. A. Create an IAM user and embed its access keys in the application code
  2. B. B. Attach an IAM role to the EC2 instance with S3 read permissions
  3. C. C. Make the S3 bucket publicly readable
  4. D. D. Share the root user credentials with the application
Show answer & reasoning

B. Roles provide temporary credentials automatically — no long-term keys to leak, rotate, or embed. Embedded keys (A) are the classic breach pattern; public buckets (C) expose data to the internet; root credentials (D) should never leave the safe. "Application needs AWS access" → role, every time.

2. A new AWS account is created. What is the first security action to take?

  1. A. A. Launch EC2 instances for the workload
  2. B. B. Enable MFA on the root user and avoid using it for daily tasks
  3. C. C. Create a VPC with public subnets
  4. D. D. Enable CloudTrail in all regions
Show answer & reasoning

B. The root user can do anything, including deleting the account — so it gets MFA immediately and is then set aside in favor of IAM users/roles. Everything else (C, D) is important but secondary to locking the front door. The exam asks this constantly because real breaches start here.

3. An auditor asks for evidence of AWS's PCI DSS compliance. Where does the customer get it?

  1. A. A. By running their own penetration test against AWS data centers
  2. B. B. From AWS Artifact — the compliance report portal
  3. C. C. From CloudTrail logs
  4. D. D. By opening a support case asking for an attestation letter
Show answer & reasoning

B. AWS Artifact is the self-service portal for compliance reports and certifications — SOC, PCI, ISO, and more. Customers inherit AWS's audited controls and prove it with Artifact documents. You cannot pentest AWS facilities yourself (A); CloudTrail (C) logs your API activity, not AWS's compliance.

4. A company uses RDS for its database. Who patches the database engine, and who is responsible for the data in it?

  1. A. A. AWS patches the engine; the customer owns the data
  2. B. B. The customer patches everything
  3. C. C. AWS owns both the engine and the data
  4. D. D. Neither — RDS is fully autonomous
Show answer & reasoning

A. RDS is a managed service: AWS takes the OS and engine patching ("of the cloud" grows), but the customer's data — its classification, access, backups, encryption — stays firmly "in the cloud," i.e., yours. The line moved, but data ownership never crosses it.

This was one domain. The simulator drills all 4.

This free preview covered Security and Compliance (Domain 2.0, 30%). Not covered here: Cloud Technology and Services (Domain 3.0, 34%). The entire largest domain — every core AWS service deep-dive — plus advanced shared-responsibility scenarios and compliance-program detail stay in the paid guide and practice bank. The ByteBar Practice Exam Simulator drills every domain with 1,000 exam-style questions — $9.99 one-time unlocks all 28 exams. Prefer to read? The full AWS Cloud Practitioner Study Guide is in the ByteBar shop on Etsy.

Practice Exam Simulator — $9.99 one-time, all 28 exams Full Study Guides on Etsy