How to log S3 bucket writes to another bucket with least effort?
A company stores details about transactions in an Amazon S3 bucket. The company wants to log all writes to the S3 bucket into another S3 bucket that is in the same AWS Region. Which solution will meet this requirement with the LEAST operational effort?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This item tests CloudTrail data events versus a Lambda-based S3 Event Notifications pipeline, and the trap is selecting the familiar but code-heavy notification option.
Logging all writes to an Amazon S3 bucket can be handled by AWS CloudTrail data events instead of custom S3 event notification and Lambda code. The page establishes D as the least-operational-effort solution for delivering write events to another S3 bucket in the same Region.
The most common wrong answer is C, an S3 Event Notifications rule that invokes Lambda to write events to the logs bucket, because it requires custom code, permissions, and ongoing maintenance that CloudTrail data events avoid.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option D uses a CloudTrail trail configured for S3 data events on the transactions bucket, with an empty prefix so all objects are covered and write-only events so only writes are logged. CloudTrail delivers those events to the specified logs S3 bucket, satisfying the same-Region destination requirement without custom code. Because CloudTrail is a managed audit logging service, enabling the trail is the least operational effort compared with building and maintaining an event-processing pipeline. The requirement is specifically for writes, and CloudTrail data events can be filtered to write-only activity.Why the Other Options Are Wrong
Option A adds S3 Event Notifications, Lambda, and Kinesis Data Firehose, which is more moving parts and operational overhead than a CloudTrail trail, and it logs all configured activities rather than write-only events. Option B uses management events, which do not capture S3 object-level PutObject writes; management events cover control-plane actions such as bucket configuration changes. Option C also depends on a Lambda function and custom code to write to the logs bucket, so it is not the least operational effort and introduces permissions and code maintenance. Only D directly captures S3 object write data events with CloudTrail's managed delivery to an S3 destination.Community Comment Notes
rralucard_ linked the S3 logging documentation and described D as directly logging the desired activities without developing or maintaining Lambda or Firehose resources. khchan123 likewise noted that A and C “require writing custom Lambda code to handle the events,” which is why they are not least operational effort. GiorgioGss warned that choosing C means defining Lambda code, permissions, and triggers, whereas D just enables a trail for data events. LanoraMoe clarified that S3 object-level actions such as PutObject and DeleteObject are CloudTrail data events, supporting the need for D rather than B.Official Reference
Exam Strategy
When a question asks for the LEAST operational effort, avoid multi-service Lambda pipelines unless no managed option can meet the requirement. Confirm whether the needed S3 activity is object-level data events, then choose the CloudTrail trail with write-only data events and an S3 destination.
Frequently Asked Questions
Why is an S3 Event Notifications rule with Lambda not the least-effort choice?
It requires custom Lambda code, IAM permissions, triggers, and ongoing maintenance, while CloudTrail data events provide managed delivery to the logs S3 bucket.
Do CloudTrail management events capture S3 PutObject writes?
No. S3 object-level actions such as PutObject are data events, so a trail must be configured for data events on the transactions bucket.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →