Topic 1 Question 242
An AWS account includes two S3 buckets: bucket1 and bucket2. The bucket2 does not have a policy defined, but bucket1 has the following bucket policy:
In addition, the same account has an IAM User named “alice”, with the following IAM policy.
Which buckets can user “alice” access?
bucket1 only
bucket2 only
Both bucket1 and bucket2
Neither bucket1 nor bucket2
ユーザの投票
コメント(6)
- 正解だと思う選択肢: C
bucket1 has a policy that explicitly allows user "alice" access to arn:aws:s3:::bucket1/*.
bucket2 has no bucket policy, but "alice"’s IAM policy allows access to arn:aws:s3:::bucket2/*.
Here's the access situation:
bucket1: User "alice" can access bucket1 because the bucket policy explicitly allows it.
bucket2: User "alice" can access bucket2 because her IAM policy grants her permission to it, and there is no bucket policy to restrict this access.
So, user "alice" can access both bucket1 and bucket2.
Therefore, the correct answer is C. Both bucket1 and bucket2.
👍 3IPLogic2024/12/05 - 正解だと思う選択肢: C👍 2siheom2024/11/27
- 正解だと思う選択肢: B
Its B since Alice's IAM policy only allows Bucket 2. Access to Bucket 1 will be denied unless this IAM Policy is updated.
👍 2SCSC02Q2024/12/29
シャッフルモード