AWS Certified SysOps Administrator – Associate (legacy) — Question 255
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?
Answer options
- 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
Correct answer: C
Explanation
The correct answer is C because setting the AWS bucket policy allows for a straightforward way to change the access level of all objects within the bucket to public in one action. Options A and B involve additional steps that are less efficient, while option D may not apply to individual objects if specific ACL settings are in place.