AWS Cloud Practitioner CLF-C02 Sign in Try 10 free questions

Free CLF-C02 practice questions: Security & Compliance

The heaviest domain of the exam at 30%, and the one that decides most results. Seven questions with the reasoning attached — CLF-C02, 2026 edition.

Here are 7 typical security and compliance questions in the exam's own style — free, with the answer explained, no sign-up.

Straight to the 7 free questions ↓

Security and Compliance is 30% of the CLF-C02, which makes it the largest domain in the exam — around 19 or 20 of your 65 questions. If you are going to be strong somewhere, be strong here. The good news is that a big share of this domain rests on one idea, and once that idea clicks, the questions stop feeling like trivia.

The line that decides most of these questions

The shared responsibility model splits security into two halves. AWS is responsible for security of the cloud: the data centres, the hardware, the hypervisor, the host operating system, the global network. You are responsible for security in the cloud: your data, who may access it, your IAM configuration, the guest OS on your instances, your firewall rules, your encryption settings, your application code.

The half-sentence that separates them is worth learning as a reflex: if you can configure it, you own it. You can configure a security group, so security groups are yours. You cannot touch the hypervisor, so the hypervisor is AWS’s. This one test resolves the large majority of shared-responsibility questions on sight.

The subtlety the exam likes — and the one that separates a confident answer from a lucky one — is that the line moves depending on the service. On EC2, you own the guest OS and its patches. On Amazon RDS, AWS patches the database engine for you, so that piece of the line has moved upwards and off your plate; you still own the data inside and who may query it. On S3, you own almost nothing operationally except the two things that matter most: what you put in the bucket and who may read it. The more managed the service, the less of the stack is yours — but your data and your access control never leave your side of the line. Not once, for any service.

Identity: the four rules that keep recurring

IAM questions at this level are not deep. They test whether you have internalised a handful of principles that AWS repeats everywhere:

  • Least privilege. Start from the minimum a task needs; widen only when a need is shown. Any option that grants AdministratorAccess for convenience is wrong.
  • The root user is not for working. It has unrestricted access, it cannot be restricted by an IAM policy, and it exists for the life of the account. Secure it with MFA, and use it only where it is genuinely required.
  • Identities are not shared. A shared IAM user destroys the audit trail — you can no longer tell who did what. Rotating its password does not repair that.
  • Roles over long-lived keys. When an EC2 instance or a Lambda function needs to call an AWS service, it gets a role with temporary credentials, not an access key baked into the code.

Read the option text for these words rather than the scenario. If an option contains “root user for daily”, “one shared account” or “full administrator to be safe”, the exam has put it there to be rejected.

The services: know the boundaries, not the manuals

Most security-service questions are a fork between two or three plausible names. You do not need depth here; you need one crisp sentence per service, and you especially need the pairs the exam habitually confuses:

  • WAF against Shield. WAF inspects the content of HTTP requests — SQL injection, cross-site scripting. Shield defends against the volume of traffic — DDoS. Content, or volume.
  • GuardDuty against Inspector against Macie. GuardDuty watches logs for suspicious behaviour. Inspector scans your workloads for known vulnerabilities. Macie finds sensitive data such as personal information sitting in S3. Behaviour, weakness, data.
  • KMS against Secrets Manager against Certificate Manager. KMS manages encryption keys. Secrets Manager stores and rotates credentials. Certificate Manager handles TLS certificates. Keys, passwords, certificates.
  • Artifact against Config. Artifact hands you AWS’s compliance reports. Config records how your resources are configured over time. Their evidence, or your evidence.
  • Security Hub aggregates findings that other services produce. If a question describes centralising alerts rather than generating them, that is Security Hub.

Why this domain is where exams are lost

Candidates rarely fail the CLF-C02 because security is conceptually hard — it is not, at this level. They fail because the distractors are all real AWS services doing real security work, and recognising a name feels like knowing an answer. Four options, all genuine, all in the right neighbourhood: that is the whole difficulty, and it is entirely defeated by being able to say what each service is for in one sentence.

That is what the questions below are built to train. Answer each one first, then read the explanation past the correct letter — the part that matters is why the other three fail. On the real exam nobody tells you which three those were.

The AWS shared responsibility model as two halves: the customer is responsible for security in the cloud — data, IAM, guest OS patching, encryption settings, application code — while AWS is responsible for security of the cloud — data centres, hardware, hypervisor, host OS patching, global network. The dividing line moves upwards as services become more managed.

7 free CLF-C02 practice questions

Answers and explanations — no email wall
CLF-C02 Question 1 of 7

Under the AWS shared responsibility model, who is responsible for patching the guest operating system on an Amazon EC2 instance?

Answer: B — The customer

EC2 is infrastructure as a service: AWS runs the hardware, the hypervisor and the host operating system, and everything from the guest OS upwards is yours — including its patches. Why not the others: AWS patches the host OS, not the guest, and this does not change by distribution — an Amazon Linux AMI still leaves guest patching to you. And responsibility is never 'split evenly'; for any given item the model assigns it to exactly one party.

CLF-C02 Question 2 of 7

