ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 216 - DOP-C02 discussion

Report
Export

A company has an AWS Control Tower landing zone. The company's DevOps team creates a workload OU. A development OU and a production OU are nested under the workload OU. The company grants users full access to the company's AWS accounts to deploy applications.

The DevOps team needs to allow only a specific management IAM role to manage the IAM roles and policies of any AWS accounts In only the production OU.

Which combination of steps will meet these requirements? {Select TWO.)

A.
Create an SCP that denies full access with a condition to exclude the management IAM role for the organization root.
Answers
A.
Create an SCP that denies full access with a condition to exclude the management IAM role for the organization root.
B.
Ensure that the FullAWSAccess SCP is applied at the organization root
Answers
B.
Ensure that the FullAWSAccess SCP is applied at the organization root
C.
Create an SCP that allows IAM related actions Attach the SCP to the development OU
Answers
C.
Create an SCP that allows IAM related actions Attach the SCP to the development OU
D.
Create an SCP that denies IAM related actions with a condition to exclude the management I AM role Attach the SCP to the workload OU
Answers
D.
Create an SCP that denies IAM related actions with a condition to exclude the management I AM role Attach the SCP to the workload OU
E.
Create an SCP that denies IAM related actions with a condition to exclude the management IAM role Attach the SCP to the production OU
Answers
E.
Create an SCP that denies IAM related actions with a condition to exclude the management IAM role Attach the SCP to the production OU
Suggested answer: B, E

Explanation:

You need to understand how SCP inheritance works in AWS. The way it works for Deny policies is different that allow policies.

Allow polices are passing down to children ONLY if they don't have an allow policy.

Deny policies always pass down to children.

That's why there is always an SCP set to the Root to allow everything by default. If you limit this policy, the whole organization will be limited, not matter what other policies are saying for the other OUs. So it's not A. It's not D because it restricts the wrong OU.

asked 16/09/2024
Andres Romo
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first