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

AZ-900 Describe Azure architecture and services Practice Question

A company needs to run a custom-built Windows application that requires full administrative access to the operating system, including the ability to install custom software and configure firewall rules. They also need to ensure the application is highly available by running multiple instances. Which Azure compute service should they use?

⚠ Common exam trap

Watch out — candidates often confuse Azure App Service's ability to run custom code with full OS control, but App Service restricts administrative access and does not allow OS-level configuration like firewall rules or custom software installation.

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 Virtual Machines

Azure Virtual Machines (VMs) provide full administrative access to the operating system, allowing you to install custom software, configure firewall rules, and manage the OS as needed. By deploying multiple VMs in an availability set or across availability zones, you can achieve high availability for the application. This makes VMs the correct choice for a custom Windows application requiring full OS control and multi-instance high availability.

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

    App Service is a PaaS offering that manages the OS. Customers cannot install custom software or configure the Windows firewall at the OS level. It is suitable for web apps but not for full administrative access.

    When this WOULD be correct

    A company needs to deploy a web application built on .NET or Node.js that does not require OS-level access, and they want automatic scaling and patching. Azure App Service would be the correct choice for such a PaaS scenario.

  • Azure Virtual Machines

    Why this is correct

    Azure Virtual Machines provides infrastructure as a service (IaaS) where you deploy a full virtualized Windows Server OS instance with dedicated vCPUs, memory, and disk. This grants complete administrative control to install any custom-built application, modify registry settings, enable Windows roles or features, and configure the built-in Windows Defender Firewall or third-party security tools. You can also place multiple VM instances in an availability set or zone to achieve high availability for the application, making this the only option that delivers true guest OS-level access equivalent to a physical server.

  • Azure Functions

    Why it's wrong here

    Azure Functions is a serverless, event-driven compute service that executes a single piece of code in response to triggers like HTTP requests or queue messages, with the platform automatically managing and scaling the underlying infrastructure. There is no persistent Windows OS instance to log into, install software, or configure firewall rules, and the execution environment is short-lived and stateless unless you attach external storage. This makes it unsuitable for a full custom-built Windows application that requires continuous uptime, administrative access, and the ability to run background services or long-running processes.

    When this WOULD be correct

    A company needs to run a lightweight, event-driven script that processes messages from a queue and scales automatically based on demand, without managing any infrastructure. Azure Functions would be the correct choice for this serverless, stateless workload.

  • Azure Container Instances

    Why it's wrong here

    Azure Container Instances runs containers in a managed environment that isolates processes but shares the underlying host OS kernel, meaning you cannot install a separate Windows OS instance or manage Windows Firewall, Windows Update, or device drivers from inside the container. While a Windows container can use a Windows base image, administrative access to the host is not possible, and any OS configuration is limited to what the container image exposes. This falls short for a custom application that requires full OS-level control, such as kernel-level modifications or direct hardware interaction.

    When this WOULD be correct

    A company needs to run a containerized application that is stateless and can be started quickly on demand, without managing underlying VMs or orchestrators. For example, a batch processing job that runs for a few minutes and then stops.

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 Virtual MachinesCorrect answer

Why this is correct

Azure Virtual Machines provides infrastructure as a service (IaaS) where you deploy a full virtualized Windows Server OS instance with dedicated vCPUs, memory, and disk. This grants complete administrative control to install any custom-built application, modify registry settings, enable Windows roles or features, and configure the built-in Windows Defender Firewall or third-party security tools. You can also place multiple VM instances in an availability set or zone to achieve high availability for the application, making this the only option that delivers true guest OS-level access equivalent to a physical server.

Azure App ServiceWrong answer — click to see why

Why this is wrong here

Azure App Service does not provide full administrative access to the OS; it is a platform-as-a-service (PaaS) offering that abstracts the underlying OS, preventing custom software installation and firewall rule configuration.

★ When this WOULD be the correct answer

A company needs to deploy a web application built on .NET or Node.js that does not require OS-level access, and they want automatic scaling and patching. Azure App Service would be the correct choice for such a PaaS scenario.

Why candidates choose this

Candidates may confuse App Service's support for custom domains and SSL with full OS control, or they may think 'custom-built' implies any custom code can run on App Service without considering OS access requirements.

Azure FunctionsWrong answer — click to see why

Why this is wrong here

Azure Functions is a serverless compute service designed for event-driven, short-lived tasks and does not support full administrative access to the OS, custom software installation, or persistent high-availability configurations with multiple instances.

★ When this WOULD be the correct answer

A company needs to run a lightweight, event-driven script that processes messages from a queue and scales automatically based on demand, without managing any infrastructure. Azure Functions would be the correct choice for this serverless, stateless workload.

Why candidates choose this

Candidates may confuse serverless computing with the ability to run any code, overlooking the lack of OS-level control and the stateless, short-lived nature of Functions.

Azure Container InstancesWrong answer — click to see why

Why this is wrong here

Azure Container Instances run containers, which share the host OS kernel and do not provide full administrative access to the operating system, nor allow installing custom software or configuring firewall rules at the OS level.

★ When this WOULD be the correct answer

A company needs to run a containerized application that is stateless and can be started quickly on demand, without managing underlying VMs or orchestrators. For example, a batch processing job that runs for a few minutes and then stops.

Why candidates choose this

Candidates may confuse containers with lightweight VMs, thinking they offer similar OS-level control, or they may assume that containers can be run with administrative privileges when they actually run in a restricted user space.

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?”

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.