SCS-C02 Data Protection Practice Question
A company has an Amazon S3 bucket with versioning enabled. They want to ensure that all objects in the bucket are encrypted at rest using server-side encryption with AWS KMS (SSE-KMS). They also want to prevent any future uploads that are not encrypted with SSE-KMS. Which combination of actions should they 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
✓
Add a bucket policy that denies s3:PutObject if s3:x-amz-server-side-encryption is not aws:kms. Use S3 Inventory to report encryption status of existing objects.
A bucket policy denying PutObject without SSE-KMS prevents non-compliant uploads, and S3 Inventory reports encryption status. Option B only checks compliance, does not enforce. Option C does not enforce encryption. Option D does not enforce.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Add a bucket policy that denies s3:PutObject if s3:x-amz-server-side-encryption is not aws:kms. Use S3 Inventory to report encryption status of existing objects.
Why this is correct
This solution combines an explicit bucket policy deny with the s3:x-amz-server-side-encryption condition key to reject any PutObject that does not specify aws:kms as the encryption value, making enforcement happen before the write is committed. Because this is a request-level condition, it cannot be bypassed by client-side SDK settings or explicit SSE headers that differ from KMS. S3 Inventory then provides a periodic CSV or Parquet report of existing objects, including their encryption status, enabling the team to locate and remediate any legacy objects that predate the policy.
- ✗
Use AWS Config rule s3-bucket-server-side-encryption-enabled to check compliance.
Why it's wrong here
The AWS Config managed rule s3-bucket-server-side-encryption-enabled only checks whether the bucket has default encryption configured; it does not inspect individual object headers and cannot evaluate the encryption state of each upload. This is a detective control—it will flag a noncompliant bucket in the compliance dashboard after the fact but will not stop an unencrypted PutObject from being accepted. It also cannot distinguish between SSE-S3 and SSE-KMS, so it falls short of the requirement that every object be encrypted with aws:kms.
- ✗
Use S3 Object Lock with governance mode.
Why it's wrong here
Object Lock with governance mode enforces a retention period and prevents objects from being deleted or overwritten, but it has no awareness of encryption headers and does not influence how objects are written. The governance setting simply allows privileged users to bypass retention for legal holds or lifecycle actions, and it can be applied to objects regardless of whether they are encrypted. Since it lacks any mechanism to evaluate or reject an unencrypted upload, this control addresses durability and compliance hold requirements, not the stated encryption requirement.
- ✗
Enable default encryption with SSE-KMS on the bucket. Use S3 Inventory to report encryption status.
Why it's wrong here
Setting a bucket's default encryption to SSE-KMS encrypts only objects that are uploaded without an explicit x-amz-server-side-encryption header; if a client sends that header with a different value such as AES256 or even a different KMS key, the request-level header overrides the bucket default and the object may be written with non-KMS encryption. The default does not block these explicit overrides, so it cannot guarantee that all objects use aws:kms. While S3 Inventory will report which objects are encrypted, it is a read-only audit that provides no enforcement for future writes, leaving the same gap as the original problem.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
One of 1,205 original SCS-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SCS-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 SCS-C02 exam.