exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 573 discussion

Exam question from Amazon's AWS-SysOps
Question #: 573
Topic #: 1
[All AWS-SysOps Questions]

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?

  • A. Encrypt the S3 bucket content with Server-Side Encryption with Amazon S3-Managed Keys (SSE-S3)
  • B. Create an origin access identity and grant it permissions to read objects in the S3 bucket
  • C. Assign an IAM user to the CoudFront distribution and whitelist the IAM user in the S3 bucket policy
  • D. Assign an IAM role to the CloudFront distribution and whitelist the IAM role in the S3 bucket policy
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
saumenP
Highly Voted 2 years, 6 months ago
Origin access identity https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
upvoted 7 times
karmaah
2 years, 5 months ago
Yes. Ans should be OAI along with singed cookie / URL. Partial ans given.
upvoted 1 times
...
...
albert_kuo
Most Recent 9 months, 4 weeks ago
Selected Answer: B
By creating an origin access identity (OAI), the S3 bucket can be configured to only allow access from CloudFront. The OAI acts as a trusted entity that CloudFront uses to fetch objects from the S3 bucket on behalf of users. This allows the Administrator to restrict public access to the S3 bucket while still serving the content through CloudFront.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago