ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 386 - SAP-C02 discussion

Report
Export

A company is using AWS Organizations with a multi-account architecture. The company's current security configuration for the account architecture includes SCPs, resource-based policies, identity-based policies, trust policies, and session policies.

A solutions architect needs to allow an IAM user in Account A to assume a role in Account B.

Which combination of steps must the solutions architect take to meet this requirement? (Select THREE.)

A.
Configure the SCP for Account A to allow the action.
Answers
A.
Configure the SCP for Account A to allow the action.
B.
Configure the resource-based policies to allow the action.
Answers
B.
Configure the resource-based policies to allow the action.
C.
Configure the identity-based policy on the user in Account A to allow the action.
Answers
C.
Configure the identity-based policy on the user in Account A to allow the action.
D.
Configure the identity-based policy on the user in Account B to allow the action.
Answers
D.
Configure the identity-based policy on the user in Account B to allow the action.
E.
Configure the trust policy on the target role in Account B to allow the action.
Answers
E.
Configure the trust policy on the target role in Account B to allow the action.
F.
Configure the session policy to allow the action and to be passed programmatically by the GetSessionToken API operation.
Answers
F.
Configure the session policy to allow the action and to be passed programmatically by the GetSessionToken API operation.
Suggested answer: B, C, E

Explanation:

To allow an IAM user in Account A to assume a role in Account B, the solutions architect needs to do the following:

Configure the resource-based policy on the target role in Account B to allow the action sts:AssumeRole for the IAM user in Account

A)This policy grants permission to the IAM user to assume the role4.

Configure the identity-based policy on the user in Account A to allow the action sts:AssumeRole for the target role in Account B.This policy grants permission to the user to perform the action of assuming the role5.

Configure the trust policy on the target role in Account B to allow the principal of the IAM user in Account A. This policy defines who can assume the role.

Resource-based policies

Identity-based policies

Trust policies

Granting a user permissions to switch roles

Switching roles

[Modifying a role trust policy]

asked 16/09/2024
xczzxc zzxczxxz
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first