nerdexam
Amazon

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

Submitted by lars.no· Mar 30, 2026Security and Compliance

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)
  • A
    3% (1)
  • B
    72% (23)
  • C
    9% (3)
  • D
    16% (5)

Explanation

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content- restricting-access-to-s3.html

Topics

#CloudFront OAI#S3 bucket policy#origin access identity#content access restriction

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice