A developer uses Amazon S3 to store user uploads. They must prevent public access, enable server-side encryption, and log all access to a designated prefix for compliance. Which configuration best satisfies these requirements?

Answer

Enable bucket public access block, set a default bucket encryption using SSE-KMS, and configure S3 server access logging to a target bucket/prefix

Explanation

Public access blocks remove accidental exposure, default SSE-KMS ensures encryption-at-rest without relying on client headers, and server access logging provides audit trails.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list