CLF-C02 Security and Compliance Practice Question
A company has a compliance requirement that all Amazon S3 buckets must have server-side encryption (SSE) enabled and must block all public access. The company has hundreds of existing S3 buckets and creates new ones regularly. The security team needs a centralized AWS service that can continuously evaluate all buckets against these two rules, automatically detect noncompliant buckets, and then automatically remediate them by enabling SSE and blocking public access. Additionally, the team wants to receive notifications when compliance changes occur. Which AWS service should the security team use?
⚠ Common exam trap
Candidates often confuse AWS Security Hub's aggregation and visibility capabilities with the ability to perform automatic remediation, but Security Hub does not natively remediate resources; it relies on AWS Config rules or other services for that functionality.
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 automatic remediation
AWS Config with managed rules such as 's3-bucket-server-side-encryption-enabled' and 's3-bucket-public-read-prohibited' can continuously evaluate all S3 buckets against these compliance requirements. When a noncompliant bucket is detected, AWS Config can automatically remediate it using SSM Automation documents (e.g., enabling SSE-S3 or SSE-KMS and applying bucket policies to block public access). Additionally, AWS Config can send notifications via Amazon SNS when compliance changes occur, meeting all stated requirements.
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 Config with managed rules and automatic remediation
Why this is correct
AWS Config provides managed rules to evaluate resource configurations against best practices. It can automatically remediate noncompliant resources by invoking Systems Manager Automation documents. It also sends notifications via Amazon SNS for compliance changes, fully meeting the requirement.
- ✗
AWS Security Hub
Why it's wrong here
AWS Security Hub aggregates security findings from multiple services (including AWS Config) and provides a consolidated view, but it does not directly evaluate resource configurations or automatically remediate noncompliant resources. It lacks the automated remediation and continuous evaluation capability required.
- ✗
AWS IAM Access Analyzer
Why it's wrong here
AWS IAM Access Analyzer helps identify resources in your account that are shared with an external entity, but it does not evaluate server-side encryption settings or public access configurations on S3 buckets, nor does it offer automatic remediation.
When this WOULD be correct
A company needs to identify S3 buckets that are shared with external AWS accounts or made public due to bucket policies, and wants to generate findings for review without automatic remediation. IAM Access Analyzer would be the correct service to analyze resource policies and detect unintended access.
- ✗
Amazon Macie
Why it's wrong here
Amazon Macie is a fully managed data security service that uses machine learning to discover, classify, and protect sensitive data stored in Amazon S3. It does not enforce encryption or public access policies, nor does it provide automatic remediation of bucket configurations.
When this WOULD be correct
A company needs to automatically discover and classify sensitive data (e.g., PII, financial records) stored in S3 buckets, and receive alerts when such data is found in unencrypted or publicly accessible buckets. Macie would be the correct service for this data classification and monitoring scenario.
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 Config with managed rules and automatic remediationCorrect answer▾
Why this is correct
AWS Config provides managed rules to evaluate resource configurations against best practices. It can automatically remediate noncompliant resources by invoking Systems Manager Automation documents. It also sends notifications via Amazon SNS for compliance changes, fully meeting the requirement.
✗AWS IAM Access AnalyzerWrong answer — click to see why▾
Why this is wrong here
AWS IAM Access Analyzer analyzes resource policies to identify unintended public or cross-account access, but it does not enforce encryption or automatically remediate noncompliant buckets, nor does it provide continuous compliance evaluation and notification for SSE and public access blocking.
★ When this WOULD be the correct answer
A company needs to identify S3 buckets that are shared with external AWS accounts or made public due to bucket policies, and wants to generate findings for review without automatic remediation. IAM Access Analyzer would be the correct service to analyze resource policies and detect unintended access.
Why candidates choose this
Candidates may confuse IAM Access Analyzer's ability to detect public access with the broader compliance and remediation capabilities required, or assume it can also handle encryption checks.
✗Amazon MacieWrong answer — click to see why▾
Why this is wrong here
Amazon Macie is designed for data security and privacy, using machine learning to discover, classify, and protect sensitive data in S3. It does not provide continuous compliance evaluation against rules like SSE or public access blocking, nor does it offer automatic remediation or notifications for those specific controls.
★ When this WOULD be the correct answer
A company needs to automatically discover and classify sensitive data (e.g., PII, financial records) stored in S3 buckets, and receive alerts when such data is found in unencrypted or publicly accessible buckets. Macie would be the correct service for this data classification and monitoring scenario.
Why candidates choose this
Candidates may associate Macie with S3 security and mistakenly believe it can enforce encryption and access policies, overlooking that its primary function is data discovery and classification, not compliance rule evaluation or remediation.
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 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 988 original CLF-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 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.