exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 34 discussion

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?

  • A. Update the IAM policy attached to the role in the identity account to be:
  • B. Update the trust policy on the role in the target account to be:
  • C. Update the trust policy on the role in the identity account to be:
  • D. Update the IAM policy attached to the role in the target account to be:
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Daniel76
Highly Voted 1 year ago
Selected Answer: B
When an user is unable to assume a role in the target account, one should check the principal element in the trust policy in the JobFunctionRole in the target account. Refer to this article to understand permission vs trust policies. https://www.linkedin.com/pulse/permission-policy-vs-trust-aws-rupesh-tiwari/
upvoted 5 times
...
Lilik
Most Recent 1 day, 3 hours ago
Selected Answer: B
In IAM roles, use the Principal element in the role trust policy to specify who can assume the role.
upvoted 1 times
...
arvehisa
9 months, 1 week ago
Selected Answer: B
B is the correct one.
upvoted 3 times
...
kejam
1 year, 1 month ago
Selected Answer: B
Answer B 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
upvoted 3 times
...
bengalister
1 year, 1 month ago
B is the correct answer
upvoted 2 times
...
pupsik
1 year, 1 month ago
Selected Answer: B
B it is.
upvoted 2 times
...
100fold
1 year, 1 month ago
Selected Answer: B
Agree with answer B
upvoted 2 times
...
kk2000
1 year, 2 months ago
Correct Answer is B
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago