Courseiva
Monitoring and LogginghardMultiple ChoiceObjective-mapped

DOP-C02 Monitoring and Logging Practice Question

A company uses Amazon S3 to store sensitive data. The security team wants to be notified when an S3 bucket policy is modified. Which approach is most efficient?

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

Create an Amazon EventBridge rule that matches the 'PutBucketPolicy' API call and sends a notification to an SNS topic.

CloudTrail logs the PutBucketPolicy API call, and EventBridge can filter on that event and trigger an SNS notification in real time. Option B is wrong because while AWS Config rules can detect changes to bucket policies, they are not designed for real-time alerting; they evaluate resources periodically or on configuration changes, making EventBridge a more efficient choice. Option C is wrong because S3 event notifications only support object-level events (e.g., PutObject), not bucket-level API calls like PutBucketPolicy. Option D is wrong because S3 server access logs are not real-time and require querying with CloudWatch Logs Insights, which is inefficient for immediate notification.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create an Amazon EventBridge rule that matches the 'PutBucketPolicy' API call and sends a notification to an SNS topic.

    Why this is correct

    EventBridge provides real-time filtering of CloudTrail events.

  • Set up an AWS Config rule to detect changes to the bucket policy.

    Why it's wrong here

    Config is for compliance and remediation, not real-time alerting.

  • Configure S3 event notifications for 's3:PutBucketPolicy' on the bucket.

    Why it's wrong here

    S3 event notifications do not include management events like PutBucketPolicy.

  • Enable S3 server access logs and use CloudWatch Logs Insights to run queries periodically.

    Why it's wrong here

    Server access logs do not log bucket policy changes.

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

About these practice questions

This DOP-C02 question is part of Courseiva's 1,013-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DOP-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 DOP-C02 exam.