CLF-C02 · 30% of the exam
Security and Compliance practice questions
10 free Security and Compliance questions for the AWS Certified Cloud Practitioner (CLF-C02) exam, each with the correct answer and an explanation for every option.
What this domain covers
The shared-responsibility model and the AWS services and practices that secure an account: identity and access management, encryption, monitoring and compliance evidence.
- Exam weight
- 30%
- On a real exam
- ≈ 20 questions
- In our bank
- 190 questions
Topics that come up most
- Shared responsibility for EC2, RDS, S3 and Lambda
- IAM users, groups, roles, policies and MFA
- Root user protection
- KMS, Shield, WAF, GuardDuty, Inspector
- CloudTrail and AWS Artifact
How to study it
Draw the responsibility line for four service types (IaaS to serverless). Many questions just move that line and ask who owns the task now.
Sample Security and Compliance questions
Try each one before opening the answer. Original questions written to the official exam objectives.
Question 1
Which AWS service provides on-demand access to compliance reports such as SOC and PCI documents?
- AAWS Artifact
- BAWS Config
- CAmazon Inspector
- DAWS Trusted Advisor
Show answer and explanation
Answer: A) AWS Artifact
- AAWS Artifact is the self-service portal for downloading AWS compliance reports and accepting agreements.
- BAWS Config records resource configuration changes; it does not distribute AWS audit reports.
- CInspector performs automated security assessments of workloads, not report distribution.
- DTrusted Advisor gives best-practice checks, not downloadable compliance attestations.
Question 2
An auditor asks the company for AWS SOC 2 and ISO 27001 compliance reports. Which AWS resource provides on-demand access to these documents?
- AAWS Artifact
- BAWS Trusted Advisor
- CAmazon Inspector
- DAWS Config
Show answer and explanation
Answer: A) AWS Artifact
- AAWS Artifact is the self-service portal for downloading AWS's security and compliance reports (SOC, ISO, PCI, and more) and reviewing agreements.
- BTrusted Advisor inspects your account for best-practice issues; it does not host AWS's audit reports.
- CInspector scans workloads for vulnerabilities; it is not a compliance-document repository.
- DAWS Config records resource configuration changes; it does not provide AWS's third-party audit reports.
Question 3
An IAM principal is affected by one policy that allows an action and another policy that explicitly denies it. What is the result?
- AThe request is denied — an explicit deny always overrides any allow
- BThe request is allowed — the most recently attached policy wins
- CThe request is allowed because at least one policy permits it
- DAWS prompts an administrator to choose
Show answer and explanation
Answer: A) The request is denied — an explicit deny always overrides any allow
- AIAM evaluation logic: an explicit deny in any applicable policy (identity, resource, SCP, boundary) takes precedence over all allows.
- BPolicy evaluation is not order- or recency-based; explicit deny wins regardless.
- CA single allow is not enough when an explicit deny is present.
- DIAM evaluation is deterministic and automatic; there is no prompt.
Question 4
A company connects its data center to AWS with AWS Site-to-Site VPN. What does this provide for data in transit?
- AAn encrypted IPsec tunnel over the public internet between the on-premises network and the VPC
- BA dedicated private fiber connection with guaranteed bandwidth
- CAutomatic encryption of all data at rest in the VPC
- DA content delivery network for static assets
Show answer and explanation
Answer: A) An encrypted IPsec tunnel over the public internet between the on-premises network and the VPC
- ASite-to-Site VPN establishes encrypted IPsec tunnels across the internet, protecting traffic between the customer network and AWS in transit.
- BThat describes AWS Direct Connect; a VPN runs over the shared public internet.
- CA VPN secures data in transit; encryption at rest is configured separately on storage services.
- DThat is Amazon CloudFront, unrelated to a site-to-site VPN.
Question 5
Which statement correctly describes the difference between AWS managed policies and customer managed policies in IAM?
- AAWS creates and updates AWS managed policies, which you can't edit; you create customer managed policies and can edit them
- BAWS managed policies can contain only Deny statements, while customer managed policies can contain only Allow statements
- CCustomer managed policies are embedded in a single identity, while AWS managed policies can be attached to many identities
- DAWS managed policies apply to every identity automatically, while customer managed policies must be attached manually
Show answer and explanation
Answer: A) AWS creates and updates AWS managed policies, which you can't edit; you create customer managed policies and can edit them
AWS managed policies are created and maintained by AWS and can't be edited. Customer managed policies are created by you and can be tailored and updated. Both are standalone policies that can be attached to many identities, unlike inline policies.
- ACorrect. AWS managed policies are standalone policies created and administered by AWS. You can't change their permissions, and AWS updates them over time. Customer managed policies are standalone policies that you create and can change as often as you like.
- BIncorrect. The difference is who creates and maintains the policy, not which effects it can use. AWS managed policies such as ReadOnlyAccess grant (Allow) permissions.
- CIncorrect. This describes inline policies. Customer managed policies are standalone policies with their own ARN and can be attached to many users, groups, and roles.
- DIncorrect. Neither type grants permissions until you attach it to a user, group, or role. AWS managed policies are not applied automatically.
Question 6
Which TWO statements about IAM roles are correct? (Choose two.)
Select 2 answers.
- AA role can be assumed by trusted principals such as IAM users, applications, or AWS services.
- BA role has its own password and access keys, which administrators rotate on a schedule.
- CAn EC2 instance can use a role so its applications get temporary credentials automatically.
- DA role is limited to IAM users in the same AWS account where the role was created.
- EA role is assigned to one named person, the same way an IAM user is.
Show answer and explanation
Answer: A) A role can be assumed by trusted principals such as IAM users, applications, or AWS services.; C) An EC2 instance can use a role so its applications get temporary credentials automatically.
IAM roles have no long-term credentials. Trusted principals, including users in other accounts, AWS services, and federated users, assume them to get temporary credentials. This lets workloads such as EC2 instances call AWS APIs without embedded access keys.
- ACorrect. A role is meant to be assumable by anyone who needs it. IAM users, other roles, AWS service principals, and federated users can assume a role if its trust policy allows them.
- BA role has no standard long-term credentials such as a password or access keys. Assuming it provides temporary security credentials for the role session.
- CCorrect. AWS delivers a role's temporary credentials to compute resources such as EC2, and AWS SDKs find them automatically. You don't need to put long-term access keys on the instance.
- DRoles are the main way to grant cross-account access, and AWS services and federated users can assume them too. This restriction doesn't exist.
- EUnlike an IAM user, a role isn't uniquely associated with one person. It is meant to be assumable by any trusted principal who needs it.
Question 7
What is the purpose of AWS Identity and Access Management (IAM) policies?
- ATo define which actions on which resources an identity is allowed or denied to perform
- BTo measure CPU and memory usage of instances
- CTo provide a firewall for VPC subnets
- DTo store encrypted database passwords
Show answer and explanation
Answer: A) To define which actions on which resources an identity is allowed or denied to perform
- AIAM policies are JSON documents that specify permissions and are evaluated on every request.
- BResource metrics come from CloudWatch, not IAM.
- CNetwork filtering is handled by security groups and network ACLs.
- DSecret storage is Secrets Manager or Parameter Store, not IAM policies.
Question 8
Which AWS service helps you centrally set up and govern a multi-account AWS environment with guardrails and a landing zone?
- AAWS Control Tower
- BAmazon Cognito
- CAWS Batch
- DAmazon Detective
Show answer and explanation
Answer: A) AWS Control Tower
- AControl Tower automates setup of a well-architected multi-account environment with preventive and detective guardrails.
- BCognito handles end-user sign-up and sign-in for applications, not AWS account governance.
- CAWS Batch runs batch computing jobs; it has nothing to do with account governance.
- DDetective helps investigate security findings; it does not build multi-account landing zones.
Question 9
Which AWS service provisions, manages, and automatically renews SSL/TLS certificates for use with services such as Elastic Load Balancing and Amazon CloudFront?
- AAWS Certificate Manager (ACM)
- BAWS Key Management Service (KMS)
- CAWS Secrets Manager
- DAWS Identity and Access Management (IAM)
Show answer and explanation
Answer: A) AWS Certificate Manager (ACM)
- AACM issues and manages public and private TLS certificates and handles renewal for certificates deployed to supported AWS services.
- BKMS manages encryption keys for data at rest; it doesn't issue TLS certificates.
- CSecrets Manager stores and rotates secrets such as database credentials, not TLS certificates for AWS services.
- DIAM manages identities and permissions, not certificates.
Question 10
A secure architecture applies protections at the network edge, the VPC, the subnet, the instance, the application, and the data layer, so that a failure of one control doesn't expose the system. What is this principle called?
- ADefense in depth
- BSingle point of failure
- CLeast privilege
- DSecurity through obscurity
Show answer and explanation
Answer: A) Defense in depth
- ADefense in depth layers multiple, independent security controls so an attacker must defeat several to succeed, and a single misconfiguration isn't catastrophic.
- BThat's a design weakness, not a security principle to apply.
- CLeast privilege (granting only necessary permissions) is a related but different principle.
- DRelying on secrecy of design is discouraged and is not what layered controls describe.
Security and Compliance: FAQs
How much of the CLF-C02 exam is Security and Compliance?
Security and Compliance is 30% of the CLF-C02 exam by the official exam guide's weighting, which on a 65-question form works out to roughly 20 questions. The real exam's exact split varies by form.
What does the Security and Compliance domain cover?
The shared-responsibility model and the AWS services and practices that secure an account: identity and access management, encryption, monitoring and compliance evidence.
How should I study Security and Compliance for CLF-C02?
Draw the responsibility line for four service types (IaaS to serverless). Many questions just move that line and ask who owns the task now.
Where can I practise more Security and Compliance questions?
This page has 10 free Security and Compliance questions with answers. CertRidge's CLF-C02 question bank has 190 questions in this domain. Every practice exam result breaks your score down by domain, and Review Mode re-drills the questions you missed.
Get Security and Compliance exam-ready
The full CLF-C02 bank has 190 Security and Compliance questions. Timed practice exams match the real exam's length and domain weights, every result shows your score per domain, and Review Mode re-drills the questions you missed.
Not affiliated with AWS; questions are original and never copied from the real exam.