Topic 1 Question 165
A company uses an organization in AWS Organizations to manage its AWS accounts. The company has implemented an SCP in the root account to prevent resources from being shared with external accounts.
The company now needs to allow applications in its marketing team's AWS account to share resources with external accounts. The company must continue to prevent all the other accounts in the organization from sharing resources with external accounts. All the accounts in the organization are members of the same OU.
Which solution will meet these requirements?
Create a new SCP in the marketing team's account Configure the SCP to explicitly allow resource sharing.
Edit the existing SCP to add a Condition statement that excludes the marketing team's account.
Edit the existing SCP to include an Allow statement that specifies the marketing team's account.
Create an IAM permissions boundary policy to explicitly allow resource sharing Attach the policy to IAM users in the marketing team's account.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: B
Answer is B
The SCP continues to prevent resource sharing with external accounts for all other accounts in the organization. The marketing team's account is specifically exempted from this restriction, allowing them to share resources as needed. Here's an example of a Condition statement that could be used:
JSON { "Condition": { "StringEquals": { "aws:PrincipalOrgID": "<marketing-team-account-id>" } } }
👍 5aescudero512024/06/01 - 正解だと思う選択肢: B
B - looks good for me. A - will not work, becuase if we have SCP at root level - it will block all nested OU SCPs
👍 1HunkyBunky2024/08/28
シャッフルモード