AWS Certified Solutions Architect – Professional — Question 774

A company uses AWS Organizations to manage multiple AWS accounts. The accounts share an Amazon Simple Queue Service (Amazon SQS) queue. The SQS queue is also shared with other AWS accounts outside the organization. All internal and external accounts have access to send and receive messages according to a permissions policy that is attached to the SQS queue. The company wants to identify any external principals that have access to the SQS queue.

How should a solutions architect meet this requirement?

Answer options

Correct answer: B

Explanation

AWS IAM Access Analyzer helps identify resources shared with external entities. By setting the zone of trust to the AWS Organization (Option B), any principal outside the organization is correctly flagged as external, allowing the architect to easily filter and find external access to the SQS queue. Setting the zone of trust to only the current account (Option D) would incorrectly flag other internal accounts within the organization as external, while CloudTrail (Options A and C) is for auditing past API activity rather than proactively identifying current resource sharing permissions.