Courseiva
Question 454 of 981
Describe Azure architecture and serviceseasyMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A company wants to deploy a custom Linux-based application in Azure. They need full control over the operating system, including installing custom software and configuration. Which Azure compute service should they choose?

⚠ Common exam trap

Many exam-takers confuse 'full control over the OS' with container or serverless services, mistakenly thinking that Azure Container Instances or App Service provide similar flexibility, when in fact they abstract the OS layer entirely.

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 control over the operating system, allowing you to install custom software, configure the kernel, and manage system-level settings. This is the correct choice for a custom Linux-based application that requires complete OS-level access, unlike platform-as-a-service offerings that abstract away the underlying 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 Virtual Machines

    Why this is correct

    Azure Virtual Machines are an Infrastructure-as-a-Service offering where each VM has its own Linux guest OS running on a Microsoft-managed hypervisor. You have full root/administrator access, letting you install custom kernel modules, use specialized drivers, modify system configuration, and run any long-lived application. This provides the complete OS-level control the scenario requires.

  • Azure App Service

    Why it's wrong here

    Azure App Service is a fully managed Platform-as-a-Service; Azure handles the OS patching, scaling, and infrastructure, and you only deploy application code or a container. You have no direct access to the underlying VM or host, so you cannot install system-level packages, modify the kernel, or perform OS configuration. Even when using a custom Linux container, the host remains abstracted and outside your control.

    When this WOULD be correct

    A company wants to deploy a web application or API using a supported stack (e.g., .NET, Java, Node.js) without managing the underlying infrastructure. They need automatic scaling, built-in load balancing, and managed security patching, but do not require OS-level access.

  • Azure Container Instances

    Why it's wrong here

    Azure Container Instances runs container images on Azure-managed compute where all containers on a node share the host OS kernel. Although you can package your application and its user-space dependencies into the image, you cannot manage the OS kernel, load kernel modules, or change host-level system settings because the underlying virtual machines are wholly operated by the Azure platform. Isolation is provided via cgroups and namespaces, not a separate guest OS.

    When this WOULD be correct

    A company wants to deploy a containerized application quickly without managing underlying VMs, and they need fast startup and per-second billing. For example, a batch processing job that runs in a Docker container and requires no OS customization.

  • Azure Functions

    Why it's wrong here

    Azure Functions is a serverless Function-as-a-Service platform that triggers execution of small pieces of code for discrete events, with Azure managing the runtime and scaling automatically. You only supply code and configuration files, and the functions run in a managed, ephemeral sandbox with no capability to install OS software, access the host filesystem, or alter the execution environment. This model is opposite to full OS control and fits short-lived, event-driven workloads only.

    When this WOULD be correct

    A question that asks for a serverless compute service to run a small piece of code in response to an event (e.g., processing a blob upload) without managing infrastructure, where the code runs for a short duration and scales automatically.

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 are an Infrastructure-as-a-Service offering where each VM has its own Linux guest OS running on a Microsoft-managed hypervisor. You have full root/administrator access, letting you install custom kernel modules, use specialized drivers, modify system configuration, and run any long-lived application. This provides the complete OS-level control the scenario requires.

Azure App ServiceWrong answer — click to see why

Why this is wrong here

Azure App Service is a Platform-as-a-Service (PaaS) offering that does not provide full control over the underlying operating system; it restricts custom software installation and OS-level configuration, which is required for a custom Linux-based application needing full OS control.

★ When this WOULD be the correct answer

A company wants to deploy a web application or API using a supported stack (e.g., .NET, Java, Node.js) without managing the underlying infrastructure. They need automatic scaling, built-in load balancing, and managed security patching, but do not require OS-level access.

Why candidates choose this

Candidates may confuse App Service as a general compute option for any application, overlooking its PaaS limitations and the specific requirement for full OS control mentioned in the question.

Azure Container InstancesWrong answer — click to see why

Why this is wrong here

Azure Container Instances run containers without a full OS, so you cannot install custom software or configure the OS directly; it lacks the persistent VM-level control required for a custom Linux-based application with full OS access.

★ When this WOULD be the correct answer

A company wants to deploy a containerized application quickly without managing underlying VMs, and they need fast startup and per-second billing. For example, a batch processing job that runs in a Docker container and requires no OS customization.

Why candidates choose this

Candidates may confuse containers with lightweight VMs, assuming container instances provide similar OS-level control, or they may think 'custom Linux-based application' implies containerization without recognizing the need for full OS access.

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. It does not provide full OS-level control or support for installing custom software, making it unsuitable for deploying a custom Linux-based application requiring full OS access.

★ When this WOULD be the correct answer

A question that asks for a serverless compute service to run a small piece of code in response to an event (e.g., processing a blob upload) without managing infrastructure, where the code runs for a short duration and scales automatically.

Why candidates choose this

Candidates may confuse serverless with 'full control' or think that Azure Functions can run any application, not realizing it abstracts the OS and limits custom software installation.

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.