exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 639 discussion

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

A company has created a separate AWS account for all development work to protect the production environment. In this development account, developers have permission to manipulate IAM policies and roles. Corporate policies require that developers are blocked from accessing some services.
What is the BEST way to grant the developers privileges in the development account while still complying with corporate policies?

  • A. Create a service control policy in AWS Organizations and apply it to the development account.
  • B. Create a customer managed policy in IAM and apply it to all users within the development account.
  • C. Create a job function policy in IAM and apply it to all users within the development account.
  • D. Create an IAM policy and apply it in API Gateway to restrict the development account.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
saumenP
Highly Voted 2 years, 7 months ago
Agree with A, as they have separate AWS account for development, AWS Organization with SCP is better choice
upvoted 16 times
...
Moon
Highly Voted 2 years, 7 months ago
A it is a tricky question, in the scenario the question said that the developers have permissions to manipulate with IAM (therefore, answer "B" cant be correct, as they can edit the permissions and add what they want, with no restrictions). However, answer "A", using SCP, will BLOCK them from accessing certain services, but it will not grant them actions. I would go with "A", because even they are limited from accessing certain services through SCP, they can GRANT THEMSELVES the required actions using IAM policies. So this will resolve the "What is the best way to grant the developer.....blah blah".
upvoted 10 times
...
albert_kuo
Most Recent 10 months ago
Selected Answer: A
By creating a service control policy at the organizational level and applying it to the development account, you can restrict the developers' access to specific services based on corporate policies. This ensures that they have the necessary privileges in the development account while still complying with the defined restrictions.
upvoted 1 times
...
fromnowhere
2 years ago
Selected Answer: A
A is the answer, you want to limit developers access to certain services in the organization. SCP is the way to go https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
asfsdfsdf
2 years, 2 months ago
Selected Answer: A
A - SCPs cannot be changed in the managed account even with full admin access
upvoted 1 times
...
abhishek_m_86
2 years, 5 months ago
A. Create a service control policy in AWS Organizations and apply it to the development account. Seem correct
upvoted 2 times
...
[Removed]
2 years, 6 months ago
I go with whatever jackdryan goes with :))) answer is A
upvoted 2 times
mikey20
2 years, 6 months ago
LOL i think i might start following only his advices too
upvoted 1 times
...
...
kiev
2 years, 6 months ago
Service control policy for sure
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with A
upvoted 4 times
...
MFDOOM
2 years, 6 months ago
A. Create a service control policy in AWS Organizations and apply it to the development account.
upvoted 2 times
...
jtzt2003
2 years, 6 months ago
The Answer is A. Although B would work if you created an IAM policy to Deny developer access to specific services, the question states that the developers have IAM access, so they could go back and change the policy. The question asks for the BEST option, which is to use SCPs.
upvoted 2 times
...
Polu
2 years, 6 months ago
Answer is B - note :Corporate policies require that "developers" are blocked from accessing some services. So in this case SCP will block all user even admin. B is better.
upvoted 1 times
...
[Removed]
2 years, 6 months ago
I cannot find the practice exams for AWS. Keep getting a 404 error.
upvoted 1 times
...
Sriramps
2 years, 6 months ago
Answer is B SCPs alone are not sufficient for allowing access in the accounts in your organization. Attaching an SCP to an AWS Organizations entity (root, organizational unit (OU), or account) defines a guardrail for what actions the principals can perform. You still need to attach identity-based or resource-based policies to principals or resources in your organization's accounts to actually grant permissions to them. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_type-auth.html
upvoted 3 times
MegatonN
2 years, 6 months ago
developers have permission to manipulate IAM policies and roles. and you want to "implement" a new policy. But dev can change or remove them. SCP no then answer is A
upvoted 1 times
...
...
MrKhan
2 years, 6 months ago
A, is the best way to apply corporate policy to limit production account access in aws organization.
upvoted 1 times
...
AWS_Noob
2 years, 6 months ago
A - as it would be the best way. If you do what option B says, it will get the job done, but because it must be attached to multiple users it is a lengthy task. A SCP will blanket policy the entire Dev account. If B mentioned anything about applying the policy to a group of users where all the developers accounts reside, then it would have been correct
upvoted 3 times
YouYouYou
2 years, 6 months ago
1-no mention of organization 2-you can attach all users to the policy in a single click B is the answer
upvoted 1 times
...
...
XRiddlerX
2 years, 6 months ago
B, is my answer. Since there is no mention in the question that an Organization exists in the customers setup, A, does not apply. However, if the question did mention an Organization setup, A, would absolutely be the correct answer.
upvoted 3 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