Bird
0
0

Which of the following is the correct syntax to specify the index document in S3 static website hosting configuration?

easy📝 Configuration Q3 of 15
AWS - S3 Fundamentals
Which of the following is the correct syntax to specify the index document in S3 static website hosting configuration?
A"IndexDocument": {"Suffix": "index.html"}
B"IndexDocument": {"Name": "index.html"}
C"IndexDocument": "index.html"
D"IndexDocument": ["index.html"]
Step-by-Step Solution
Solution:
  1. Step 1: Recall S3 website configuration format

    The correct JSON format for index document uses a Suffix key inside IndexDocument object.
  2. Step 2: Match correct syntax

    "IndexDocument": {"Suffix": "index.html"} is the valid syntax for specifying the index file.
  3. Final Answer:

    "IndexDocument": {"Suffix": "index.html"} -> Option A
  4. Quick Check:

    Index document syntax = Use Suffix key inside object [OK]
Quick Trick: IndexDocument requires a Suffix key inside an object [OK]
Common Mistakes:
  • Using Name instead of Suffix
  • Providing a string instead of an object
  • Using array instead of object

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes