What is the result of the following bucket policy? Choose the correct answer:
A . It will allow all access to the bucket mybucket
B . It will allow the user mark from AWS account number 111111111 all access to the bucket but deny everyone else all access to the bucket
C . It will deny all access to the bucket mybucket
D . None of these
Answer: C
Explanation:
The policy consists of 2 statements, one is the allow for the user mark to the bucket and the next is the deny policy for all other users. The deny permission will override the allow and hence all users will not have access to the bucket.
Options A, B and D are all invalid because this policy is used to deny all access to the bucket mybucket
For examples on S3 bucket policies, please refer to the below Link: http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.htmll
The correct answer is: It will deny all access to the bucket mybucket Submit your FeedbacK/Quenes to our Experts
Leave a Reply