A company wants to serve content from an S3 bucket via Amazon CloudFront and ensure that users can ONLY access the bucket through CloudFront, not via direct S3 URLs. How should this be implemented?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Use Origin Access Control (OAC) or Origin Access Identity (OAI)

OAC/OAI allows CloudFront to authenticate with the private S3 bucket, preventing direct public access to S3....

📋Part of AWS Certified Solutions Architect – Associate (SAA-C03) · AWS Certification Practice
Real Exam ScenarioAmazon CloudFront

A company wants to serve content from an S3 bucket via Amazon CloudFront and ensure that users can ONLY access the bucket through CloudFront, not via direct S3 URLs. How should this be implemented?

✓ Correct Answer & ExplanationAmazon CloudFront

Correct Answer

Use Origin Access Control (OAC) or Origin Access Identity (OAI)

Why This Answer Is Correct

OAC/OAI allows CloudFront to authenticate with the private S3 bucket, preventing direct public access to S3.

📚 What This Question Tests

This question evaluates your knowledge of Amazon CloudFront — a core concept tested in AWS Certified Solutions Architect – Associate (SAA-C03). Understanding Amazon CloudFront is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.