AZ-104 Practice Question 93: Blob Static Website

Microsoft Azure Administrator Associate (AZ-104) · Test 10 · question 3 of 10

Storageeasy

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?

Select one answer
Show answer and explanation

Answer:

  • D. Enable static website hosting and upload the files to the $web container

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

Practice Test 10 ›

Study guides for AZ-104