Question 350
A service role must write only to objects beneath one application prefix in a bucket. Which response BEST satisfies the stated security need?
Explanation
Correct Answer
Object ARN patterns can constrain GetObject or PutObject targets; bucket-level ListBucket is a distinct permission with different resource syntax.
Incorrect Answers
Add an appropriate source-VPC-endpoint restriction to the bucket's resource policy: add an appropriate source-VPC-endpoint restriction to the bucket's resource policy: the resource-based network-path condition constrains access beyond identity grants, subject to carefully designed service exceptions.
Apply a scoped S3 bucket resource policy including explicit guardrail denies as needed: apply a scoped S3 bucket resource policy including explicit guardrail denies as needed: resource-based policies independently participate in cross-account authorization and can restrict access at the resource.
Enable relevant S3 Block Public Access protections and remove the overly broad policy statement: block Public Access can prevent supported public exposure while policy correction removes the underlying authorization defect.





AWS Certified Security - Specialty SCS-C03 Practice Tests