exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 794 discussion

Exam question from Amazon's AWS-SysOps
Question #: 794
Topic #: 1
[All AWS-SysOps Questions]

A company is operating a multi-account environment under a single organization using AWS Organizations. The Security team discovers that some employees are using AWS services in ways that violate company policies. A SysOps Administrator needs to prevent all users of an account, including the root user, from performing certain restricted actions.
What should be done to accomplish this?

  • A. Apply service control policies (SCPs) to allow approved actions only
  • B. Apply service control policies (SCPs) to prevent restricted actions
  • C. Define permissions boundaries to allow approved actions only
  • D. Define permissions boundaries to prevent restricted actions
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://aws.amazon.com/blogs/security/announcing-aws-organizations-centrally-manage-multiple-aws-accounts/

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
jaribu
Highly Voted 2 years, 7 months ago
AWS offers about 220 services. It would be easier to Allow a few than to Deny many in a policy. Imagine how many "Deny" you will be required to list if all you want to do is allow access to just one or two services. I will pick A as the best answer.
upvoted 9 times
hdbs
2 years, 6 months ago
B is correct. A deny list – actions are allowed by default, and you specify what services and actions are prohibited An allow list – actions are prohibited by default, and you specify what services and actions are allowed https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html
upvoted 2 times
...
NivNZ
2 years, 6 months ago
But by default ALL services are ALLOWED so you need to deny the services that should not be used.
upvoted 3 times
wahlbergusa
2 years, 6 months ago
By default all services are DENIED -> https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html , "The default configuration of AWS Organizations supports using SCPs as deny lists."
upvoted 1 times
...
...
angelsrp
2 years, 7 months ago
...from performing "certain" restricted actions... I think is B.
upvoted 9 times
ImranR
2 years, 6 months ago
Point...
upvoted 1 times
...
...
...
NorthStar2010
Highly Voted 2 years, 7 months ago
B. Apply service control policies (SCPs) to prevent restricted actions https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps-about.html By default, an SCP named FullAWSAccess is attached to every organization root, OU, and account. This default SCP allows all actions and all services. So in a new organization, until you start creating or manipulating the SCPs, all of your existing IAM permissions continue to operate as they did. As soon as you apply a new or modified SCP to the organization root or an OU that contains an account, the permissions that your users have in that account become filtered by the SCP. Permissions that used to work might now be denied if they're not allowed by the SCP at every level of the hierarchy down to the specified account.
upvoted 8 times
proxyolism
2 years, 7 months ago
actually I thought the answer is A as minimallize authority, but I am so confused answer is to B after checked this comment. I wish not to see this question when I take the exam..
upvoted 3 times
Kimle
2 years, 6 months ago
B is wrong , in SCP everything is denied by default and you need to configure approved actions ... you may not notice that as when you enable SCP organization have FullAWSAccess policy assigned to it ..
upvoted 2 times
...
...
...
albert_kuo
Most Recent 9 months, 2 weeks ago
Selected Answer: B
Service Control Policies (SCPs) are a feature of AWS Organizations that allow you to control what actions AWS IAM users and roles can perform within an AWS account or a group of accounts. SCPs are applied at the organization, organizational unit (OU), or account level and act as a permissions boundary, effectively limiting the actions that IAM entities (users and roles) can take. By applying SCPs that explicitly deny certain actions, you can effectively prevent all users of an account, including the root user, from performing those restricted actions. SCPs are applied at the root level, meaning they apply to all entities within the account.
upvoted 1 times
...
Finger41
1 year, 10 months ago
Selected Answer: A
Both A and B are two sides form the same coin. AWS by default comes with "FullAWSAccess" policy when creating an Org, allowing fill access: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html Best practice to go for an Allow approach, by removing the default policy. There is no information provided in the question that the default configuration has been maintained for AWS Organisations.
upvoted 1 times
...
rb39
2 years, 6 months ago
B - SCP allows by default The default configuration for working with SCPs is to use a "block list" strategy where all actions are implicitly allowed except for those actions you want to block by creating statements that deny access. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_create.html?icmpid=docs_orgs_console
upvoted 1 times
...
Cyril_the_Squirl
2 years, 6 months ago
B. Scenario expects us to prevent activity, deny list, therefore B us correct
upvoted 1 times
...
Huy
2 years, 6 months ago
Answer is B. Please SCP blacklist and whitelist concept.
upvoted 1 times
...
Kimle
2 years, 6 months ago
Answer is A ... it's true that in SCP everything is denied by default and you need to configure approved actions and and the same time by default FullAWSAccess is granted to organization .. but we can't depend on predicting what's configured in the mentioned account , whether it's the default or not !! so there's a probability that B is wrong if account run non-default configuration . but A can't be wrong in anyway " although it need more work!"
upvoted 1 times
...
abhishek_m_86
2 years, 6 months ago
B. Apply service control policies (SCPs) to prevent restricted actions : Seems correct here
upvoted 2 times
...
Rhittab
2 years, 6 months ago
B. SCPs are used to deny/prevent actions
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with B
upvoted 1 times
...
weril
2 years, 6 months ago
Policies to centralize control over the AWS services and API actions that each account can access As an administrator of the management account of an organization, you can use service control policies (SCPs) to specify the maximum permissions for member accounts in the organization. In SCPs, you can restrict which AWS services, resources, and individual API actions the users and roles in each member account can access. You can also define conditions for when to restrict access to AWS services, resources, and API actions. These restrictions even override the administrators of member accounts in the organization. When AWS Organizations blocks access to a service, resource, or API action for a member account, a user or role in that account can't access it. This block remains in effect even if an administrator of a member account explicitly grants such permissions in an IAM policy. I want to add this: n other words, the user can access only what is allowed by both the AWS Organizations policies and IAM policies. If either blocks an operation, the user can't access that operation. Link: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html
upvoted 1 times
weril
2 years, 6 months ago
Ans is B for me
upvoted 1 times
...
...
MFDOOM
2 years, 6 months ago
B Only Deny statements can include resources and conditions https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_create.html?icmpid=docs_orgs_console
upvoted 1 times
...
Polu
2 years, 6 months ago
Its B as per Steven Marek course .
upvoted 3 times
...
asim1982
2 years, 7 months ago
Right answer is C because you need to restrict root user as well for actions , permission boundaries will restrict actions, SCP will completely deny the use of service in account. Hence Ans C is 100% correct. Any comments on this are welcome
upvoted 1 times
DannyExamination
2 years, 7 months ago
C only applies to IAM identities, users and roles. So it will not have effect on the root account. I will go with A
upvoted 1 times
...
...
lgh9527
2 years, 7 months ago
i will vote for A as well. It's always easier to know what kind of operations can be allowed in the environment, comparing with its opposite
upvoted 3 times
...
rewiga
2 years, 7 months ago
I want to say it's A due to least-privileged security principal
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