exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 120 discussion

An IAM user is trying to perform an action on an object belonging to some other root account's bucket.
Which of the below mentioned options will AWS S3 not verify?

  • A. The object owner has provided access to the IAM user
  • B. Permission provided by the parent of the IAM user on the bucket
  • C. Permission provided by the bucket owner to the IAM user
  • D. Permission provided by the parent of the IAM user
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
If the IAM user is trying to perform some action on the object belonging to another AWS user's bucket, S3 will verify whether the owner of the IAM user has given sufficient permission to him. It also verifies the policy for the bucket as well as the policy defined by the object owner.
Reference:
http://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-auth-workflow-object-operation.html

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
Gorha
Highly Voted 3 years, 9 months ago
If D is the complete text it should be the answer. S3 will evaluate the policy attached by the parent of the account where the user belong to, which B.
upvoted 8 times
...
FERIN_01
Highly Voted 3 years, 7 months ago
B. as per AWS documentation. User context – If the requester is an IAM principal, the principal must have permission from the parent AWS account to which it belongs. In this step, Amazon S3 evaluates a subset of policies owned by the parent account (also referred as the context authority). This subset of policies includes the user policy that the parent attaches to the principal.
upvoted 5 times
...
amministrazione
Most Recent 10 months, 2 weeks ago
D. Permission provided by the parent of the IAM user
upvoted 1 times
...
SkyZeroZx
2 years ago
Selected Answer: B
Sure, I can add that information. Here is the updated answer: Answer: The answer is B. Explanation: AWS S3 will verify the following permissions when an IAM user tries to perform an action on an object belonging to some other root account's bucket: Permission provided by the bucket owner to the IAM user. The object owner has provided access to the IAM user. Permission provided by the parent of the IAM user on the bucket (also referred as the context authority). This subset of policies includes the user policy that the parent attaches to the principal. This is because the parent of an IAM user does not have any direct permissions on the bucket. The parent can only grant permissions to the IAM user, which the IAM user can then use to access the bucket.
upvoted 2 times
mnsait
7 months, 2 weeks ago
Nice. This phrase 'This is because the parent of an IAM user does not have any direct permissions on the bucket' clarifies for me. Thanks.
upvoted 1 times
...
SkyZeroZx
2 years ago
i used Bard for i have seems
upvoted 1 times
...
...
ROMEO1978
2 years, 3 months ago
Selected Answer: D
Ans should be D
upvoted 1 times
...
Yecine11y
3 years, 5 months ago
S3 will check all of them EXCEPT B, it will NOT check it https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-auth-workflow-bucket-operation.html Example 4: Bucket operation requested by an IAM principal whose parent AWS account is not the bucket owne
upvoted 2 times
...
cldy
3 years, 6 months ago
D. Permission provided by the parent of the IAM user
upvoted 2 times
...
Rudrajit
3 years, 7 months ago
Ans should be D
upvoted 1 times
...
01037
3 years, 7 months ago
It's D. https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-auth-workflow-bucket-operation.html Example 4: Bucket operation requested by an IAM principal whose parent AWS account is not the bucket owner
upvoted 2 times
...
TerrenceC
3 years, 8 months ago
Just want to reiterate what @MIU mentioned. Obviously, the question is to ask which access scenario that S3 will not verify the permission. Therefore, when we dig into the document... https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-auth-workflow-object-operation.html We could know the answer D meets its 1111-1111-1111 scenario, the answer C meets its 2222-2222-2222 scenario, and the answer A meets its 3333-3333-3333 scenario.
upvoted 4 times
...
MIU
3 years, 8 months ago
See the question...this is asking "not" one.
upvoted 1 times
...
Ganfeng
3 years, 8 months ago
My opinion is, it should be D, if you look at step 2.3 of https://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example2.html The Cross Account (B) need to give its IAM user the permission to access the said Bucket In Account A
upvoted 3 times
...
khksoma
3 years, 8 months ago
How can the parent of the IAM user provide access to a resource in a different account? It has to be the trusting account providing access.
upvoted 4 times
...
manoj101
3 years, 9 months ago
It should be D.
upvoted 3 times
...
VrushaliD
3 years, 9 months ago
even I think it should be D
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 ...