Courseiva
Security and CompliancemediumMultiple ChoiceObjective-mapped

CLF-C02 Security and Compliance Practice Question

A company has a compliance policy requiring that all data at rest in Amazon S3 be encrypted with a key that is automatically rotated every year. The company wants to manage the encryption keys themselves, maintain control over access policies, and have AWS handle the key rotation automatically. Which AWS service should the company use?

⚠ Common exam trap

Candidates often confuse AWS KMS with AWS CloudHSM, as both involve encryption keys, but CloudHSM requires you to manage key rotation manually, failing the automatic rotation requirement.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Key Management Service (AWS KMS)

AWS KMS allows you to create customer managed keys (CMKs) with automatic annual rotation enabled. You retain control over key policies and access permissions, while AWS handles the rotation of the key material. This satisfies the compliance requirement for encrypted data at rest in S3 with automatic yearly key rotation.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS Key Management Service (AWS KMS)

    Why this is correct

    AWS KMS provides customer managed keys (CMKs) that can be used with S3 server-side encryption (SSE-KMS). KMS supports automatic annual rotation of these keys, which directly meets the 'data at rest encrypted with regularly rotated keys' requirement while allowing you to maintain full control over key policies and access permissions. Unlike simpler encryption options, KMS also provides audit trails through CloudTrail integrated actions, giving compliance teams evidence of key usage and rotation. This is why KMS is the correct answer for a compliance policy mandating encryption key rotation.

  • AWS CloudHSM

    Why it's wrong here

    AWS CloudHSM provides dedicated, single-tenant hardware security modules (HSMs) that let you perform cryptographic operations using keys you fully control within a FIPS 140-2 Level 3 validated environment. While CloudHSM can store encryption keys, it does not offer an automatic key rotation feature; you must implement custom rotation logic and manage the rotated keys manually or through your own scripts. This makes it operationally complex to meet a simple 'auto-rotate annually' compliance policy, and it is not commonly used for automatic S3 encryption key rotation. The lack of native rotation is the primary reason CloudHSM is not the best choice here.

    When this WOULD be correct

    A company needs to store encryption keys in a dedicated hardware security module (HSM) under their sole control, with no AWS access to the keys, and is willing to manage key rotation manually or via custom scripts.

  • AWS Secrets Manager

    Why it's wrong here

    AWS Secrets Manager is designed to rotate secrets such as database credentials, API keys, and other authentication tokens throughout their lifecycle. Although it does use KMS to encrypt secrets at rest, it does not directly manage customer master keys for S3 object encryption, nor does it integrate with S3's server-side encryption options. Its rotation capability is scoped to the secret value itself, not to the cryptographic keys protecting data at rest. Thus, Secrets Manager is not an appropriate service for enforcing S3 encryption key rotation under a compliance policy.

    When this WOULD be correct

    A company needs to automatically rotate database credentials stored in a secure service, with built-in integration for RDS, Redshift, and DocumentDB. AWS Secrets Manager would be the correct choice for managing and rotating those secrets.

  • AWS Certificate Manager

    Why it's wrong here

    AWS Certificate Manager provisions and manages public/private SSL/TLS certificates used to encrypt network traffic in transit, not to encrypt objects at rest in Amazon S3. The service handles certificate issuance, renewal, and deployment to load balancers, CloudFront, or API Gateway, but it never generates or manages data encryption keys for S3 objects. It also does not provide any rotation mechanism for S3 encryption keys. Therefore, ACM cannot satisfy a compliance policy that requires data at rest encryption key rotation in S3.

    When this WOULD be correct

    A company needs to automatically renew and deploy SSL/TLS certificates for its web applications hosted on AWS, and wants AWS to handle certificate renewal without manual intervention.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.

AWS Key Management Service (AWS KMS)Correct answer

Why this is correct

AWS KMS provides customer managed keys (CMKs) that can be used with S3 server-side encryption (SSE-KMS). KMS supports automatic annual rotation of these keys, which directly meets the 'data at rest encrypted with regularly rotated keys' requirement while allowing you to maintain full control over key policies and access permissions. Unlike simpler encryption options, KMS also provides audit trails through CloudTrail integrated actions, giving compliance teams evidence of key usage and rotation. This is why KMS is the correct answer for a compliance policy mandating encryption key rotation.

AWS CloudHSMWrong answer — click to see why

Why this is wrong here

AWS CloudHSM provides hardware-based key storage but does not offer automatic key rotation; the customer must manage rotation themselves, which violates the requirement for automatic yearly rotation.

★ When this WOULD be the correct answer

A company needs to store encryption keys in a dedicated hardware security module (HSM) under their sole control, with no AWS access to the keys, and is willing to manage key rotation manually or via custom scripts.

Why candidates choose this

Candidates may confuse CloudHSM's strong security and customer-managed keys with the automatic rotation feature, not realizing that CloudHSM lacks built-in automatic key rotation.

AWS Secrets ManagerWrong answer — click to see why

Why this is wrong here

AWS Secrets Manager is designed for managing secrets like database credentials and API keys, not for managing encryption keys for S3 data at rest. It does not provide the key rotation and access control policies needed for S3 encryption.

★ When this WOULD be the correct answer

A company needs to automatically rotate database credentials stored in a secure service, with built-in integration for RDS, Redshift, and DocumentDB. AWS Secrets Manager would be the correct choice for managing and rotating those secrets.

Why candidates choose this

Candidates may confuse Secrets Manager with KMS because both involve 'secrets' and 'rotation', but Secrets Manager handles application secrets, not encryption keys for data at rest.

AWS Certificate ManagerWrong answer — click to see why

Why this is wrong here

AWS Certificate Manager is used to manage SSL/TLS certificates for securing network traffic, not for encrypting data at rest in S3. It does not provide key rotation for S3 encryption keys.

★ When this WOULD be the correct answer

A company needs to automatically renew and deploy SSL/TLS certificates for its web applications hosted on AWS, and wants AWS to handle certificate renewal without manual intervention.

Why candidates choose this

Candidates may confuse 'key rotation' with 'certificate renewal' and think ACM's automatic renewal applies to encryption keys, not understanding that ACM manages certificates, not encryption keys for S3.

Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

This CLF-C02 question is part of Courseiva's 988-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.