Question 371 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 stores sensitive customer data in multiple Amazon S3 buckets. The security team wants to proactively identify any buckets that have been configured to allow unintended access from external AWS accounts or from the public internet. The team needs a service that continuously analyzes the resource-based policies attached to these buckets and generates findings when such unintended access is detected. Which AWS service should the security team use to meet this requirement?

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 IAM Access Analyzer

AWS IAM Access Analyzer is the correct service because it continuously analyzes resource-based policies (such as S3 bucket policies) to identify resources that are shared with external AWS accounts or publicly accessible. It generates findings for any policy that grants access to a principal outside of its AWS account, including the 'Principal': '*' condition that allows public internet access. This directly meets the requirement for proactive, continuous monitoring of unintended access.

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 IAM Access Analyzer

    Why this is correct

    Correct. AWS IAM Access Analyzer continuously analyzes resource-based policies and reports on resources that are accessible from external entities, including other AWS accounts or public access. It is specifically designed for this use case.

    Related concept

    Read the scenario before looking for a memorised answer.

  • AWS Config

    Why it's wrong here

    Incorrect. AWS Config evaluates your AWS resource configurations against desired rules and tracks configuration changes over time. While it can be used to detect non-compliant S3 bucket policies, it does not proactively analyze policies for unintended cross-account or public access in the same way as IAM Access Analyzer. Access Analyzer is more targeted for this specific requirement.

  • AWS Trusted Advisor

    Why it's wrong here

    Incorrect. AWS Trusted Advisor provides a check for S3 buckets with open access permissions, but it is a point-in-time check that updates periodically, not a continuous, findings-based service. It also does not analyze access from specific external AWS accounts. IAM Access Analyzer offers more granular and continuous detection.

    When this WOULD be correct

    A company wants a one-time review of their AWS account to identify cost optimization opportunities, performance improvements, security gaps (like public S3 buckets), and service limits. AWS Trusted Advisor would be the correct service for this advisory assessment.

  • Amazon Macie

    Why it's wrong here

    Incorrect. Amazon Macie uses machine learning and pattern matching to discover and protect sensitive data within S3 buckets, such as personally identifiable information (PII). It does not analyze resource policies for unintended access permissions. The requirement is about policy analysis, not content inspection.

    When this WOULD be correct

    A company needs to automatically discover and classify sensitive data (e.g., PII, financial data) stored in S3 buckets and monitor for data leaks or policy violations. Macie would be the correct service to use.

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 IAM Access AnalyzerCorrect answer

Why this is correct

Correct. AWS IAM Access Analyzer continuously analyzes resource-based policies and reports on resources that are accessible from external entities, including other AWS accounts or public access. It is specifically designed for this use case.

AWS Trusted AdvisorWrong answer — click to see why

Why this is wrong here

AWS Trusted Advisor checks S3 bucket permissions for public access but does not continuously analyze resource-based policies for unintended access from external AWS accounts; it only provides a point-in-time check for public access.

★ When this WOULD be the correct answer

A company wants a one-time review of their AWS account to identify cost optimization opportunities, performance improvements, security gaps (like public S3 buckets), and service limits. AWS Trusted Advisor would be the correct service for this advisory assessment.

Why candidates choose this

Candidates may confuse Trusted Advisor's security checks for S3 bucket public access with the continuous, policy-based analysis needed for unintended access from external accounts, assuming it covers all access scenarios.

Amazon MacieWrong answer — click to see why

Why this is wrong here

Amazon Macie is designed to discover and protect sensitive data using machine learning and pattern matching, not to analyze resource-based policies for unintended access from external accounts or the public internet.

★ When this WOULD be the correct answer

A company needs to automatically discover and classify sensitive data (e.g., PII, financial data) stored in S3 buckets and monitor for data leaks or policy violations. Macie would be the correct service to use.

Why candidates choose this

Candidates may associate Macie with S3 security and data protection, mistakenly thinking it also handles policy analysis for unintended access.

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's ability to monitor resource configurations with IAM Access Analyzer's specific purpose of analyzing resource-based policies for cross-account and public access, leading them to choose Config when the requirement explicitly mentions 'resource-based policies' and 'unintended access from external AWS accounts or the public internet.'

Detailed technical explanation

How to think about this question

IAM Access Analyzer uses a policy analysis engine that evaluates the effective permissions of resource-based policies by simulating requests from external principals. It supports custom policy checks and can analyze S3 bucket policies, SQS queue policies, KMS key policies, and more. A subtle behavior is that it only generates findings for policies that explicitly grant access to external principals—it does not flag policies that rely on identity-based policies (e.g., IAM roles) because those are not resource-based.

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 IAM Access Analyzer — AWS IAM Access Analyzer is the correct service because it continuously analyzes resource-based policies (such as S3 bucket policies) to identify resources that are shared with external AWS accounts or publicly accessible. It generates findings for any policy that grants access to a principal outside of its AWS account, including the 'Principal': '*' condition that allows public internet access. This directly meets the requirement for proactive, continuous monitoring of unintended access.

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.