List of questions
Related questions
Question 343 - DVA-C01 discussion
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.
Your answer:
0 comments
Sorted by
Leave a comment first