CLF-C02 security and compliance explained

Updated November 23, 2026

Security and Compliance is 30% of CLF-C02 scored content, the second-largest domain. It has four task statements: the shared responsibility model (2.1), security, governance and compliance concepts (2.2), access management (2.3) and security components and resources (2.4). Expect straightforward questions that ask which service or party is responsible for something.

2.1 Shared responsibility model

AWS is responsible for security of the cloud: facilities, hardware, networking and the virtualization layer. The customer is responsible for security in the cloud: data, identity and access, and the configuration of the services they use. The split shifts with the service type.

ServiceAWS managesCustomer manages
EC2Hardware, hypervisor, facilityGuest OS patches, applications, security groups, data
RDSHardware, OS, database engine patchingData, access control, configuration
LambdaServers, OS, runtimeCode, permissions, data

Some controls, such as patch management and configuration management, are shared, and training is shared too. The more managed the service, the more AWS handles, but the customer always owns the data and access decisions.

2.2 Governance and compliance concepts

  • AWS Artifact: where to download AWS compliance reports and agreements.
  • CloudTrail: records API calls and account activity for auditing.
  • CloudWatch: metrics, logs and alarms for monitoring.
  • AWS Config: tracks resource configuration changes and compliance with rules.
  • Audit Manager: helps gather evidence for audits.
  • Encryption: in transit protects data moving across networks; at rest protects stored data.

Compliance requirements differ by geography and industry, and some AWS services meet requirements that others do not.

2.3 Access management

AWS Identity and Access Management (IAM) controls who can do what. Learn these ideas:

  • Least privilege: give only the permissions needed.
  • Users, groups, roles and policies: groups collect users, roles are assumed temporarily, policies define permissions, and managed policies are reusable.
  • MFA: adds a second factor and is strongly recommended for the root user and privileged users.
  • Root user: has full access, so protect it; some tasks can only be done by the root user.
  • IAM Identity Center: central workforce sign-in across accounts, supporting federation.
  • Credentials: keep secrets in AWS Secrets Manager or Systems Manager rather than in code.

2.4 Security components and resources

NeedService
Filter web traffic for common attacksAWS WAF
Defend against DDoSAWS Shield
Detect threats from logs and network activityAmazon GuardDuty
Scan EC2 and containers for vulnerabilitiesAmazon Inspector
See security findings in one placeAWS Security Hub
Get advice on best practicesAWS Trusted Advisor
Control traffic at instance or subnet levelSecurity groups and network ACLs
Buy third-party security productsAWS Marketplace

Traps to watch

  1. Customer data and IAM configuration are always the customer’s job.
  2. CloudTrail answers who did what; CloudWatch answers how is it performing.
  3. Artifact gives reports; it does not scan anything.
  4. Security groups allow traffic only; network ACLs can also deny.

Practice questions

Question 1. A company needs to download an AWS SOC report for an auditor. Where should it go?

  • A. Amazon CloudWatch
  • B. AWS Artifact
  • C. Amazon GuardDuty
  • D. AWS Trusted Advisor
Show answer

Answer: B

AWS Artifact is the portal for compliance reports and agreements. CloudWatch is for metrics and logs, GuardDuty detects threats and Trusted Advisor gives best-practice recommendations, so none of these provides the audit reports.

Want more questions like this? Full CLF-C02 practice tests →

Question 2. Which service records API calls made in an AWS account so an auditor can see who deleted a resource?

  • A. AWS CloudTrail
  • B. Amazon CloudWatch alarms
  • C. Amazon Inspector
  • D. AWS Shield
Show answer

Answer: A

AWS CloudTrail logs API activity, including the caller identity, time and source. CloudWatch collects metrics and application logs, Inspector scans for vulnerabilities and Shield protects against DDoS attacks.

Want more questions like this? Full CLF-C02 practice tests →

Question 3. An administrator wants every user to sign in once and reach several AWS accounts with permissions based on job role. Which service helps?

  • A. AWS Secrets Manager
  • B. AWS WAF
  • C. A security group
  • D. AWS IAM Identity Center
Show answer

Answer: D

IAM Identity Center provides centralized workforce access across multiple accounts and can federate with an existing directory. Secrets Manager stores credentials, WAF filters web requests and a security group controls network traffic, none of which manages user sign-in across accounts.

Want more questions like this? Full CLF-C02 practice tests →