SCS-C02 Management and Security Governance Practice Question
A security engineer is designing a solution to enforce that all S3 buckets in an AWS account have server-side encryption enabled. The engineer needs to automatically remediate any non-compliant buckets. Which AWS service should be used to implement this requirement?
⚠ Common exam trap
SCS-C02 often tests the misconception that CloudTrail or IAM policies can enforce encryption compliance — candidates must distinguish detective/remediative services (Config) from logging (CloudTrail) and preventive but limited controls (IAM).
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 Config with managed rules and auto-remediation
AWS Config continuously evaluates resource configurations against rules, and managed rules such as s3-bucket-server-side-encryption-enabled detect non-compliant buckets; Config remediation actions can then invoke SSM Automation documents or Lambda to automatically re-enable encryption. This provides both detection and automatic remediation in a single managed service, which is exactly what the requirement asks for.
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 Lambda with S3 events
Why it's wrong here
AWS Lambda with S3 events is incorrect because S3 event notifications are emitted only for object-level operations such as s3:ObjectCreated:* or s3:ObjectRemoved:* — they are never triggered by bucket-configuration calls like PutBucketEncryption. To detect and fix existing unencrypted buckets, you would need custom logic and a separate trigger (e.g., a Config rule or CloudTrail event), plus a bespoke remediation function. AWS Config, by contrast, gives you a fully managed rule with automatic remediation through Systems Manager Automation, so this option is wrong.
- ✓
AWS Config with managed rules and auto-remediation
Why this is correct
The correct solution is AWS Config with a managed rule such as s3-bucket-server-side-encryption-enabled, which continuously evaluates whether each bucket has default encryption enabled. When a bucket is noncompliant, AWS Config can invoke auto-remediation using an SSM Automation document like AWS-EnableS3BucketEncryption to apply SSE-S3 or SSE-KMS. This provides both detection and automated correction, unlike event-driven or logging-only approaches.
- ✗
AWS IAM policy to deny PutBucketEncryption without encryption
Why it's wrong here
An IAM policy cannot remediate existing unencrypted buckets because IAM condition keys are evaluated against the attributes of the incoming API request, not against the current resource configuration. While you can use s3:x-amz-server-side-encryption on s3:PutObject to require encrypted writes, denying PutBucketEncryption would simply block the API that actually enables default bucket encryption. Existing buckets that are already unencrypted would remain unencrypted until a remediation action executes, so this is not a complete enforcement solution.
- ✗
AWS CloudTrail
Why it's wrong here
AWS CloudTrail is fundamentally a detective control: it records and logs API calls such as PutBucketEncryption and can trigger CloudWatch Events when noncompliant activity occurs. It does not evaluate the compliance state of resources, and it cannot automatically alter a bucket's encryption configuration. Even with a Lambda rule on CloudTrail events, you'd be building the exact custom remediation you'd otherwise get for free with AWS Config auto-remediation.
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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
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.