Multiple Choice
A Developer uses Amazon S3 buckets for static website hosting. The Developer creates one S3 bucket for the code and another S3 bucket for the assets, such as image and video files. Access is denied when a user attempts to access the assets bucket from the code bucket, with the website application showing a 403 error. How should the Developer solve this issue?
A) Create an IAM role and apply it to the assets bucket for the code bucket to be granted access.
B) Edit the bucket policy of the assets bucket to open access to all principals.
C) Edit the cross-origin resource sharing (CORS) configuration of the assets bucket to allow any origin to access the assets.
D) Change the code bucket to use AWS Lambda functions instead of static website hosting.
Correct Answer:

Verified
Correct Answer:
Verified
Q168: A Developer has created a Lambda function
Q169: A company has an application that logs
Q170: A company is managing a NoSQL database
Q171: A Development team decides to adopt a
Q172: A developer has code stored in an
Q174: A company uses a third-party tool to
Q175: A Developer is designing an AWS Lambda
Q176: If an application is storing hourly log
Q177: A Developer is testing a Docker-based application
Q178: A developer is writing a new AWS