exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 140 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 140
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A Security Engineer manages AWS Organizations for a company. The Engineer would like to restrict AWS usage to allow Amazon S3 only in one of the organizational units (OUs). The Engineer adds the following SCP to the OU:

The next day, API calls to AWS IAM appear in AWS CloudTrail logs in an account under that OU.
How should the Security Engineer resolve this issue?

  • A. Move the account to a new OU and deny IAM:* permissions.
  • B. Add a Deny policy for all non-S3 services at the account level.
  • C. Change the policy to:
  • D. Detach the default FullAWSAccess SCP.
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
Raphaello
1 year, 3 months ago
Selected Answer: D
CORRECTION: D is the correct answer. Somehow I missed that the case asks to restrict S3 access "in one of the organizational units". Detaching default "FullAWSAccess" on the OU level will do that. Option D! My mistake!
upvoted 1 times
...
Raphaello
1 year, 4 months ago
Selected Answer: B
Yaay..let's remove the default FullAWSAccess and paralyze everything to allow only S3 for an OU! Cannot remove default "FullAWSAccess" inherited from root. B is better answer, but it is "at the account level" on OU level!
upvoted 1 times
Raphaello
1 year, 3 months ago
CORRECTION: D is the correct answer. Somehow I missed that the case asks to restrict S3 access "in one of the organizational units". Detaching default "FullAWSAccess" on the OU level will do that. Option D! My mistake!
upvoted 1 times
...
...
yorkicurke
1 year, 6 months ago
Selected Answer: D
Very Badly worded. arghh
upvoted 1 times
...
ytjugyjhdty
1 year, 11 months ago
Selected Answer: D
D - You can dettach FullAWSAccess from the rest of OU
upvoted 1 times
...
gerches
2 years, 1 month ago
Selected Answer: D
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_inheritance_auth.html
upvoted 1 times
...
321swa
2 years, 2 months ago
B-attach deny policy to target aws account in OU to restrict the account to use only s3 service. even if we detach FullAWSAccess SCP policy from target account, there may be a chance that it inherits the SCP policy applied at root level or OU level granting access to other services. So it is best to attach the deny policy to target account as explicit deny always overrides
upvoted 3 times
...
Teknoklutz
2 years, 5 months ago
Selected Answer: C
Question says "adds the following SCP to the OU" which means,user would have detached default one
upvoted 1 times
Ell89
2 years, 3 months ago
no, it doesnt. you can have multiple SCPs attached.
upvoted 2 times
...
...
ele
2 years, 9 months ago
Selected Answer: D
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. To allow a service API to operate in an AWS account, you must create your own SCPs and attach them to the account and every OU above it, up to and including the root.
upvoted 2 times
...
sapien45
2 years, 9 months ago
Selected Answer: D
https://docs.aws.amazon.com/organizations/latest/APIReference/API_DetachPolicy.html Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess policy with an SCP that limits the permissions that can be delegated, you must attach the replacement SCP before you can remove the default SCP. This is the authorization strategy of an "allow list".
upvoted 2 times
vbal
2 years, 9 months ago
But as per the question: adds the following SCP to the OU which is not enough if we go by Allow strategy as it requires all the hierarchy above it till root need to have the same policy attached for this strategy to work. So I would go by adding specific deny for all non-s3.
upvoted 6 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 ...