Which TWO of the following Azure storage services support hosting static websites?
Trap 1: Azure Cosmos DB
Cosmos DB is a multi-model NoSQL service built for globally distributed document, key-value, column-family, and graph workloads. It exposes SQL/MongoDB/Cassandra-compatible APIs and stores data in partitions, but it has no concept of static files, no web server endpoint, and cannot serve HTML/JS/CSS to browsers as a hosted website.
Trap 2: Azure NetApp Files
Azure NetApp Files is an enterprise-grade file service backed by NetApp ONTAP, providing high-performance NFS and SMB shares for HPC, SAP, and VDI workloads. It operates at the file-system protocol layer over the network and has no HTTP-based content serving, no `$web` container, and no static website hosting capability.
Trap 3: Azure Files
Azure Files provides managed SMB and NFS file shares for lift-and-shift migrations, shared application data, and Azure File Sync scenarios. It presents a standard file share path (e.g., UNC or mount point) and has no HTTP/S static content engine, so it cannot translate a directory of HTML files into a browsable, publicly accessible website.
- A
Azure Storage Account (general-purpose v2)
A general-purpose v2 storage account is the management object that exposes the static website feature. When you enable the 'Static website' property, Azure provisions a dedicated web endpoint and a hidden `$web` blob container that serves your HTML, CSS, and JavaScript files with HTTP GET requests, supporting custom domains and CDN integration.
- B
Azure Cosmos DB
Why wrong: Cosmos DB is a multi-model NoSQL service built for globally distributed document, key-value, column-family, and graph workloads. It exposes SQL/MongoDB/Cassandra-compatible APIs and stores data in partitions, but it has no concept of static files, no web server endpoint, and cannot serve HTML/JS/CSS to browsers as a hosted website.
- C
Azure NetApp Files
Why wrong: Azure NetApp Files is an enterprise-grade file service backed by NetApp ONTAP, providing high-performance NFS and SMB shares for HPC, SAP, and VDI workloads. It operates at the file-system protocol layer over the network and has no HTTP-based content serving, no `$web` container, and no static website hosting capability.
- D
Azure Blob Storage
Azure Blob Storage is the actual object storage service where static website hosting is implemented. When enabled on a general-purpose v2 account, Blob Storage creates a `$web` container and serves the contents via a dedicated static website endpoint, allowing index document and 404 error document customization, though SAS tokens are not supported on that public web endpoint.
- E
Azure Files
Why wrong: Azure Files provides managed SMB and NFS file shares for lift-and-shift migrations, shared application data, and Azure File Sync scenarios. It presents a standard file share path (e.g., UNC or mount point) and has no HTTP/S static content engine, so it cannot translate a directory of HTML files into a browsable, publicly accessible website.