Bird
0
0

Which of the following is the correct way to enable static website hosting on an S3 bucket?

easy📝 Configuration Q12 of 15
AWS - S3 Fundamentals
Which of the following is the correct way to enable static website hosting on an S3 bucket?
AEnable 'Static website hosting' in bucket properties and specify index document
BSet bucket policy to private and upload files
CCreate an IAM user with full access to the bucket
DAttach an EC2 instance to the bucket
Step-by-Step Solution
Solution:
  1. Step 1: Locate the static website hosting setting

    In the S3 bucket properties, there is an option to enable static website hosting where you specify the index document.
  2. Step 2: Understand the correct configuration

    Enabling static website hosting and setting the index document allows the bucket to serve web pages correctly.
  3. Final Answer:

    Enable 'Static website hosting' in bucket properties and specify index document -> Option A
  4. Quick Check:

    Enable hosting + index document = correct setup [OK]
Quick Trick: Enable hosting in properties and set index file name [OK]
Common Mistakes:
  • Leaving bucket policy private without public read
  • Confusing IAM user creation with hosting setup
  • Trying to attach EC2 to S3 bucket

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes