Question 319 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. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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 has internal security policies that require all Amazon S3 buckets to be private (not publicly accessible) and all Amazon EC2 security groups to restrict inbound SSH traffic to a specific IP range. The security team needs to continuously monitor all AWS resources across their account to detect any resource that violates these policies. They also need a historical record of configuration changes and a compliance dashboard that shows overall pass/fail status. Which AWS service should the security team use to meet these requirements?

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, compliance auditing, and historical recording of configuration changes for AWS resources. It allows you to define rules (e.g., 's3-bucket-public-read-prohibited' and 'restricted-ssh') that automatically evaluate your S3 bucket policies and EC2 security group rules against your security policies, and it offers a compliance dashboard showing pass/fail status for each resource. AWS Config also maintains a configuration history that can be used for auditing and troubleshooting.

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 designed specifically for resource inventory, configuration history, and compliance evaluation against rules. It tracks changes and shows compliance status, perfectly matching the requirements.

    Related concept

    Read the scenario before looking for a memorised answer.

  • AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail records API activity (who made what call, when, from where) but does not evaluate the actual configuration of resources against policies. It is not designed for compliance rule evaluation or a compliance dashboard.

    When this WOULD be correct

    A company needs to audit all API calls made in their AWS account to detect unauthorized access or changes, and they require a record of who made what change and when. AWS CloudTrail would be the correct service to meet these requirements.

  • Amazon GuardDuty

    Why it's wrong here

    Amazon GuardDuty is a threat detection service that uses machine learning to identify malicious or unauthorized behavior, such as unusual API calls or compromised instances. It does not evaluate resource configurations for compliance with internal policies.

    When this WOULD be correct

    A company needs to continuously monitor AWS accounts for malicious or unauthorized behavior, such as unusual API calls, compromised instances, or crypto mining activity. They require automated threat detection and findings that can be integrated with incident response workflows.

  • Amazon Inspector

    Why it's wrong here

    Amazon Inspector is a vulnerability management service that scans workloads for software vulnerabilities and unintended network exposure. It does not evaluate resource configurations against custom compliance rules or provide a compliance dashboard for resources like S3 bucket policies or security group rules.

    When this WOULD be correct

    A company needs to automatically assess EC2 instances for known software vulnerabilities and unintended network access, and requires a report of findings with severity levels. Amazon Inspector would be the correct service to perform these vulnerability scans.

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 designed specifically for resource inventory, configuration history, and compliance evaluation against rules. It tracks changes and shows compliance status, perfectly matching the requirements.

AWS CloudTrailWrong answer — click to see why

Why this is wrong here

AWS CloudTrail records API activity and provides audit logs, but it does not continuously evaluate resource configurations against policies, nor does it provide a compliance dashboard or historical configuration tracking for S3 bucket policies or EC2 security group rules.

★ When this WOULD be the correct answer

A company needs to audit all API calls made in their AWS account to detect unauthorized access or changes, and they require a record of who made what change and when. AWS CloudTrail would be the correct service to meet these requirements.

Why candidates choose this

Candidates may confuse CloudTrail's logging of API calls with the configuration compliance and monitoring capabilities of AWS Config, assuming that tracking changes via API logs is sufficient for policy enforcement.

Amazon GuardDutyWrong answer — click to see why

Why this is wrong here

Amazon GuardDuty is a threat detection service that monitors for malicious activity, not for compliance with internal policies like S3 bucket public access or EC2 security group rules. It does not provide a compliance dashboard or historical configuration change tracking.

★ When this WOULD be the correct answer

A company needs to continuously monitor AWS accounts for malicious or unauthorized behavior, such as unusual API calls, compromised instances, or crypto mining activity. They require automated threat detection and findings that can be integrated with incident response workflows.

Why candidates choose this

Candidates may confuse GuardDuty's monitoring capabilities with compliance monitoring, or assume that any security-related service can enforce policies and track configuration changes.

Amazon InspectorWrong answer — click to see why

Why this is wrong here

Amazon Inspector is a vulnerability management service that scans for software vulnerabilities and unintended network exposure, but it does not provide continuous compliance monitoring, a historical record of configuration changes, or a compliance dashboard for pass/fail status against custom policies.

★ When this WOULD be the correct answer

A company needs to automatically assess EC2 instances for known software vulnerabilities and unintended network access, and requires a report of findings with severity levels. Amazon Inspector would be the correct service to perform these vulnerability scans.

Why candidates choose this

Candidates may confuse Inspector's security assessment capabilities with compliance monitoring, or assume it can enforce policies like restricting SSH access, when it actually focuses on vulnerability scanning rather than configuration compliance tracking.

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 CloudTrail (which logs API calls) with AWS Config (which tracks resource configuration state and compliance), leading them to choose CloudTrail because they think 'historical record of changes' refers to API logs rather than configuration item snapshots.

Detailed technical explanation

How to think about this question

AWS Config uses a managed rule engine that evaluates resources based on AWS Lambda functions or predefined rules, and it records configuration items (CIs) in a configuration history file stored in an S3 bucket. The compliance dashboard aggregates results from all rules, showing compliant and non-compliant resources, and can trigger remediation actions via AWS Systems Manager Automation. A subtle behavior is that AWS Config does not prevent non-compliant changes—it only detects and reports them after the change occurs, so it is often paired with AWS Organizations SCPs or IAM policies for proactive enforcement.

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, compliance auditing, and historical recording of configuration changes for AWS resources. It allows you to define rules (e.g., 's3-bucket-public-read-prohibited' and 'restricted-ssh') that automatically evaluate your S3 bucket policies and EC2 security group rules against your security policies, and it offers a compliance dashboard showing pass/fail status for each resource. AWS Config also maintains a configuration history that can be used for auditing and troubleshooting.

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.