AWS Certified Solutions Architect – Associate (SAA-C02) — Question 485

A law firm needs to share information with the public. The information includes hundreds of files that must be publicly readable. Modifications or deletions of the files by anyone before a designated future date are prohibited.
Which solution will meet these requirements in the MOST secure way?

Answer options

Correct answer: B

Explanation

Option B is correct because S3 Object Lock (which requires S3 Versioning to be enabled) provides true WORM (write once, read many) protection, guaranteeing that files cannot be deleted or overwritten until the retention period expires. Using an S3 bucket policy for static website hosting allows anonymous public read access, whereas IAM policies (Options A and D) only apply to authenticated AWS principals. Additionally, S3 Object Lock is applied at the bucket or object level, not at the folder level as suggested in Option D.