Question 806 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 runs multiple workloads on AWS and must ensure that all Amazon S3 buckets have server-side encryption enabled. The compliance team wants to automatically detect any S3 bucket that is created without encryption and receive an alert. They also want to continuously monitor existing buckets for compliance. Which AWS service should they use?

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 and evaluation of AWS resource configurations against desired policies. You can create an AWS Config rule, such as the managed rule 's3-bucket-server-side-encryption-enabled', which automatically checks whether each S3 bucket has server-side encryption enabled. When a non-compliant bucket is detected (either newly created or existing), AWS Config can trigger an Amazon SNS notification to alert the compliance team, meeting both the detection and alerting requirements.

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

    Correct. AWS Config evaluates resource configurations against rules defined by the user (such as 's3-bucket-server-side-encryption-enabled') and can automatically detect non-compliant resources, including S3 buckets without encryption, and send alerts.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Amazon GuardDuty

    Why it's wrong here

    Incorrect. Amazon GuardDuty is a threat detection service that uses machine learning to identify malicious activity or unauthorized behavior in your AWS environment, such as unusual API calls or compromised credentials. It does not evaluate resource configurations for compliance with encryption policies.

    When this WOULD be correct

    If the question asked for a service to detect suspicious API calls or potential security threats (e.g., unusual S3 bucket access patterns) and generate alerts, GuardDuty would be the correct answer.

  • AWS CloudTrail

    Why it's wrong here

    Incorrect. AWS CloudTrail records API activity in your AWS account, providing an audit trail of who did what and when. While it can be used to investigate past events, it does not continuously monitor resource configurations or enforce compliance rules.

    When this WOULD be correct

    A question asking which service records API activity for security auditing, such as tracking who created an S3 bucket or when encryption settings were changed. For example: 'Which service provides a history of AWS API calls for compliance auditing?'

  • Amazon Inspector

    Why it's wrong here

    Incorrect. Amazon Inspector is a vulnerability management service that scans Amazon EC2 instances and container workloads for software vulnerabilities and unintended network exposure. It does not evaluate S3 bucket configurations for encryption compliance.

    When this WOULD be correct

    Amazon Inspector would be correct if the question asked about automatically assessing EC2 instances or container images for known software vulnerabilities or unintended network access, and sending alerts for findings.

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

Correct. AWS Config evaluates resource configurations against rules defined by the user (such as 's3-bucket-server-side-encryption-enabled') and can automatically detect non-compliant resources, including S3 buckets without encryption, and send alerts.

Amazon GuardDutyWrong answer — click to see why

Why this is wrong here

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior, not for compliance checks like S3 bucket encryption settings.

★ When this WOULD be the correct answer

If the question asked for a service to detect suspicious API calls or potential security threats (e.g., unusual S3 bucket access patterns) and generate alerts, GuardDuty would be the correct answer.

Why candidates choose this

Candidates may confuse GuardDuty's monitoring and alerting capabilities with compliance monitoring, assuming it can detect misconfigurations like missing encryption.

AWS CloudTrailWrong answer — click to see why

Why this is wrong here

AWS CloudTrail records API calls for auditing, but it does not continuously monitor resource configurations or evaluate compliance rules. It cannot detect or alert on S3 buckets lacking encryption unless you manually analyze logs.

★ When this WOULD be the correct answer

A question asking which service records API activity for security auditing, such as tracking who created an S3 bucket or when encryption settings were changed. For example: 'Which service provides a history of AWS API calls for compliance auditing?'

Why candidates choose this

Candidates may confuse CloudTrail's logging of bucket creation events with the ability to monitor and alert on configuration compliance, not realizing that CloudTrail lacks automated rule evaluation and remediation.

Amazon InspectorWrong answer — click to see why

Why this is wrong here

Amazon Inspector is a vulnerability management service that scans workloads for software vulnerabilities and unintended network exposure, not for detecting S3 bucket encryption configurations.

★ When this WOULD be the correct answer

Amazon Inspector would be correct if the question asked about automatically assessing EC2 instances or container images for known software vulnerabilities or unintended network access, and sending alerts for findings.

Why candidates choose this

Candidates may confuse Inspector's 'security assessment' scope with compliance checks, or assume it covers all AWS resources including S3, when it is actually focused on compute and network vulnerabilities.

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 often confuse AWS Config (configuration auditing) with AWS CloudTrail (API auditing), thinking that CloudTrail can detect non-compliant configurations, but CloudTrail only logs actions and does not evaluate the resulting state of resources against compliance rules.

Detailed technical explanation

How to think about this question

AWS Config uses a rules engine that evaluates resource configurations against desired policies on a periodic basis (e.g., every hour) or in response to configuration changes via AWS CloudTrail events. The managed rule 's3-bucket-server-side-encryption-enabled' checks the 'BucketEncryption' property of each S3 bucket; if the property is missing or set to 'None', the bucket is marked as non-compliant. In a real-world scenario, a DevOps team might accidentally create a bucket without encryption via the AWS CLI or SDK, and AWS Config would automatically detect this within minutes and trigger a remediation action (e.g., via AWS Systems Manager Automation) to enable encryption.

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 and evaluation of AWS resource configurations against desired policies. You can create an AWS Config rule, such as the managed rule 's3-bucket-server-side-encryption-enabled', which automatically checks whether each S3 bucket has server-side encryption enabled. When a non-compliant bucket is detected (either newly created or existing), AWS Config can trigger an Amazon SNS notification to alert the compliance team, meeting both the detection and alerting requirements.

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.

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.