SOA-C02 · Question #159
A SysOps administrator is reviewing AWS Trusted Advisor warnings and encounters a warning for an S3 bucket policy that has open access permissions. While discussing the issue the bucket owner, the…
The correct answer is B. Create an origin access identity and grant it permissions to read objects in the S3 bucket. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content- restricting-access-to-s3.html
Question
A SysOps administrator is reviewing AWS Trusted Advisor warnings and encounters a warning for an S3 bucket policy that has open access permissions. While discussing the issue the bucket owner, the administrator realizes the S3 bucket is an origin for an Amazon CloudFront web distribution. Which action should the administrator take to ensure that users access objects in Amazon S3 by using only CloudFront URLs?
Options
- AEncrypt the S3 bucket content with Server-Side Encryption with Amazon S3-Managed Keys
- BCreate an origin access identity and grant it permissions to read objects in the S3 bucket.
- CAssign an IAM user to the CloudFront distribution and grant the user permissions in the S3 bucket
- DAssign an IAM role to the CloudFront distribution and grant the role permissions in the S3 bucket
How the community answered
(32 responses)- A3% (1)
- B72% (23)
- C9% (3)
- D16% (5)
Explanation
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content- restricting-access-to-s3.html
Topics
Community Discussion
No community discussion yet for this question.