Question 40
A software vendor supports two customers with the same assume-role principal. A configuration bug sends the customer A role ARN while processing customer B. The third-party access succeeds because the trust has no customer-specific context. What protection is missing?
Explanation
Correct Answer
ExternalId helps the vendor demonstrate which customer relationship an assume-role operation represents, mitigating confused-deputy cross-customer mistakes.
Incorrect Answers
A shared vendor-wide ExternalId does not bind the AssumeRole request to an individual customer relationship and therefore fails the intended cross-customer confused-deputy protection.
A valid trusted vendor principal establishes who can ask to assume the role, but not which customer relationship the request belongs to. The distinct ExternalId is the missing context boundary.
Role names are not secret authorization credentials and do not bind the intended customer context.






AWS Certified Solutions Architect - Associate SAA-C03 Practice Tests