Question 834 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. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 an Amazon S3 bucket. The security team wants to record every GetObject and PutObject API call made against the bucket, including the identity of the caller, the source IP address, and the time of the request. They need to store these records in a separate centralized S3 bucket and analyze them using Amazon Athena for security audits. Which AWS feature should the security team enable?

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 CloudTrail data events

AWS CloudTrail data events (Option C) are the correct choice because they capture detailed information about S3 object-level API operations such as GetObject and PutObject, including the caller identity, source IP address, and request time. These logs can be delivered to a centralized S3 bucket and queried using Amazon Athena for security audits, meeting all stated 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 managed rules

    Why it's wrong here

    Incorrect. AWS Config managed rules evaluate the compliance of resource configurations (e.g., whether S3 bucket versioning is enabled) but do not record API-level activity. They cannot log GetObject or PutObject calls.

    When this WOULD be correct

    A company wants to automatically detect and remediate S3 buckets that are publicly accessible. Enabling AWS Config managed rules (e.g., s3-bucket-public-read-prohibited) would continuously evaluate bucket policies and trigger remediation actions.

  • Amazon S3 server access logging

    Why it's wrong here

    Incorrect. S3 server access logs provide detailed records about requests made to a bucket, but they do not include the caller identity (IAM user or role) reliably, and they are not directly queryable by Amazon Athena without additional setup. AWS CloudTrail data events offer better integration for auditing.

    When this WOULD be correct

    A company needs to track all HTTP requests to an S3 bucket for operational monitoring, including request types, response status, and total bytes transferred, but does not require caller identity or IP address. They plan to store logs in another S3 bucket and analyze them with log analysis tools.

  • AWS CloudTrail data events

    Why this is correct

    Correct. AWS CloudTrail data events capture object-level API operations on Amazon S3 objects, including GetObject and PutObject. These logs include caller identity, source IP, and request time. They can be delivered to an S3 bucket and queried with Amazon Athena for security audits.

    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 and threat intelligence to identify suspicious activity. It does not record every API call by default and is not designed to provide a complete audit trail of all GetObject and PutObject requests.

    When this WOULD be correct

    A company wants to continuously monitor S3 buckets for suspicious access patterns, such as unusual data exfiltration or anomalous API calls, and receive automated alerts. GuardDuty would be the correct choice for threat detection and alerting.

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 CloudTrail data eventsCorrect answer

Why this is correct

Correct. AWS CloudTrail data events capture object-level API operations on Amazon S3 objects, including GetObject and PutObject. These logs include caller identity, source IP, and request time. They can be delivered to an S3 bucket and queried with Amazon Athena for security audits.

AWS Config managed rulesWrong answer — click to see why

Why this is wrong here

AWS Config managed rules evaluate resource configurations for compliance, but they do not record individual API calls like GetObject or PutObject, nor do they capture caller identity, source IP, or request time.

★ When this WOULD be the correct answer

A company wants to automatically detect and remediate S3 buckets that are publicly accessible. Enabling AWS Config managed rules (e.g., s3-bucket-public-read-prohibited) would continuously evaluate bucket policies and trigger remediation actions.

Why candidates choose this

Candidates may confuse AWS Config's compliance monitoring with logging API calls, assuming it records all changes and access events, when it actually focuses on configuration drift rather than data-level operations.

Amazon S3 server access loggingWrong answer — click to see why

Why this is wrong here

Amazon S3 server access logging provides records of requests made to a bucket, but it does not capture the identity of the caller (e.g., IAM user or role) or the source IP address in a structured format suitable for Athena analysis. It logs details like requester type (e.g., AWS account ID) but not the specific caller identity or IP address required by the question.

★ When this WOULD be the correct answer

A company needs to track all HTTP requests to an S3 bucket for operational monitoring, including request types, response status, and total bytes transferred, but does not require caller identity or IP address. They plan to store logs in another S3 bucket and analyze them with log analysis tools.

Why candidates choose this

Candidates may confuse server access logging with CloudTrail data events because both can log S3 API calls, but server access logging is simpler and often used for basic request tracking, leading them to overlook the requirement for caller identity and IP address.

Amazon GuardDutyWrong answer — click to see why

Why this is wrong here

Amazon GuardDuty is a threat detection service that monitors for malicious activity, but it does not record detailed data events like GetObject and PutObject API calls with caller identity and source IP for auditing purposes.

★ When this WOULD be the correct answer

A company wants to continuously monitor S3 buckets for suspicious access patterns, such as unusual data exfiltration or anomalous API calls, and receive automated alerts. GuardDuty would be the correct choice for threat detection and alerting.

Why candidates choose this

Candidates may confuse GuardDuty's monitoring capabilities with auditing features, thinking it can log all API calls, but GuardDuty focuses on threat detection rather than detailed event recording for compliance audits.

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

AWS often tests the distinction between S3 server access logs (which log requests but lack caller identity) and CloudTrail data events (which capture full API details including identity), leading candidates to mistakenly choose server access logging for security auditing.

Detailed technical explanation

How to think about this question

CloudTrail data events are enabled at the bucket level (or trail level) and log object-level operations with a 15-minute delivery SLA. Unlike management events, data events generate a high volume of logs, so they are often selectively enabled for critical buckets to avoid excessive costs. Athena can query these logs directly using a partitioned table structure (e.g., by date and account) for efficient analysis, and the logs include fields like `userIdentity`, `sourceIPAddress`, and `eventTime` for forensic investigations.

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 CloudTrail data events — AWS CloudTrail data events (Option C) are the correct choice because they capture detailed information about S3 object-level API operations such as GetObject and PutObject, including the caller identity, source IP address, and request time. These logs can be delivered to a centralized S3 bucket and queried using Amazon Athena for security audits, meeting all stated 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 30, 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.