Topic 1 Question 66
2 つ選択A security engineer is configuring account-based access control (ABAC) to allow only specific principals to put objects into an Amazon S3 bucket. The principals already have access to Amazon S3.
The security engineer needs to configure a bucket policy that allows principals to put objects into the S3 bucket only if the value of the Team tag on the object matches the value of the Team tag that is associated with the principal. During testing, the security engineer notices that a principal can still put objects into the S3 bucket when the tag values do not match.
Which combination of factors are causing the PutObject operation to succeed when the tag values are different?
The principal's identity-based policy grants access to put objects into the S3 bucket with no conditions.
The principal's identity-based policy overrides the condition because the identity-based policy contains an explicit allow.
The S3 bucket's resource policy does not deny access to put objects.
The S3 bucket's resource policy cannot allow actions to the principal.
The bucket policy does not apply to principals in the same zone of trust.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: AC
correct
👍 3oioi2024/05/23 BDE Don't appear to make much sense. So A C it is.
The resource policy should be setup to DENY if a tag DOES NOT MATCH the desired tags. Not ALLOW the tag listed alone. Otherwise, a IAM policy without conditions may be enough to provide access. Not a fan of this question as it leaves a ton up in the air but hey..
👍 3[Removed]2024/05/24- 正解だと思う選択肢: AC
https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html Look out for step 2- create ABAC policy example. To ensure that resources is only granted when principal and resource tag match, there should be condition for the access, and disallow when tag not match.
👍 2Daniel762024/06/10
シャッフルモード