An application in a development account must read an S3 bucket in a production account by assuming a production IAM role. Which configuration enables the cross-account role assumption?
Show the answer
Correct answerA. Allow the application to assume the role, and configure the role to trust the application's principal.
AWhy this is right: The caller needs sts:AssumeRole permission, and the target role's trust policy must accept the caller.
BWhy not this: An SCP cannot grant role-assumption permission, and organization membership alone does not establish role trust.
CWhy not this: Matching role names and permissions do not establish cross-account trust.
DWhy not this: Trusting Amazon S3 does not authorize the application's principal to assume the role.
Cross-account role assumption requires permission for the caller to assume the role and a trust policy that accepts the caller. An SCP sets permission boundaries; it does not grant permission to assume a role.