exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 104 discussion

A company is divided into teams. Each team has an AWS account, and all the accounts are in an organization in AWS Organizations. Each team must retain full administrative rights to its AWS account. Each team also must be allowed to access only AWS services that the company approves for use. AWS services must gain approval through a request and approval process.

How should a DevOps engineer configure the accounts to meet these requirements?

  • A. Use AWS CloudFormation StackSets to provision IAM policies in each account to deny access to restricted AWS services. In each account, configure AWS Config rules that ensure that the policies are attached to IAM principals in the account.
  • B. Use AWS Control Tower to provision the accounts into OUs within the organization. Configure AWS Control Tower to enable AWS IAM Identity Center (AWS Single Sign-On). Configure IAM Identity Center to provide administrative access. Include deny policies on user roles for restricted AWS services.
  • C. Place all the accounts under a new top-level OU within the organization. Create an SCP that denies access to restricted AWS services. Attach the SCP to the OU.
  • D. Create an SCP that allows access to only approved AWS services. Attach the SCP to the root OU of the organization. Remove the FullAWSAccess SCP from the root OU of the organization.
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
lunt
Highly Voted 1 year, 8 months ago
Selected Answer: D
A=local account admin can change this. B=local admin has admin permissions. Complicated. C=implicit permit on everything else = breaks requirements. D= As they want to approve each service, its got to be white-list based SCP setup. Answer is D.
upvoted 21 times
...
teo2157
Most Recent 1 week, 6 days ago
Selected Answer: C
Going for C as removing the FullAWSAccess SCP from the root OU requires impacts directly in the Administrative Access and restrict necessary administrative actions required for account management and operations.
upvoted 1 times
...
auxwww
3 months, 3 weeks ago
Selected Answer: D
D is more straight forward
upvoted 2 times
...
hzaki
5 months, 2 weeks ago
Selected Answer: D
The answer is (D). The following SCP example from the AWS DOCUMENT allows accounts to create resource shares that share prefix lists https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_examples_ram.html
upvoted 2 times
...
[Removed]
5 months, 2 weeks ago
Selected Answer: D
Agree with D https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_evaluation.html
upvoted 2 times
...
jamesf
6 months, 1 week ago
Selected Answer: C
I prefer C than D. As SCP more in Deny but not Allow https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 2 times
...
auxwww
6 months, 2 weeks ago
Selected Answer: C
SCP - only deny not allow - So answer is C
upvoted 3 times
...
zsoni
7 months, 2 weeks ago
The question is looking to use the Allow List Strategy using SCP. So the answer that best fits is D.
upvoted 1 times
...
zijo
8 months ago
Selected Answer: C
SCPs primary function is not grant permissions by themselves but restrict the permissions that IAM policies and other access control mechanisms can grant.
upvoted 4 times
...
seetpt
9 months, 1 week ago
Selected Answer: D
D seems better.
upvoted 2 times
...
dkp
9 months, 3 weeks ago
Selected Answer: D
Ans D: It is easier to allow approved services than deny all the other services, considering the vast amount of AWS services. it's easier to whitelist than blacklisting all the remaining services.
upvoted 4 times
...
fdoxxx
10 months, 2 weeks ago
Selected Answer: C
Option C: Place all the accounts under a new top-level OU within the organization: This allows for centralized management of the accounts. Create an SCP that denies access to restricted AWS services: This ensures that only approved services are accessible. SCPs (Service Control Policies) are the best way to control permissions at the organizational level. Attach the SCP to the OU: By attaching the SCP to the OU, all accounts within the OU will inherit the restrictions set by the SCP. D is wrong: This option allows access only to approved AWS services by creating an SCP that allows access to only approved services and attaching it to the root OU of the organization. However, this would restrict all accounts, including those of other departments or teams within the organization. It doesn't meet the requirement of allowing each team to retain full administrative rights to its AWS account.
upvoted 2 times
MalonJay
9 months, 2 weeks ago
I think Option C is wrong because the question says 'Each team also must be allowed to access only AWS services that the company approves for use' When you deny specific services they can still access services that have not been approved.
upvoted 1 times
...
...
kyuhuck
11 months, 3 weeks ago
Selected Answer: C
Conclusion: Option C is the best solution to meet the requirements with operational efficiency and scalability. It allows teams to retain administrative rights while enforcing company-wide controls on service access through SCPs. This approach is straightforward to manage at scale, as adding or removing services from the SCP can adjust access permissions across all accounts within the OU. It directly aligns with the goal of allowing access only to approved AWS services and supports a governance model that can evolve with the organization's needs.
upvoted 3 times
...
vortegon
12 months ago
Selected Answer: C
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 2 times
...
thanhnv142
1 year ago
Selected Answer: C
C is correct: <all the accounts are in an organization in AWS Organizations> means we need scps A and B: no mention of scps D: SCP only denies access, not allow. Additionally, should not attack SCP to the root OU because this may inadvertently denies users' access to AWS services
upvoted 4 times
thanhnv142
1 year ago
correction: D: SCP has allow statement. D perfectly fits this question
upvoted 2 times
...
...
sksegha
1 year ago
Selected Answer: C
C is correct; apart from SCP's only denying ... why would u want to add SCPs to the root org.
upvoted 2 times
...
yuliaqwerty
1 year ago
D is wrong SCP can only deny, not approve. my answer is C
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago