Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
lunt
Highly Voted 11 months, 2 weeks 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 15 times
...
seetpt
Most Recent 2 days, 5 hours ago
Selected Answer: D
D seems better.
upvoted 1 times
...
dkp
2 weeks, 6 days 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 2 times
...
fdoxxx
1 month, 1 week 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 1 times
MalonJay
1 week, 3 days 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
2 months, 2 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
2 months, 3 weeks ago
Selected Answer: C
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
thanhnv142
3 months 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 2 times
thanhnv142
2 months, 4 weeks ago
correction: D: SCP has allow statement. D perfectly fits this question
upvoted 2 times
...
...
sksegha
3 months, 1 week 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
3 months, 3 weeks ago
D is wrong SCP can only deny, not approve. my answer is C
upvoted 2 times
...
vikasnm123
4 months, 2 weeks ago
Option C is Correct Option D is wrong because AWS strongly recommends that you don't attach SCPs to the root of your organization without thoroughly testing the impact that the policy has on accounts. Instead, create an OU that you can move your accounts into one at a time, or at least in small numbers, to ensure that you don't inadvertently lock users out of key services. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
svjl
5 months ago
Sill C must correct answer. The use case is just to restrict access to not allowed services. Everything else should stay as the current configuration. " 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
upvoted 2 times
...
hzhang
5 months, 3 weeks ago
Selected Answer: C
SCPs alone are not sufficient in granting permissions to the accounts in your organization. No permissions are granted by an SCP. An SCP defines a guardrail, or sets limits, on the actions that the account's administrator can delegate to the IAM users and roles in the affected accounts. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 2 times
...
2pk
6 months ago
Selected Answer: C
D wrong because: Attach the SCP to the root OU of the organization. Remove the FullAWSAccess SCP from the root OU of the organization. This makes locking your own root account with inability with full root access. You need keep root OU full access for better management for other accounts. Better move all to separate OU with the restricted access.
upvoted 2 times
...
RVivek
7 months, 2 weeks ago
Selected Answer: D
This ensures only the approved services can be used in all accounts. C can work , however everytime AWS introduces a new service that will be accessible and need to be included in SCP deny to disable it
upvoted 2 times
...
beanxyz
8 months, 1 week ago
Selected Answer: C
I prefer C to D. Say users have full admin access with permission set in their own account and what we need is to use SCP to deny certain services and actions. What is the point of granting explicit access to them again from scp when they have already?
upvoted 1 times
...
totopopo
9 months, 3 weeks ago
Selected Answer: D
It’s D, because it’s the only one to propose a white list and not a black list. White list is important because AWS regularly opens new services as GA.
upvoted 2 times
...
ogwu2000
9 months, 3 weeks ago
C seems better if you can create top level OU. Retain the FullAccess to prevent unforeseen issues and restrict access only to selected resources.
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 ...