Question 70
A third-party compliance scanner has permission to assume a customer role, and the customer role trust policy still lists the correct vendor principal. After the vendor rotates the customer-specific ExternalId in its own configuration, STS AssumeRole starts returning AccessDenied. Why can this happen?
Explanation
Correct Answer
STS evaluates the supplied ExternalId against the trust policy. A rotated caller value without the corresponding approved trust-policy update fails even if the principal matches.
Incorrect Answers
An IAM role ARN is independent of the STS ExternalId request argument and remains addressable without a rename.
AssumeRole permission needs both relevant caller authorization and the receiving role trust policy, including any required conditions.
sts:ExternalId is a request context condition key, not an IAM action to add to a permissions policy. The customer role still evaluates its trust policy condition against the ExternalId supplied on the AssumeRole request.






AWS Certified Solutions Architect - Associate SAA-C03 Practice Tests