Bird
0
0

After enabling static website hosting on an S3 bucket, users receive 'Access Denied' errors when trying to access the site. What is the most probable misconfiguration?

medium📝 Debug Q6 of 15
AWS - S3 Fundamentals
After enabling static website hosting on an S3 bucket, users receive 'Access Denied' errors when trying to access the site. What is the most probable misconfiguration?
AThe bucket lifecycle policy is deleting objects too quickly
BThe bucket versioning is not enabled
CThe bucket policy does not allow public read access to the objects
DThe bucket encryption settings are misconfigured
Step-by-Step Solution
Solution:
  1. Step 1: Check Bucket Policy

    Verify if the bucket policy grants public read permissions (s3:GetObject) to everyone.
  2. Step 2: Confirm Public Access Settings

    Ensure that the bucket's public access settings do not block public reads.
  3. Final Answer:

    The bucket policy lacks public read permissions -> Option C
  4. Quick Check:

    Access Denied usually means missing public read access [OK]
Quick Trick: Access Denied means no public read permission [OK]
Common Mistakes:
MISTAKES
  • Assuming versioning affects website access
  • Confusing encryption with access permissions
  • Ignoring bucket policy and relying only on ACLs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes