Bird
0
0

Given an S3 bucket with static website hosting enabled and index document set to "home.html", what URL will serve the home page?

medium📝 service behavior Q4 of 15
AWS - S3 Fundamentals
Given an S3 bucket with static website hosting enabled and index document set to "home.html", what URL will serve the home page?
Ahttp://bucket-name.s3-website-region.amazonaws.com/index.html
Bhttp://bucket-name.s3-website-region.amazonaws.com/home.html
Chttp://bucket-name.s3.amazonaws.com/home.html
Dhttp://bucket-name.s3.amazonaws.com/index.html
Step-by-Step Solution
Solution:
  1. Step 1: Understand S3 website endpoint format

    The website endpoint uses the format http://bucket-name.s3-website-region.amazonaws.com/
  2. Step 2: Identify the index document URL

    Since index document is "home.html", the URL to access the home page is the endpoint plus "home.html".
  3. Final Answer:

    http://bucket-name.s3-website-region.amazonaws.com/home.html -> Option B
  4. Quick Check:

    Website URL uses s3-website endpoint + index file [OK]
Quick Trick: Website URLs use s3-website-region endpoint, not s3.amazonaws.com [OK]
Common Mistakes:
  • Using s3.amazonaws.com endpoint for website
  • Assuming index.html is default when set to home.html
  • Confusing object URL with website URL

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes