A user has created an S3 bucket which is not publicly accessible. The bucket is having thirty objects which are
also private. If the user wants to make the objects public, how can he configure this with minimal efforts?
A.
The user should select all objects from the console and apply a single policy to mark them public
B.
The user can write a program which programmatically makes all objects public using S3 SDK
C.
Set the AWS bucket policy which marks all objects as public
D.
Make the bucket ACL as public so it will also mark all objects as public
Explanation:
A system admin can grant permission of the S3 objects or buckets to any user or make the objects public using
the bucket policy and user policy. Both use the JSON-based access policy language. Generally if the user is
defining the ACL on the bucket, the objects in the bucket do not inherit it and vice a versa. The bucket policy
can be defined at the bucket level which allows the objects as well as the bucket to be public with a single
policy applied to that bucket.
Answer – C
https://aws.amazon.com/articles/5050
C.
Set the AWS bucket policy which marks all objects as public
Answer is C. Refer to:
To add a bucket policy that makes your bucket content publicly available
http://docs.aws.amazon.com/AmazonS3/latest/dev/HostingWebsiteOnS3Setup.html#step2-add-bucket-policy-make-content-public
C
c
C is for certification
C
C
C