Courseiva
Continuous Improvement for Existing SolutionsmediumMultiple SelectObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company is using Amazon S3 to store sensitive data. The security team wants to ensure that all objects are encrypted at rest. The company currently uses server-side encryption with S3 managed keys (SSE-S3). The team wants to enforce encryption using a customer-managed key (CMK) from AWS KMS. Which TWO actions should the team take?

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

Configure a bucket policy that denies PutObject if the x-amz-server-side-encryption header is not set to 'aws:kms'.

(bucket policy denying PutObject without x-amz-server-side-encryption header set to 'aws:kms') enforces that all uploads must specify SSE-KMS at the request level. Option C (default encryption with SSE-KMS) ensures that objects uploaded without encryption headers are automatically encrypted with a KMS key. Together, they enforce encryption with customer-managed KMS keys. Option B (CloudTrail auditing) logs requests but does not enforce encryption. Option D (bucket policy allowing PutObject only if encrypted) allows any encryption type, not specifically KMS, so it does not enforce customer-managed keys. Option E (disabling SSE-S3) is not possible; you cannot disable SSE-S3, only set default encryption, and it would not enforce KMS alone.

Answer analysis

Option-by-option breakdown

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

  • Configure a bucket policy that denies PutObject if the x-amz-server-side-encryption header is not set to 'aws:kms'.

    Why this is correct

    Correct. Denies PutObject if x-amz-server-side-encryption header is not set to 'aws:kms', enforcing SSE-KMS.

  • Enable AWS CloudTrail to audit all PutObject requests.

    Why it's wrong here

    Incorrect. CloudTrail auditing logs requests but does not enforce encryption.

  • Enable default encryption on the bucket with AWS KMS (SSE-KMS) as the encryption type.

    Why this is correct

    Correct. Default encryption with SSE-KMS ensures objects uploaded without encryption headers are encrypted with KMS.

  • Configure a bucket policy that allows PutObject only if the object is encrypted.

    Why it's wrong here

    Incorrect. This policy allows PutObject only if encrypted, but allows any encryption type, not specifically KMS.

  • Disable SSE-S3 on the bucket so that only SSE-KMS can be used.

    Why it's wrong here

    Incorrect. Disabling SSE-S3 is not possible; you cannot disable it, and it would not enforce KMS alone.

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

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 SAP-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 SAP-C02 exam.