AWS SAA-C03 · SECURITY · Guide v1.1 (2026-10-29)

S3 Block Public Access + CloudFront OAC vs Public Bucket Policy

Quick Decision Rule: When Private S3 static assets must only be served through Amazon CloudFront, never directly from S3 URLs, choose Keep S3 Block Public Access enabled and restrict bucket policy to CloudFront Origin Access Control (OAC).

Trigger ConditionPrivate S3 static assets must only be served through Amazon CloudFront, never directly from S3 URLs
Recommended ChoiceKeep S3 Block Public Access enabled and restrict bucket policy to CloudFront Origin Access Control (OAC)
Classic TrapGranting s3:GetObject to Principal "*" exposes the bucket directly and bypasses CloudFront WAF and geo restrictions.
VerificationAudited on 2026-11-23 · Guide v1.1 (2026-10-29)

30-SECOND DECISION TRAP CHECK · SECURITY

Test your instinct

Static reports in S3 must be delivered globally through CloudFront while preventing anyone from accessing S3 bucket URLs directly. Which TWO steps satisfy this requirement? (Select TWO)

Primary Engineering Documentation

Related Security Decision Guides