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

A company is working with an external vendor that requires write access to the company's Amazon Simple Queue Service (Amazon SQS) queue. The vendor has its own AWS account.
What should a solutions architect do to implement least privilege access?

Answer options

Correct answer: A

Explanation

Updating the resource-based permission policy on the specific Amazon SQS queue is the most secure way to grant cross-account write access while adhering to the principle of least privilege. Sharing IAM user credentials violates security best practices, AWS Resource Access Manager does not support Amazon SQS sharing, and granting access to all queues via a cross-account role provides far more access than necessary.