Security and Compliance

A company must record S3 object write API activity only under the confidential/ prefix of one bucket, while excluding reads and other prefixes to control logging costs. Which configuration BEST meets these requirements?

Show the answer

Correct answerD. Use CloudTrail advanced event selectors for S3 objects, the object ARN prefix, and readOnly=false.

AWhy not this: Object-level API activity requires data events, not management events.

BWhy not this: Server access logs are a different logging mechanism, and filtering after delivery does not restrict collection to the required prefix.

CWhy not this: Downstream filtering still records reads and unrelated prefixes, increasing unnecessary data-event charges.

DWhy this is right: Resource type, ARN prefix, and readOnly filters restrict collection to the required object write activity.

Advanced event selectors can restrict S3 data-event collection by resource ARN prefix and readOnly status. Filtering all bucket data events downstream does not avoid recording the unwanted events or their associated collection costs.