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

A company is in the process of implementing AWS Organizations to constrain its developers to use only Amazon EC2, Amazon S3, and Amazon DynamoDB. The
Developers account resides in a dedicated organizational unit (OU). The Solutions Architect has implemented the following SCP on the Developers account:

When this policy is deployed, IAM users in the Developers account are still able to use AWS services that are not listed in the policy.
What should the Solutions Architect do to eliminate the Developers' ability to use services outside the scope of this policy?

  • A. Create an explicit deny statement for each AWS service that should be constrained.
  • B. Remove the FullAWSAccess SCP from the Developer account's OU.
  • C. Modify the FullAWSAccess SCP to explicitly deny all services.
  • D. Add an explicit deny statement using a wildcard to the end of the SCP.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Waiweng
Highly Voted 3 years, 6 months ago
B is correct
upvoted 19 times
...
student2020
Highly Voted 3 years, 6 months ago
Answer is A - You cannot remove the FullAWSAccess SCP that is inherited from root. Test it and see.
upvoted 8 times
joe16
3 years, 5 months ago
Yes, you can.(Ans - B) https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html#orgs_policies_allowlist "To use SCPs as an allow list, you must replace the AWS managed FullAWSAccess SCP with an SCP that explicitly permits only those services and actions that you want to allow. By removing the default FullAWSAccess SCP, all actions for all services are now implicitly denied. Your custom SCP then overrides the implicit Deny with an explicit Allow for only those actions that you want to permit."
upvoted 11 times
...
tekkart
3 years, 5 months ago
Answer is A, because as soon as an SCP was created, the FullAWSAccess SCP was already overruled (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html#orgs_policies_allowlist) and (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html#orgs_policies_allowlist), because Explicit Deny > Explicit Allow > Implicit Deny > Implicit Allow, the only way to overcome Explicit Allow is to add Explicit Deny statements. Answers C and D would work too good, of course everything would be blocked !
upvoted 4 times
sumaju
1 year, 4 months ago
This link says that "The organization administrator can detach the FullAWSAccess policy and attach this one instead.". So the FullAWSAccess policy needs to be detached explicitly.
upvoted 1 times
...
...
...
3a632a3
Most Recent 1 year, 3 months ago
Selected Answer: B
SCP evaluation starts with an implicit Deny (soft deny). The default SCP allows full access so removing this policy causes any service to be implicitly denied unless an allow statement is used. Explicit Deny should be used for organizational rules that must be strictly enforced (hard deny). An example would be to deny a service that doesn't meet a specific compliance requirement to be used in regulated accounts.
upvoted 1 times
...
TravelKo
1 year, 8 months ago
Answer is B. "To use SCPs as an allow list, you must replace the AWS managed FullAWSAccess SCP with an SCP that explicitly permits only those services and actions that you want to allow. By removing the default FullAWSAccess SCP, all actions for all services are now implicitly denied. Your custom SCP then overrides the implicit Deny with an explicit Allow for only those actions that you want to permit. For a permission to be enabled for a specified account, every SCP from the root through each OU in the direct path to the account, and even attached to the account itself, must allow that permission."
upvoted 1 times
...
God_Is_Love
2 years, 2 months ago
Logical answer : C is ruining the good policy and not efficient. A is ridiculously inefficient, how many services need to be denied, thousands ? D is work because SCPs does not work like that. SCPs work like inverted Tree hierarchy.A deny list strategy makes use of the FullAWSAccess SCP that is attached by default to every OU and account. This SCP overrides the default implicit deny, and explicitly allows all permissions to flow down from the root to every account, unless you explicitly deny a permission with an additional SCP that you create and attach to the appropriate OU or account. So B should be correct https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inheritance_auth.html
upvoted 1 times
God_Is_Love
2 years, 2 months ago
** I meant D is wrong (typo, not work)
upvoted 1 times
...
...
mrgreatness
2 years, 5 months ago
100% B
upvoted 1 times
...
wassb
2 years, 6 months ago
This question doesnt make sense AT ALL. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:*", "cloudwatch:*" ], "Resource": "*" } ] } An allow list policy might look like the following example, which enables account users to perform operations for Amazon Elastic Compute Cloud (Amazon EC2) and Amazon CloudWatch, ****but no other service****. + The FullAWSAccess SCP doesnt need to be deleted, the fact defining a new SCP is enough.. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html#orgs_policies_allowlist
upvoted 1 times
...
aandc
2 years, 10 months ago
B To support this, AWS Organizations attaches an AWS managed SCP named FullAWSAccess to every root and OU when it's created. This policy allows all services and actions. It's always available for you to attach or detach from the entities in your organization as needed. Because the policy is an AWS managed SCP, you can't modify or delete it.
upvoted 2 times
...
tkanmani76
3 years, 3 months ago
B is correct - An allow list strategy has you remove the FullAWSAccess SCP that is attached by default to every OU and account. This means that no APIs are permitted anywhere unless you explicitly allow them.
upvoted 1 times
...
AzureDP900
3 years, 4 months ago
it should be B
upvoted 1 times
...
pcops
3 years, 5 months ago
Ans is B
upvoted 1 times
...
student22
3 years, 5 months ago
B https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inheritance_auth.html
upvoted 2 times
...
RedKane
3 years, 6 months ago
Ignore the messages below - it looks like access has to be granted at each level : root, any intermediate OUs and ACCOUNT so removing FullAWSAccess SCP from any of the nodes in the hierarchy will do the job.
upvoted 2 times
...
RedKane
3 years, 6 months ago
To add to the previous post - each higher OU higher in the hierarchy, including organization root will also have FullAWSAccess SCP attached and each of those SCPs will be inherited by each account below in the hierarchy. So each account inherits multiple copies of FullAWSAccess SCP. In order to get rid of it one would need to remove FullAWSAccess SCP from every OU (higher in the hierarchy) and the root as well as the ACCOUNT itself.
upvoted 1 times
...
RedKane
3 years, 6 months ago
FullAWSAccess SCP is attached automatically by default not only to each OU but also to each account individually so removing FullAWSAccess SCP from Developers-OU will change nothing as the one attached directly to the Developers-ACCOUNT will still remain. That would only leave option A as valid although I'm not sure if the author of this question considered the behavior I described. Also in real scenarios one would rather attach SCP with DENY's and leave FullAWSAccess SCP untouched.
upvoted 1 times
...
alisyech
3 years, 6 months ago
it should B
upvoted 1 times
...
didek1986
3 years, 7 months ago
answ B
upvoted 1 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