nerdexam
Amazon

SCS-C02 · Question #9

A company uses identity federation to authenticate users into an identity account (987654321987) where the users assume an IAM role named IdentityRole. The users then assume an IAM role named…

The correct answer is B. Update the trust policy on the role in the target account to be. In IAM roles, use the Principal element in the role trust policy to specify who can assume the role. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html

Submitted by ashley.k· Mar 6, 2026Implement authentication and access management

Question

A company uses identity federation to authenticate users into an identity account (987654321987) where the users assume an IAM role named IdentityRole. The users then assume an IAM role named JobFunctionRole in the target AWS account (123456789123) to perform their job functions. A user is unable to assume the IAM role in the target account. The policy attached to the role in the identity account is:

What should be done to enable the user to assume the appropriate role in the target account?

Options

  • AUpdate the IAM policy attached to the role in the identity account to be:
  • BUpdate the trust policy on the role in the target account to be:
  • CUpdate the trust policy on the role in the identity account to be:
  • DUpdate the IAM policy attached to the role in the target account to be:

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    81% (17)
  • C
    5% (1)
  • D
    10% (2)

Explanation

In IAM roles, use the Principal element in the role trust policy to specify who can assume the role. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html

Topics

#IAM role#identity federation#cross-account access#trust policy

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice