Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SCS-C02 Exam - Topic 6 Question 63 Discussion

[Infrastructure Security]A company is using AWS Organizations to manage multiple accounts. The company needs to allow an IAM user to use a role to access resources that are in another organization's AWS account.Which combination of steps must the company perform to meet this requirement? (Select TWO.)
B) Ensure that the sts: AssumeRole action is allowed by the SCPs of the organization that owns the resources that the IAM user needs to access. and C) Create a role in the AWS account that contains the resources. Create an entry in the role's trust policy that allows the IAM user to assume the role. Attach the trust policy to the role.
A) Create an identity policy that allows the sts: AssumeRole action in the AWS account that contains the resources. Attach the identity policy to the IAM user.
D) Establish a trust relationship between the IAM user and the AWS account that contains the resources.
E) Create a role in the IAM user's AWS account. Create an identity policy that allows the sts: AssumeRole action. Attach the identity policy to the role.

Amazon SCS-C02 Exam - Topic 6 Question 63 Discussion

Actual exam question for Amazon's SCS-C02 exam
Question #: 63
Topic #: 6
[All SCS-C02 Questions]

[Infrastructure Security]

A company is using AWS Organizations to manage multiple accounts. The company needs to allow an IAM user to use a role to access resources that are in another organization's AWS account.

Which combination of steps must the company perform to meet this requirement? (Select TWO.)

Show Suggested Answer Hide Answer
Suggested Answer: B, C

To allow cross-account access to resources using IAM roles, the following steps are required:

Create a role in the AWS account that contains the resources (the trusting account) and specify the AWS account that contains the IAM user (the trusted account) as a trusted entity in the role's trust policy. This allows users from the trusted account to assume the role and access resources in the trusting account.

Ensure that the IAM user has permission to assume the role in their own AWS account. This can be done by creating an identity policy that allows the sts:AssumeRole action and attaching it to the IAM user or their group.

Ensure that there are no service control policies (SCPs) in the organization that owns the resources that deny or restrict access to the sts:AssumeRole action or the role itself. SCPs are applied to all accounts in an organization and can override any permissions granted by IAM policies.

Verified References:

https://repost.aws/knowledge-center/cross-account-access-iam

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html

https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html


Contribute your Thoughts:

0/2000 characters
Karan
2 days ago
Sounds complicated, are we sure this is the best way?
upvoted 0 times
...
Nieves
7 days ago
Don't forget about the SCPs, they can block access!
upvoted 0 times
...
Hayley
12 days ago
Wait, can you really assume roles across different organizations?
upvoted 0 times
...
Anika
17 days ago
Totally agree, trust relationship is key here.
upvoted 0 times
...
Raymon
22 days ago
Gotta create a role in the resource account for sure!
upvoted 0 times
...
Ivette
27 days ago
I’m a bit confused about the SCPs; I thought they were only for managing permissions at the organization level, but maybe they do play a role here?
upvoted 0 times
...
Tina
1 month ago
I practiced a similar question where we had to set up cross-account access, and I feel like creating a role in the target account was definitely part of it.
upvoted 0 times
...
Barbra
1 month ago
I think we need to allow the sts: AssumeRole action in both the identity policy and the trust policy, but I can't recall if that's covered in option A or B.
upvoted 0 times
...
Eleonora
1 month ago
I remember something about creating a trust policy for the role, but I'm not sure if it was option C or D that was correct.
upvoted 0 times
...

Save Cancel