aws CLF-C02: AWS Certified Cloud Practitioner · Practice questions

Domain 2: Security and Compliance Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A company wants to evaluate whether its AWS environment meets regulatory frameworks and continuously collect evidence for audits. Which service should it use?

  1. AWS Artifact
  2. Amazon Detective
  3. AWS Audit Manager — Correct
  4. AWS Trusted Advisor

Correct answer

AWS Audit Manager

Explanation

Audit Manager continuously collects evidence from your environment for audits. Artifact provides AWS's own compliance reports. Trusted Advisor gives best-practice checks. Detective investigates incidents.

Question 2

A company wants to grant employees only the permissions they need to do their jobs. Which security principle is this?

  1. Defense in depth
  2. Least privilege — Correct
  3. Separation of Regions
  4. Elasticity

Correct answer

Least privilege

Explanation

Least privilege means granting only the permissions required. Defense in depth means using multiple layers of controls. The others are not security principles for permissions.

Question 3

A company wants to protect its web application from common exploits such as SQL injection and cross-site scripting. Which AWS service should the company use?

  1. AWS Artifact
  2. Amazon GuardDuty
  3. AWS Shield Standard
  4. AWS WAF — Correct

Correct answer

AWS WAF

Explanation

AWS WAF filters malicious HTTP requests such as SQL injection. Shield Standard protects against network-layer DDoS attacks. GuardDuty detects threats. Artifact provides compliance documents.

Question 4

A company stores encryption keys in AWS KMS and wants to see who used each key and when. Which service provides this record?

  1. Amazon Inspector
  2. AWS Trusted Advisor
  3. AWS CloudTrail — Correct
  4. Amazon Macie

Correct answer

AWS CloudTrail

Explanation

CloudTrail records KMS API calls, including key usage. Inspector, Trusted Advisor, and Macie do not log key usage.

Question 5

A company must meet the PCI DSS standard for its payment application on AWS. Which statement is correct?

  1. PCI DSS workloads are not allowed to run on AWS, so the application must stay on premises.
  2. AWS provides compliant infrastructure; the customer must make its workload compliant. — Correct
  3. Running on AWS automatically makes every customer application PCI DSS compliant without further work.
  4. Only the AWS Partner Network can make an application PCI compliant on behalf of the customer.

Correct answer

AWS provides compliant infrastructure; the customer must make its workload compliant.

Explanation

AWS maintains compliance of its infrastructure, while customers are responsible for their workloads. Compliance is shared, not automatic, and PCI workloads can run on AWS.

Question 6

A company wants to define a strong password policy for IAM users, including minimum length and expiration. Where should this be configured?

  1. The AWS Budgets dashboard
  2. Amazon Inspector settings
  3. The IAM account password policy — Correct
  4. AWS Shield Advanced settings

Correct answer

The IAM account password policy

Explanation

IAM provides an account-level password policy. Budgets, Shield, and Inspector do not manage passwords.

Question 7

A company wants to set up a well-architected, multi-account AWS environment with built-in governance controls quickly. Which service should it use?

  1. Amazon CloudWatch
  2. AWS Control Tower — Correct
  3. AWS Trusted Advisor
  4. AWS Systems Manager

Correct answer

AWS Control Tower

Explanation

Control Tower sets up and governs a multi-account landing zone. Systems Manager handles operations, CloudWatch monitors, and Trusted Advisor makes recommendations.

Question 8

A company needs free public TLS certificates for its load balancers and CloudFront distributions, with automatic renewal. Which service should it use?

  1. AWS Secrets Manager
  2. AWS Certificate Manager (ACM) — Correct
  3. AWS Private CA only
  4. AWS Key Management Service

Correct answer

AWS Certificate Manager (ACM)

Explanation

ACM provides free public certificates for integrated services and renews them automatically. KMS manages encryption keys. Secrets Manager stores secrets. AWS Private CA issues private certificates and has charges.

Question 9

Which AWS service automatically scans EC2 instances, container images, and Lambda functions for software vulnerabilities?

  1. Amazon Macie
  2. Amazon GuardDuty
  3. Amazon Inspector — Correct
  4. AWS Config

Correct answer

Amazon Inspector

Explanation

Inspector scans for software vulnerabilities and unintended network exposure. GuardDuty detects threats from logs. Config tracks configurations. Macie finds sensitive data.

Question 10

Which AWS service lets a company manage access for its workforce across multiple AWS accounts and business applications from one place with single sign-on?

  1. AWS Secrets Manager
  2. Amazon Cognito
  3. AWS Directory Service
  4. AWS IAM Identity Center — Correct

Correct answer

AWS IAM Identity Center

Explanation

IAM Identity Center provides workforce single sign-on to AWS accounts and applications. Cognito is for customer-facing application users. Directory Service provides managed Active Directory. Secrets Manager stores secrets.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz