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 626 discussion

A company has a single AWS master billing account, which is the root of the AWS Organizations hierarchy.
The company has multiple AWS accounts within this hierarchy, all organized into organization units (OUs). More OUs and AWS accounts will continue to be created as other parts of the business migrate applications to AWS. These business units may need to use different AWS services. The Security team is implementing the following requirements for all current and future AWS accounts:
✑ Control policies must be applied across all accounts to prohibit AWS servers.
✑ Exceptions to the control policies are allowed based on valid use cases.
Which solution will meet these requirements with minimal optional overhead?

  • A. Use an SCP in Organizations to implement a deny list of AWS servers. Apply this SCP at the level. For any specific exceptions for an OU, create a new SCP for that OU and add the required AWS services to the allow list.
  • B. Use an SCP in Organizations to implement a deny list of AWS service. Apply this SCP at the root level and each OU. Remove the default AWS managed SCP from the root level and all OU levels. For any specific exceptions, modify the SCP attached to that OU, and add the required AWS services to the allow list.
  • C. Use an SCP in Organizations to implement a deny list of AWS service. Apply this SCP at each OU level. Leave the default AWS managed SCP at the root level. For any specific executions for an OU, create a new SCP for that OU.
  • D. Use an SCP in Organizations to implement an allow list of AWS services. Apply this SCP at the root level. Remove the default AWS managed SCP from the root level and all OU levels. For any specific exceptions for an OU, modify the SCP attached to that OU, and add the required AWS services to the allow list.
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
Bulti
Highly Voted 3 years, 6 months ago
Correct answer is C. When you use a Deny list, you cannot explicitly allow access to services at OU or account levels. You need to explicitly deny access to services and that's why the term deny list. By default, all services are explicitly allowed starting at the root level. So you need to explicitly create an SCP at each OU level where you need to implement the control policy of denying access to services. In exceptional circumstances on a use case basis, you need to allow access to the services that already have an allow access from root to this OU level where you are creating an exception. Only C satisfies this criteria. D is not correct because it doesn't create an SCP that allow access at all level from the OU in question upto the root level. So even if you create an SCP that allows access to a service, access won't be granted as it's not been explicitly allowed at all level above this OU.
upvoted 25 times
tekkart
3 years, 5 months ago
Here the correct answer must be D. 1 - The allowed rights work with as the intersection of the rights given by SCP at root, OU and IAM Policies. Therefore if you implement on a SCP at OU level a Deny of an AWS Server you then wish to grant, the only option is to Modify your SCP, which rules out answers A and C which recommend you to Create a new SCP 2 - In answers A, B and C it is suggested to Implement an Explicit Deny, and for options B and C, this Deny is at Root Level. It is not possible with this strategy to allow exceptions with this configurations because Explicit Deny takes precedence over Explicit Allow, then Implicit Deny, then Implicit Allow. The only way to address this problem is to set Implicit Deny at the Root Level, so then with our Explicit Allow on SCP at OU Level, it overrides the Implicit Deny, which is what is proposed in Answer D : it is an Allow list of AWS Services not including the restricted AWS Servers which are Implicitly Denied.
upvoted 6 times
tomosabc1
2 years, 6 months ago
Your explanation is not correct. D is wrong. Using Allow List Strategy, to allow a permission, SCPs with allow statement must be added to the account and every OU above it including root. Every SCP in the hierarchy must explicitly allow the APIs you want to use. Explicit allow at a lower level of organization hierarchy cannot overwrite the implicit deny at a higher level.
upvoted 2 times
...
...
...
dutchy1988
Highly Voted 3 years, 6 months ago
Prohibit all AWS servers (should be services i guess) can only be achieved by whitelisting method. This means that you will have to remove the AWS managed SCP from the root. Whitelist SCP on the root of your organisation makes sure that any new account will apply these settings. SCP never grants access but can allow you to make use of AWS services. With that baseline set, granting a new set of AWS services in a separate SCP attaching it to the new account in your organisation complies here for the minimal operational overhead. only D will statisfy. One more negative for C. once you implement a deny on a toplevel. it will override any allow in a child OU. not that it is stated within this question. but with that in mind that it could be the case, whitelisting makes more sense for me.
upvoted 22 times
cloudgc
3 years, 6 months ago
D would have been the answer if 'These business units may need to use different AWS services' was not required. With D we are giving the same AWS Services to all the units.
upvoted 2 times
aws_arn_name
3 years, 5 months ago
No, D state that "modify the SCP attached to that OU" not the root SCP
upvoted 4 times
...
...
...
ramonipony
Most Recent 1 year, 7 months ago
Selected Answer: C
Answer is C. In D, the allow list on the root level implicitly denies all other services. You can try to allow what you want on OU level, it will never overrule the implicit deny on root level. With C, you actually use the default allow from AWS and specify any restrictions on OU level.
upvoted 1 times
...
walkwolf3
1 year, 10 months ago
Both C and D can meet the requirements, but D is more efficient. For answer C, SCP needs to be applied on EACH OU level. While for answer D, SCP is applied ONLY on root level. From another angle, which list is longer, deny or allow? For most of accounts, we just give them a few basic accesses. I would say allow list is shorter. IMHO, answer is D.
upvoted 1 times
...
claymannain
1 year, 10 months ago
C When there is an implicit deny at the root of an AWS organization and an allow at an OU, the allow policy will take precedence. This means that users in the OU will be able to access the resources that are allowed by the policy, even though there is an implicit deny at the root. For example, if the root of the organization has an implicit deny policy that prohibits the creation of AWS servers, and an OU has an allow policy that allows the creation of AWS servers, users in the OU will be able to create AWS servers. It is important to note that the implicit deny policy at the root will still apply to resources that are not explicitly allowed by the allow policy at the OU. For example, if the root has an implicit deny policy that prohibits the use of the AWS Management Console, and the OU has an allow policy that allows the use of the AWS Management Console for a specific service, users in the OU will still be able to use the AWS Management Console for that service, but they will not be able to use the AWS Management Console for any other services.
upvoted 1 times
...
Jesuisleon
1 year, 11 months ago
Selected Answer: D
D and C both right , but I think D is better since it requires less effort than C.
upvoted 1 times
...
dev112233xx
2 years ago
Selected Answer: C
Can't be D.. D says: "Apply SCP the allow specific list of services to the root, Then, For any specific exceptions for an OU, modify the SCP attached to that OU, and add the required AWS services to the allow list. Read it again... Did you see they mentioned "add Deny" to the SCP in OU level? 😂
upvoted 2 times
...
dev112233xx
2 years ago
Selected Answer: C
C is correct D is totally wrong and can't minimal operational overhead
upvoted 1 times
dev112233xx
2 years ago
"Deny statements require less maintenance, because you don't need to update them when AWS adds new services. Deny statements usually use less space, thus making it easier to stay within the maximum size for SCPs" https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html
upvoted 1 times
...
...
unknownUser22952
2 years, 2 months ago
If a deny list of AWS services is applied at the root level SCP and specific exceptions are allowed at the OU level SCP in the AWS Organizations hierarchy, then the SCP applied at the OU level will take precedence. This means that the AWS services that are allowed in the OU level SCP will be allowed, while the rest of the AWS services will be prohibited as per the deny list applied at the root level SCP. When multiple SCPs are applied, AWS Organizations evaluates them in the order of precedence, which is determined by the level at which the SCP is applied. The SCP applied at the highest level takes precedence over the SCPs applied at lower levels. If a lower-level SCP explicitly allows an action, that action is allowed, even if higher-level SCPs would have otherwise prohibited the action. In this case, the allow list of AWS services at the OU level SCP will take precedence over the deny list of AWS services at the root level SCP, allowing the specified AWS services for that OU, while prohibiting all other AWS services.
upvoted 1 times
...
evargasbrz
2 years, 3 months ago
Selected Answer: D
You only have access to services because of the default AWS managed SCP, so if you remove that, you don't need to explicitly deny access.
upvoted 1 times
...
SureNot
2 years, 4 months ago
Selected Answer: D
C is wrong. 1.Attach Deny SAP to all OUs. 2. Attach Allow SCP to the OU. They don't say to Detach Deny SCP from the OU - so explicit Deny will be here and win!
upvoted 2 times
Jesuisleon
1 year, 10 months ago
You have a very strong justification
upvoted 1 times
...
...
Relaxeasy
2 years, 5 months ago
Selected Answer: C
C makes more sense
upvoted 1 times
...
tomosabc1
2 years, 6 months ago
Selected Answer: C
C is correct. For explanation, please refer to Bulti's answer.
upvoted 1 times
...
dcdcdc3
2 years, 7 months ago
Selected Answer: A
D Cannot work if SCP is not attached to Every Level of OU including root. C can work but is too much overhead; A may have incomplete wording but as is, it is working solution, as the SCP is attached "at the Level". In A, it nowhere says to "attach deny to root level". Here is the whole text for A: "A. Use an SCP in Organizations to implement a deny list of AWS servers. Apply this SCP at the level. For any specific exceptions for an OU, create a new SCP for that OU and add the required AWS services to the allow list." The New SCP will not have a Deny for specific service and will have an Allow statement..
upvoted 1 times
...
aqiao
2 years, 7 months ago
Selected Answer: D
Three key points in SCP: 1 Explicit deny actions has the highest priority; 2 Accounts under sub OU inherit the parent OU permissions; 3 Explicit allow actions overrides default FullAWSAccess on root organizations; 4 Once a deny actions applied on a some OU, even an explicit allow action added on sub OU, all the accounts directly under this OU and its sub OU have no permission to perform the action.
upvoted 3 times
aqiao
2 years, 7 months ago
Here is the official statement: If an action is blocked by a Deny statement, then all OUs and accounts affected by that SCP are denied access to that action. An SCP at a lower level can't add a permission after it is blocked by an SCP at a higher level. SCPs can only filter; they never add permissions. You can get the details here :https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inheritance_auth.html So only D satisfied. Actually there is no need to remove default permission on root OU, like key point 3 said, it will be overrode by explicit allow lists
upvoted 1 times
...
...
gnic
2 years, 7 months ago
Selected Answer: D
it's D
upvoted 3 times
...
Harithareddynn
2 years, 8 months ago
Selected Answer: D
Minimal operational overhead compared to 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