Security

An application using Role A's temporary credentials requests a two-hour session for Role B, whose maximum session duration is 12 hours. All permissions and trust requirements are satisfied; which change makes the request succeed?

Show the answer

Correct answerB. Request a session of one hour or less

AWhy not this: A role session name is required, and removing it does not resolve the duration limit.

BWhy this is right: Role chaining limits the requested session duration to a maximum of one hour.

CWhy not this: Role A's maximum duration does not change the one-hour limit for the chained session.

DWhy not this: A session policy restricts session permissions; it cannot increase the role-chaining duration limit.

Assuming a role with another role's credentials is role chaining, which limits the new session to one hour. Increasing a role's maximum session duration does not override this limit.