Interview Prep/AWS/Route 53, CloudFront and Messaging

CloudFront returns 403 from an S3 origin. List the checks.

IntermediateScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → It's usually OAC or bucket policy, or a missing object.

What I'd do →

  1. Verify the bucket policy allows cloudfront.amazonaws.com with AWS:SourceArn equal to the distribution ARN
  2. Check the origin uses OAC and the correct bucket regional domain
  3. Check the object key exists, since missing keys return 403 without s3:ListBucket
  4. Check SSE-KMS key policy allows CloudFront
  5. Inspect with curl -I https://d111.cloudfront.net/index.html

Why → S3 hides existence of keys from principals lacking list permission, producing 403 instead of 404.

Interview tip → KMS-encrypted origins need extra OAC key policy.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging