Question 90
A shared audit bucket permits one AWS service principal with aws:SourceAccount set correctly, but aws:SourceArn uses a wildcard that matches ANY trail from that account. Security requires only a single approved trail to write. What tightening most directly enforces that narrower source identity?
Explanation
Correct Answer
The account condition identifies the originating account while a properly scoped source ARN restricts a particular service resource within that account.
Incorrect Answers
Multiple service resources in one account can share the same account identifier; account-only filtering cannot distinguish their trail ARNs.
Network location is not a substitute for supported service-origin authorization context in a resource policy.
SourceAccount distinguishes the service customer account, not the particular trail. To restrict one trail, match a supported exact SourceArn alongside the account condition.






AWS Certified Solutions Architect - Associate SAA-C03 Practice Tests