Courseiva
Question 152 of 981
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A company wants to host a static website (HTML, CSS, JavaScript) that is accessed by users worldwide. They need a low-cost solution that provides high availability and global reach without managing servers. Which Azure service is most cost-effective for this scenario?

⚠ Common exam trap

Candidates often confuse Azure CDN as a standalone hosting service, but it is only a caching layer and requires an origin (like Blob Storage) to host the actual files.

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 with static website hosting

Azure Blob Storage with static website hosting is the most cost-effective solution because it allows you to host static content (HTML, CSS, JavaScript) directly from a storage container without provisioning any virtual machines or app service plans. It provides built-in high availability through geo-redundant storage (GRS) and global reach via integration with Azure CDN, while the pay-per-GB storage model and no compute costs keep expenses minimal.

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 Blob Storage with static website hosting

    Why this is correct

    Azure Blob Storage static website hosting enables you to serve HTML, CSS, and JavaScript directly from a storage container named $web. When enabled, Blob Storage automatically serves content over a public URL with no compute resources, charging only for storage and transactions. It scales automatically to handle traffic spikes and can be combined with Azure CDN for low-latency global delivery. This makes it the most cost-effective and operationally simple option for hosting static assets.

  • Azure App Service

    Why it's wrong here

    Azure App Service is a fully managed Platform-as-a-Service designed for hosting web applications that require server-side processing, such as ASP.NET, Node.js, or Python apps. Even though it can serve static files, it requires an App Service Plan that allocates compute capacity, so you pay for a background VM even when there is no traffic. For a static website with no server-side code, this introduces unnecessary cost and management overhead compared to Blob Storage's serverless model.

    When this WOULD be correct

    Azure App Service would be correct if the question specified a web application requiring server-side processing (e.g., ASP.NET, Node.js, PHP) or needing features like authentication, custom domains with SSL, or auto-scaling beyond static content.

  • Azure Virtual Machines

    Why it's wrong here

    Azure Virtual Machines are an Infrastructure-as-a-Service offering that gives you full control over a virtualized server environment. To host a static website on a VM, you would have to install and configure a web server, patch the operating system, manage security, and pay for compute capacity continuously, even during periods of no traffic. This approach is overkill for static HTML/CSS/JS content, which does not require a dedicated OS or server runtime, and results in significantly higher costs and operational complexity than using Blob Storage's static website hosting.

    When this WOULD be correct

    A company needs to run a custom web application with server-side code (e.g., ASP.NET, Java, PHP) that requires full control over the operating system and software dependencies, and is willing to manage the VM to meet specific compliance or performance requirements.

  • Azure CDN

    Why it's wrong here

    Azure CDN is a global content delivery network that accelerates the delivery of content by caching it at edge servers located near users. However, a CDN is not a hosting platform; it must pull content from an origin, such as Blob Storage, App Service, or a VM. Without an origin, there is nothing to distribute. Using only Azure CDN would require you to still deploy the static files somewhere else, making it an additional delivery layer, not a replacement for static website hosting.

    When this WOULD be correct

    A company has an existing static website hosted on Azure Blob Storage or App Service and wants to improve global load times and reduce latency for users worldwide. Azure CDN would be the correct answer to cache content at edge locations for faster delivery.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.

Azure Blob Storage with static website hostingCorrect answer

Why this is correct

Azure Blob Storage static website hosting enables you to serve HTML, CSS, and JavaScript directly from a storage container named $web. When enabled, Blob Storage automatically serves content over a public URL with no compute resources, charging only for storage and transactions. It scales automatically to handle traffic spikes and can be combined with Azure CDN for low-latency global delivery. This makes it the most cost-effective and operationally simple option for hosting static assets.

Azure App ServiceWrong answer — click to see why

Why this is wrong here

Azure App Service is a fully managed platform for web apps, but it is more expensive than Blob Storage for static content and requires a serverless plan or scaling configuration, making it less cost-effective for a simple static website.

★ When this WOULD be the correct answer

Azure App Service would be correct if the question specified a web application requiring server-side processing (e.g., ASP.NET, Node.js, PHP) or needing features like authentication, custom domains with SSL, or auto-scaling beyond static content.

Why candidates choose this

Candidates may think App Service is the go-to for hosting any website, overlooking that static sites can be served directly from storage at lower cost, and they may not fully understand the pricing differences.

Azure Virtual MachinesWrong answer — click to see why

Why this is wrong here

Azure Virtual Machines require managing the OS and web server, incurring costs for compute resources even when idle, and do not provide built-in global distribution or high availability without additional configuration, making them less cost-effective for a static website.

★ When this WOULD be the correct answer

A company needs to run a custom web application with server-side code (e.g., ASP.NET, Java, PHP) that requires full control over the operating system and software dependencies, and is willing to manage the VM to meet specific compliance or performance requirements.

Why candidates choose this

Candidates may think VMs are the standard way to host any website, overlooking that static sites can be served directly from storage, and they may underestimate the management overhead and cost of VMs for simple content.

Azure CDNWrong answer — click to see why

Why this is wrong here

Azure CDN is a content delivery network that accelerates content delivery but does not host the static website itself; it requires an origin server like Blob Storage or App Service. For a low-cost, serverless static website, Blob Storage with static website hosting is the direct and most cost-effective solution.

★ When this WOULD be the correct answer

A company has an existing static website hosted on Azure Blob Storage or App Service and wants to improve global load times and reduce latency for users worldwide. Azure CDN would be the correct answer to cache content at edge locations for faster delivery.

Why candidates choose this

Candidates may think CDN provides global reach and high availability, but they overlook that CDN is an add-on service, not a hosting platform. The question asks for the service to host the website, not just accelerate it.

Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

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

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.