Topic 1 Question 58
A company has a web server in the AWS Cloud. The company will store the content for the web server in an Amazon S3 bucket. A security engineer must use an Amazon CloudFront distribution to speed up delivery of the content. None of the files can be publicly accessible from the S3 bucket directly. Which solution will meet these requirements?
Configure the permissions on the individual files in the S3 bucket so that only the CloudFront distribution has access to them.
Create an origin access control (OAC). Associate the OAC with the CloudFront distribution. Configure the S3 bucket permissions so that only the OAC can access the files in the S3 bucket.
Create an S3 role in AWS Identity and Access Management (IAM). Allow only the CloudFront distribution to assume the role to access the files in the S3 bucket.
Create an S3 bucket policy that uses only the CloudFront distribution ID as the principal and the Amazon Resource Name (ARN) as the target.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
Answer B. Amazon CloudFront introduces Origin Access Control (OAC)
https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/👍 10100fold2024/04/18 - 正解だと思う選択肢: B
Option B: When you associate an OAI with a CloudFront distribution, it acts as a pseudo-user for the distribution, and you can configure S3 bucket permissions to grant access only to that OAI. This allows CloudFront to fetch and serve objects from the S3 bucket on behalf of the end-users without making the objects directly accessible from the S3 bucket.
👍 2nouns2024/06/28 - 正解だと思う選択肢: B
Correct answer is B. Set OAC to restrict access to S3 bucket to only CF distribution.
👍 1Raphaello2024/08/23
シャッフルモード