WebMagicInformatica
CLF-C02 practice questions

CLF-C02 practice questions: Security and Compliance

8 free questions on Security and Compliance, 30% of the AWS Certified Cloud Practitioner exam. Try each one, then open the answer and explanation. None of them are in the free readiness check, so you can still take it fresh.

Question 1

A company just created an AWS account. Which action should be taken FIRST to protect the root user?

  1. A.

    Enable multi-factor authentication (MFA) on the root user

  2. B.

    Create access keys for the root user for daily tasks

  3. C.

    Share the root password with the finance team

  4. D.

    Delete the root user

Show answer and explanation

Answer: A

Protect the root user with MFA and use it only for tasks that require it.

  • Root access keys should be avoided.
  • Sharing the password multiplies risk.
  • The root user cannot be deleted.
Question 2

A security team wants to continuously assess whether AWS resource configurations comply with internal rules, such as requiring all EBS volumes to be encrypted, and see how configurations changed over time. Which service should they use?

  1. A.

    AWS Config

  2. B.

    AWS Shield Advanced

  3. C.

    AWS Direct Connect

  4. D.

    Amazon Macie

Show answer and explanation

Answer: A

AWS Config records resource configurations and evaluates them against rules.

  • Shield Advanced is DDoS protection.
  • Macie discovers sensitive data in S3.
  • Direct Connect is a dedicated network link.
Question 3

A public website running behind an Application Load Balancer is receiving SQL injection and cross-site scripting attempts. Which service can block these web exploits?

  1. A.

    AWS Artifact

  2. B.

    AWS WAF

  3. C.

    AWS CloudTrail

  4. D.

    Amazon Inspector

Show answer and explanation

Answer: B

AWS WAF filters HTTP requests using rules to block common exploits such as SQL injection and cross-site scripting.

  • Artifact delivers compliance reports.
  • Inspector scans for vulnerabilities but does not block requests.
  • CloudTrail logs API activity.
Question 4

At which level do security groups operate in an Amazon VPC, and how do they treat traffic?

  1. A.

    At the account level, stateful with deny rules only

  2. B.

    At the instance (network interface) level, stateful with allow rules only

  3. C.

    At the subnet level, stateless with allow and deny rules

  4. D.

    At the Region level, stateless with deny rules only

Show answer and explanation

Answer: B

Security groups are instance-level virtual firewalls that are stateful and support allow rules only.

  • Subnet-level, stateless, allow and deny describes network ACLs.
  • There is no Region- or account-level security group behaviour like the others describe.
Question 5

Which of the following is an example of 'inherited' controls in the shared responsibility model?

  1. A.

    A customer's configuration of its security groups

  2. B.

    A customer's own password policy for application users

  3. C.

    A customer relying on AWS's physical and environmental security controls

  4. D.

    A customer's patching of its guest operating systems

Show answer and explanation

Answer: C

Inherited controls are controls a customer fully inherits from AWS, such as physical and environmental controls.

  • Passwords, guest OS patching and security groups are customer-managed.
Question 6

A company has an on-premises Active Directory. Employees should use their existing corporate credentials to access the AWS Management Console. Which approach supports this?

  1. A.

    Use CloudFront signed URLs

  2. B.

    Share one root password

  3. C.

    Federate identities using IAM Identity Center or an identity provider

  4. D.

    Create IAM users for every employee with separate passwords

Show answer and explanation

Answer: C

Identity federation lets users sign in with corporate credentials and receive temporary access.

  • Separate IAM users create duplicate identities to manage.
  • Sharing root is insecure.
  • Signed URLs are for content access.
Question 7

A company wants to enforce the same AWS WAF and security group rules across all accounts in its organization from a central place. Which service provides this?

  1. A.

    AWS Firewall Manager

  2. B.

    AWS CloudTrail Lake only

  3. C.

    Amazon Cognito

  4. D.

    AWS DataSync

Show answer and explanation

Answer: A

AWS Firewall Manager centrally configures and manages firewall rules across accounts and applications in AWS Organizations.

  • Cognito handles app user identity, CloudTrail Lake queries events, and DataSync transfers data.
Question 8

A company must demonstrate to an auditor that it has agreed to the AWS Business Associate Addendum (BAA) for handling health data. Where can it review and accept such agreements?

  1. A.

    AWS Config

  2. B.

    AWS CloudFormation

  3. C.

    Amazon Inspector

  4. D.

    AWS Artifact

Show answer and explanation

Answer: D

AWS Artifact also hosts agreements such as the BAA that customers can review and accept.

  • The others are configuration, infrastructure-as-code and vulnerability scanning services.

How ready are you for CLF-C02?

Take the free readiness check: 15 questions from every exam domain in 20 minutes, with your score per domain.

  • 20 minutes
  • 15 questions
  • Free with an account

More CLF-C02 practice by topic

Back to the CLF-C02 practice test →

Independent practice material written from the official exam guide. Not affiliated with or endorsed by the exam provider.