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 Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
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 →
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.