Question 360
A role should only access an S3 bucket through a specific VPC endpoint, regardless of what broad identity policy it acquires later. Which response BEST satisfies the stated security need?
Explanation
Correct Answer
The resource-based network-path condition constrains access beyond identity grants, subject to carefully designed service exceptions.
Incorrect Answers
Remove or narrow the resource-policy explicit deny after validating the required access: remove or narrow the resource-policy explicit deny after validating the required access: an explicit deny overrides otherwise applicable allows in IAM policy evaluation; adding another allow cannot overcome it; Add an appropriate source-VPC-endpoint restriction to the bucket's resource policy.
Change the resource for the ListBucket statement to the bucket ARN: change the resource for the ListBucket statement to the bucket ARN: s3 bucket-level listing permissions apply to bucket ARNs, while object operations use object ARNs.
Scope the S3 object ARN in its policy to the approved bucket prefix: object ARN patterns can constrain GetObject or PutObject targets; bucket-level ListBucket is a distinct permission with different resource syntax.





AWS Certified Security - Specialty SCS-C03 Practice Tests