exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 917 discussion

A company is migrating its development and production workloads to a new organization in AWS Organizations. The company has created a separate member account for development and a separate member account for production. Consolidated billing is inked to the management account. In the management account, a solutions architect needs to create an IAM user that can stop or terminate resources in both member accounts.
Which solution will meet this requirement?

  • A. Create an IAM user and a cross-account role in the management account. Configure the cross-account role with least privilege access to the member accounts.
  • B. Create an IAM user in each member account. In the management account, create a cross-account role that has least privilege access. Grant the IAM users access to the cross-account role by using a trust policy.
  • C. Create an IAM user in the management account. In the member accounts, create an IAM group that has least privilege access. Add the IAM user from the management account to each IAM group in the member accounts.
  • D. Create an IAM user in the management account. In the member accounts, create cross-account roles that have least privilege access. Grant the IAM user access to the role by using a trust policy.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
pixepe
Highly Voted 2 years, 8 months ago
Answer is D. The member account should create a role which a IAM user from master account will use by AssumeRole API of AWS. Also, following note may help. Actually, by default 'OrganizationAccountAccessRole' role (role has admin access) should be created in member accounts that joins by invite (for new account). However, for existing account who wants to join such role needs to be created manually (as it will not be automatically created). Reference: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html
upvoted 10 times
...
JohnPi
Highly Voted 2 years, 8 months ago
Selected Answer: D
D. Create an IAM user in the management account. In the member accounts, create cross-account roles that have least privilege access. Grant the IAM user access to the role by using a trust policy.
upvoted 5 times
...
ggrodskiy
Most Recent 1 year, 10 months ago
Correct d
upvoted 1 times
...
zozza2023
2 years, 4 months ago
Selected Answer: D
D is the right answer for me
upvoted 1 times
...
masetromain
2 years, 4 months ago
Selected Answer: D
The solution that will meet this requirement is D. - Create an IAM user in the management account. - In the member accounts, create cross-account roles that have least privilege access. - Grant the IAM user access to the role by using a trust policy. In this solution, the IAM user is created in the management account and granted access to the cross-account roles in the member accounts through trust policies. This allows the IAM user to stop or terminate resources in both member accounts while still adhering to the principle of least privilege.
upvoted 1 times
...
mrgreatness
2 years, 6 months ago
easy 100% D
upvoted 1 times
...
mrgreatness
2 years, 6 months ago
if it mentioned the company uses multiple regions then Delegated admin would not be ideal but assuming its all same region DA works for me so final answer ADF
upvoted 1 times
mrgreatness
2 years, 6 months ago
ignore for wring question
upvoted 1 times
...
...
janvandermerwer
2 years, 6 months ago
Selected Answer: D
D - seems to be the best option Management account Iam user = allowed to assume into role1 Dev Account Role1 = Accept access from management account Allow assume rights from IAMxxx Prod Account Role1 = Accept access from management account Allow assume rights from IAMxxx
upvoted 1 times
...
gnandam
2 years, 8 months ago
Answer is A - https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html
upvoted 1 times
...
kapara
2 years, 8 months ago
Selected Answer: A
Why not A?
upvoted 1 times
sb333
2 years, 8 months ago
Because you need to create the IAM role (cross-account role) in the member accounts with the resources you are granting access to. The correct answer to this one is D.
upvoted 1 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 ...