A company must prove to an auditor that AWS holds specific compliance certifications, such as ISO 27001 and SOC reports. Where should it obtain these documents?

Answer: A — AWS Artifact

AWS Artifact is the self-service portal for AWS's own compliance reports and agreements — this is exactly what it exists for. Why not the others: Trusted Advisor gives you recommendations about your own account, not AWS's certifications. AWS Config records how your resources are configured over time, which supports your compliance but is not AWS's audit evidence. Amazon Inspector scans your workloads for vulnerabilities.

CLF-C02 Question 3 of 7

Which practice best follows the AWS principle of least privilege?

Answer: C — Grant only the permissions a task requires, and add more only when a need is shown.

Least privilege means starting from the minimum a task needs and widening only on demonstrated need. Why not the others: blanket AdministratorAccess is the exact opposite. Sharing an IAM user destroys accountability — you can no longer tell who did what, and password rotation does not fix that. Using the root user for daily work is the single most discouraged practice in AWS security; the root user should be locked away with MFA and used only for the few tasks that require it.

CLF-C02 Question 4 of 7

Which AWS service protects web applications against common exploits such as SQL injection and cross-site scripting?

Answer: B — AWS WAF

AWS WAF is a web application firewall: it inspects HTTP requests and blocks patterns such as SQL injection and cross-site scripting. Why not the others: Shield defends against DDoS — volume attacks, not malicious request content. GuardDuty is threat detection; it tells you something suspicious is happening but does not block requests. KMS manages encryption keys. The distinction the exam wants is WAF for request content, Shield for traffic volume.

CLF-C02 Question 5 of 7

A security team wants to be alerted to unusual API activity and potential account compromise, using machine learning against CloudTrail, VPC Flow Logs and DNS logs. Which service does this?

Answer: A — Amazon GuardDuty

GuardDuty is the threat detection service that continuously analyses exactly those log sources and raises findings on anomalous behaviour. Why not the others: CloudTrail records the API calls — it is one of GuardDuty's inputs, not the analyser. Macie discovers and classifies sensitive data such as personal information in Amazon S3, which is a data-privacy problem, not an intrusion-detection one. Security Hub aggregates findings from other services, including GuardDuty, into one view; it centralises rather than detects.

CLF-C02 Question 6 of 7

Which statement about the AWS account root user is correct?

Answer: B — It has complete access to the account and should be protected with MFA and used rarely.

The root user is the identity created with the account, holds unrestricted access to everything including billing and account closure, and should be secured with multi-factor authentication and used only for the handful of tasks that require it. Why not the others: daily work belongs to IAM users or roles with scoped permissions. You cannot restrict the root user with an IAM policy — that is precisely why it is dangerous. And it is never deleted; it remains for the life of the account.

CLF-C02 Question 7 of 7

A company must encrypt data at rest in Amazon S3 and retain control over the encryption keys, including their rotation. Which service should it use?

Answer: A — AWS KMS

AWS Key Management Service creates and controls the keys used to encrypt data at rest, and supports key policies and rotation. Why not the others: Certificate Manager issues and renews TLS certificates, which protect data in transit rather than at rest. Secrets Manager stores and rotates credentials such as database passwords — secrets, not encryption keys. Shield is DDoS protection and unrelated to encryption.

That is exactly how every question in the course works — answer, explanation, why-not. The real set continues in the practice player: 10 free questions, no sign-up.

Continue with the 10 free questions →

Those 7 questions were the start.

The exam does not test whether you recognise a term — it tests whether you can rule out three plausible answers under time pressure. That is what the explanations above are for, and there are 390 more questions built exactly like them.

Collecting questions yourself

  • Scattered across forums, of unknown age
  • Answer keys without reasoning
  • No idea which domain you are weak in

Practising with a system

  • 390 questions in 6 full tests, CLF-C02 (2026)
  • Every option explained — including the wrong ones
  • Readiness per exam domain, and drills for your weakest
Start free — 10 questions

Straight into the player. No account, no email.

Frequently asked questions

Is this the current CLF-C02 format?
Yes — these questions follow the CLF-C02 exam guide (2026 edition). Security and Compliance is domain 2 and carries 30% of the scored questions, which makes it the heaviest of the four domains: roughly 19 or 20 of your 65 questions.
Are these real exam questions?
No. They are our own questions, written in the style and difficulty of the exam. Reproducing real exam items violates the AWS certification agreement and can get your certification revoked — and it would not help you anyway, because a memorised item teaches you nothing about the item you have not seen.
Why does the shared responsibility model come up so often?
Because it is the idea the whole domain is built on, and because it is a way of thinking rather than a fact to recall. Once you can place any given item on the correct side of the line — and see that the line itself moves depending on how managed the service is — a large share of this domain answers itself.
Do I need to memorise every AWS security service?
No. The exam tests the boundaries between a small set of them: WAF against Shield, GuardDuty against Inspector against Macie, KMS against Secrets Manager against Certificate Manager. Knowing what each one is for — one sentence each — is enough at this level.

Updated for CLF-C02 (July 2026). The sample questions above are our own work in the style of the exam — not real exam items. The exam itself is set and marked by the certification body.