Operating, Monitoring, and Securing ML and AI Solutions

A review role must list model artifact keys only under releases/ in a shared S3 bucket, without downloading objects or listing other prefixes. Which permission configuration meets these requirements?

Show the answer

Correct answerD. Allow s3:ListBucket on the bucket ARN with an s3:prefix restriction.

AWhy not this: GetObject permits downloading objects, not listing keys, and exceeds the stated requirement.

BWhy not this: ListBucket is a bucket-level action; an object ARN does not grant permission to list keys.

CWhy not this: Existing object tags cannot be used to restrict which keys ListBucket returns.

DWhy this is right: The bucket ARN identifies the listing resource, while s3:prefix limits which requested prefixes are allowed.

Listing keys requires s3:ListBucket on the bucket ARN, restricted with s3:prefix to the permitted prefix. Object ARNs cannot scope ListBucket, and object-tag conditions do not restrict bucket listings.