Which action will meet this requirement?
Configure S3 bucket metrics to record object access logs.
Create an AWS CloudTrail trail to log data events for all S3 objects.
Enable S3 server access logging for each S3 bucket.
Use AWS IAM Access Analyzer for Amazon S3 to store object access logs.
Explanations:
S3 bucket metrics provide storage and operational metrics for S3 but do not capture detailed API activity, such as access logs for objects.
AWS CloudTrail logs API calls made to S3, including data events that record access to S3 objects. This is the most comprehensive solution for tracking API activity.
S3 server access logging records HTTP requests made to the S3 bucket, but it does not log API-level events related to object-level access.
AWS IAM Access Analyzer helps identify policies that allow access to resources but does not record or log detailed object access events for S3.