AWS Certified Solutions Architect – Associate (SAA-C02) — Question 120

A company mandates that an Amazon S3 gateway endpoint must allow traffic to trusted buckets only.
Which method should a solutions architect implement to meet this requirement?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating an S3 endpoint policy that specifies access to the ARNs of trusted S3 buckets directly controls traffic to those buckets. Options A and B focus on bucket policies which are not the correct method for controlling access at the gateway endpoint level. Option C incorrectly suggests blocking access rather than explicitly allowing it.