Question 348 of 1,024
Security and CompliancemediumMultiple ChoiceObjective-mapped

CLF-C02 Security and Compliance Practice Question

This CLF-C02 practice question tests your understanding of security and compliance. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses multiple AWS accounts. The security team wants to enforce two requirements for all Amazon S3 buckets: first, server-side encryption must be enabled using AWS KMS; second, no bucket can be publicly accessible. The team needs a service that continuously monitors the configuration of S3 buckets across all accounts, detects when a bucket violates either requirement, and automatically applies corrective actions (such as enabling default encryption or removing public access). Which AWS service should the security team use to meet these requirements?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "first"

    Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

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

AWS Config is the correct service because it provides continuous monitoring, evaluation, and automated remediation of resource configurations across multiple accounts. With AWS Config rules (e.g., managed rules like `s3-bucket-server-side-encryption-enabled` and `s3-bucket-public-read-prohibited`), you can detect noncompliant S3 buckets and trigger AWS Systems Manager Automation documents or Lambda functions to automatically enable default encryption or remove public access. AWS Config also supports multi-account aggregation via an aggregator, allowing the security team to enforce these requirements across all accounts from a single management account.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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

    Why this is correct

    AWS Config is the correct choice because it continuously evaluates resource configurations against desired policies (e.g., S3 bucket encryption and public access) and can automatically remediate non-compliant resources using pre-defined actions, meeting all requirements.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • AWS Trusted Advisor

    Why it's wrong here

    AWS Trusted Advisor inspects AWS environments and provides best practice recommendations (including S3 bucket permissions and encryption) but does not support automatic remediation of non-compliant resources.

    When this WOULD be correct

    A question asking for a service that provides a one-time or periodic review of AWS best practices, such as checking for idle RDS instances or underutilized EC2 instances, and offers recommendations without requiring automated remediation.

  • AWS IAM Access Analyzer

    Why it's wrong here

    AWS IAM Access Analyzer helps identify resources shared with external entities (e.g., S3 buckets with public or cross-account access) but does not monitor or enforce encryption settings, nor does it automatically apply corrective actions.

    When this WOULD be correct

    A security team needs to identify S3 buckets that are shared with external AWS accounts or allow public access, and they want a service that generates findings for review without automatically remediating. IAM Access Analyzer would be the correct choice for this specific use case.

  • AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail records API activity for governance and audit but does not monitor resource configurations or automatically enforce compliance rules; it cannot detect or remediate non-compliant S3 bucket settings.

    When this WOULD be correct

    A security team needs to audit all API calls made to S3 buckets across multiple accounts to investigate a data breach. They require a service that logs who made changes, when, and from which IP address, with the logs stored in a central S3 bucket for analysis.

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 ConfigCorrect answer

Why this is correct

AWS Config is the correct choice because it continuously evaluates resource configurations against desired policies (e.g., S3 bucket encryption and public access) and can automatically remediate non-compliant resources using pre-defined actions, meeting all requirements.

AWS Trusted AdvisorWrong answer — click to see why

Why this is wrong here

AWS Trusted Advisor provides best-practice checks and recommendations but does not automatically apply corrective actions or continuously monitor for compliance with custom rules like enabling KMS encryption.

★ When this WOULD be the correct answer

A question asking for a service that provides a one-time or periodic review of AWS best practices, such as checking for idle RDS instances or underutilized EC2 instances, and offers recommendations without requiring automated remediation.

Why candidates choose this

Candidates may confuse Trusted Advisor's security checks (e.g., S3 bucket permissions) with the ability to enforce and remediate policies, overlooking that it only advises and does not take automated actions.

AWS IAM Access AnalyzerWrong answer — click to see why

Why this is wrong here

AWS IAM Access Analyzer analyzes resource-based policies to identify resources shared with external entities, but it does not continuously monitor S3 bucket configurations for encryption or automatically apply corrective actions.

★ When this WOULD be the correct answer

A security team needs to identify S3 buckets that are shared with external AWS accounts or allow public access, and they want a service that generates findings for review without automatically remediating. IAM Access Analyzer would be the correct choice for this specific use case.

Why candidates choose this

Candidates may confuse IAM Access Analyzer's ability to detect public access with the broader compliance monitoring and auto-remediation capabilities of AWS Config, or they may think 'Access Analyzer' implies continuous monitoring of all access-related settings.

AWS CloudTrailWrong answer — click to see why

Why this is wrong here

AWS CloudTrail records API activity for auditing but does not continuously monitor resource configurations or automatically apply corrective actions. It cannot detect S3 bucket encryption or public access violations and lacks remediation capabilities.

★ When this WOULD be the correct answer

A security team needs to audit all API calls made to S3 buckets across multiple accounts to investigate a data breach. They require a service that logs who made changes, when, and from which IP address, with the logs stored in a central S3 bucket for analysis.

Why candidates choose this

Candidates may confuse CloudTrail's logging and monitoring capabilities with configuration compliance, thinking that recording API calls can help detect misconfigurations, but CloudTrail does not evaluate configurations or enforce rules.

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?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse AWS Config's continuous compliance monitoring and automated remediation with AWS Trusted Advisor's advisory checks or AWS IAM Access Analyzer's policy analysis, failing to recognize that only AWS Config provides both detection and automatic corrective actions.

Detailed technical explanation

How to think about this question

AWS Config evaluates resource configurations against desired state defined in Config rules, using a configuration recorder that captures configuration changes and triggers evaluations. For automated remediation, you attach an AWS Systems Manager Automation document (e.g., `AWS-EnableS3BucketEncryption` or `AWS-DisableS3PublicAccess`) to the Config rule, which runs when a resource is marked noncompliant. In a multi-account setup, you must enable AWS Config in each account and use an aggregator in a central account to view compliance across all accounts, ensuring the security team has a single pane of glass.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Security and Compliance — This question tests Security and Compliance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: AWS Config — AWS Config is the correct service because it provides continuous monitoring, evaluation, and automated remediation of resource configurations across multiple accounts. With AWS Config rules (e.g., managed rules like `s3-bucket-server-side-encryption-enabled` and `s3-bucket-public-read-prohibited`), you can detect noncompliant S3 buckets and trigger AWS Systems Manager Automation documents or Lambda functions to automatically enable default encryption or remove public access. AWS Config also supports multi-account aggregation via an aggregator, allowing the security team to enforce these requirements across all accounts from a single management account.

What should I do if I get this CLF-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More CLF-C02 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.