External auditors in a single AWS account need secure, read-only access to the company's AWS account for financial audits. The solution must follow AWS security best practices. Which approach should the solutions architect implement?
Choose an answer
Tap an option to check your answer.
Correct answer: In the company account, create an IAM role that trusts the auditors’ AWS account, attach an IAM policy granting the necessary read-only permissions to the role, and include a unique external ID in the role trust policy..
Why this is the answer
Creating an IAM role that trusts the auditors' AWS account is the most secure and recommended approach. The auditors can assume this role from their own AWS account, eliminating the need to create IAM users for them in your account or share credentials. Attaching a read-only IAM policy to the role ensures least privilege. Including a unique external ID in the trust policy prevents the confused deputy problem, adding an extra layer of security by ensuring that only the intended party can assume the role. Adding resource policies to every resource is impractical and difficult to manage at scale. Creating an IAM user and sharing API keys is a significant security risk as it involves sharing long-term credentials. Creating IAM users for each auditor and adding them to a group is less secure than using a cross-account role, as it still requires managing user credentials within your account for external parties.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed