Courseiva
Describe Azure architecture and serviceseasyMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A developer wants to host a static website with HTML, CSS, and JavaScript files. Which Azure service is the MOST cost-effective option?

⚠ Common exam trap

Many candidates assume Azure App Service is the default choice for any website, overlooking that static content does not require a runtime environment, making blob storage the far more economical and architecturally appropriate option.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure Blob Storage static website hosting

Azure Blob Storage static website hosting is the most cost-effective option because it allows you to serve static content (HTML, CSS, JavaScript) directly from a storage container at a fraction of the cost of compute-based services. There is no need to provision or pay for virtual machines, app service plans, or orchestration layers, as the content is served via HTTP from Azure's highly durable and low-cost blob storage infrastructure.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure App Service

    Why it's wrong here

    Azure App Service is designed for hosting dynamic web applications that require server-side processing, such as ASP.NET, Node.js, or PHP. Even if you only deploy static files, App Service still runs on an App Service Plan that allocates dedicated compute instances (VMs) 24/7, resulting in continuous charges regardless of the actual workload. Additionally, it brings unnecessary features like auto-scaling, deployment slots, and built-in authentication that are overkill for a simple static site. Choosing App Service for static content means paying for compute horsepower that never executes code, which is far more expensive than Blob Storage.

  • Azure Blob Storage static website hosting

    Why this is correct

    Azure Blob Storage static website hosting is the most cost-effective option because it uses a built-in static website endpoint that serves content directly from a blob container. There is no compute resource to provision or pay for — you only incur storage costs and minimal data transfer fees. The service automatically scales to handle traffic spikes and requires no server administration, making it ideal for HTML, CSS, and JavaScript assets. This is a serverless hosting model, so you pay for exactly what you store and deliver, not for idle processing capacity.

  • Azure Virtual Machines

    Why it's wrong here

    Azure Virtual Machines provide full control over the OS and web server, but that flexibility comes with high operational and financial costs. You must select a VM size, pay for its compute capacity even when the site receives zero traffic, and handle OS patching, security updates, and web server configuration yourself. Hosting a static website on a VM requires maintaining an entire server infrastructure just to serve pre-rendered files, which is a classic anti-pattern for cost optimization. Additionally, ensuring high availability typically demands multiple VMs, load balancers, and storage accounts, exploding both complexity and expense.

  • Azure Kubernetes Service

    Why it's wrong here

    Azure Kubernetes Service is a container orchestration platform meant for running distributed, container-based applications that need dynamic scaling, service discovery, and rolling deployments. To host a static website on AKS, you would have to package the content into a container image, run a web server inside the container, and then manage a Kubernetes cluster with at least one node VM — all while paying for the control plane and underlying infrastructure. This is vastly over-engineered for static content; the operational overhead of managing pods, deployments, and ingress controllers brings no benefit for previously built files that could be served directly from blob storage. The cost and complexity are orders of magnitude higher than a serverless storage endpoint.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

About these practice questions

This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.