AZ-104 Practice Question 93: Blob Static Website
Microsoft Azure Administrator Associate (AZ-104) · Test 10 · question 3 of 10
A company wants to host a static site made of HTML, CSS and JavaScript from a storage account. The site must serve index.html at the root URL and show a custom error page for missing paths.
What should the administrator do?
Show answer and explanation
Answer:
The static website feature creates the $web container and a web endpoint that serves the index document at the root and the error document for missing paths. Content in $web is served publicly through that endpoint.
Option A exposes the blobs by URL, but nothing serves a default document or an error page.
Option B is wrong because Azure Files shares are not served as a website over the web endpoint.
Option C is wrong because queues store messages and cannot serve web pages.
Reference: Static website hosting in Azure Storage