
Answer-first summary for fast verification
Answer: Edit the S3 bucket permissions by turning off Block Public Access settings. Create a bucket policy to allow GetObject access on the S3 bucket.
By default, new S3 buckets have Block Public Access enabled. For static website hosting to be public, disable Block Public Access (account or bucket level), and add bucket policy allowing s3:GetObject for all on the bucket. Object ACLs not needed if policy allows. Route 53 not required for website endpoint.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company is using Amazon S3 to set up a temporary static website that is public. A SysOps administrator creates an S3 bucket by using the default settings. The SysOps administrator updates the S3 bucket properties to configure static website hosting. The SysOps administrator then uploads objects that contain content for index html and error html. When the SysOps administrator navigates to the website URL the SysOps administrator receives an HTTP Status Code 403: Forbidden (Access Denied) error. What should the SysOps administrator do to resolve this error?
A
Create an Amazon Route 53 DNS entry Point the entry to the S3 bucket.
B
Edit the S3 bucket permissions by turning off Block Public Access settings. Create a bucket policy to allow GetObject access on the S3 bucket.
C
Edit the permissions on the index html and error html files for read access.
D
Edit the S3 bucket permissions by turning off Block Public Access settings. Create a bucket policy to allow PutObject access on the S3 bucket.
No comments yet.