If the user wants to make the objects public, how can he configure this with minimal efforts?

Posted by: Pdfprep Category: AWS-SysOps Tags: , ,

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

Answer: C

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.

Leave a Reply

Your email address will not be published.