Question 70
A partner integration's role trust policy accepts sts:AssumeRole from an entire external account and an audit finds several unintended external principals can assume it. Which AWS security design change MOST directly meets the stated requirement?
Explanation
Correct Answer
The controlling requirement in this scenario is: A partner integration's role trust policy accepts sts:AssumeRole from an entire external account and an audit finds several unintended external principals can assume it. The technically appropriate control is: Narrow the trust policy to approved partner roles with suitable conditions and review current session creation records. This choice addresses the actual mechanism: Trusting an external account root principal can delegate assumption to a broader set of principals than intended. Verify implementation by observing: Only the named test partner role can assume the integration role; a different principal in the partner account cannot.
Incorrect Answers
A syntactically valid resource policy can enable unanticipated cross-account permissions beyond the data owner's intent. The problem described here is that trusting an external account root principal can delegate assumption to a broader set of principals than intended.
Cross-account access often requires compatible permissions on both sides of a resource boundary, not only a caller-side allow. The problem described here is that trusting an external account root principal can delegate assumption to a broader set of principals than intended.
Identity federation can fail if the service provider validates an outdated signature key or wrong audience identifier. The problem described here is that trusting an external account root principal can delegate assumption to a broader set of principals than intended.