SAP-C02 · Question #22
A solutions architect is designing a publicly accessible web application that is on an Amazon CloudFront distribution with an Amazon S3 website endpoint as the origin. When the solution is deployed…
The correct answer is A. Remove the S3 block public access option from the S3 bucket. B. Remove the requester pays option trom the S3 bucket. See using S3 to host a static website with Cloudfront: https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-serve-static-website/ - Using a REST API endpoint as the origin, with access restricted by an origin access identity - Using a website endpoint as the…
Question
A solutions architect is designing a publicly accessible web application that is on an Amazon CloudFront distribution with an Amazon S3 website endpoint as the origin. When the solution is deployed, the website returns an Error 403: Access Denied message. Which steps should the solutions architect take to correct the issue? (Choose two.)
Options
- ARemove the S3 block public access option from the S3 bucket.
- BRemove the requester pays option trom the S3 bucket.
- CRemove the origin access identity (OAI) from the CloudFront distribution.
- DChange the storage class from S3 Standard to S3 One Zone-Infrequent Access (S3 One Zone-
- EDisable S3 object versioning.
How the community answered
(25 responses)- A92% (23)
- C4% (1)
- D4% (1)
Explanation
See using S3 to host a static website with Cloudfront: https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-serve-static-website/ - Using a REST API endpoint as the origin, with access restricted by an origin access identity - Using a website endpoint as the origin, with anonymous (public) access allowed - Using a website endpoint as the origin, with access restricted by a Referer header
Community Discussion
No community discussion yet for this question.