Courseiva

AZ-104 · topic practice

Deploy and Manage Azure Compute practice questions

This domain covers provisioning and managing Azure virtual machines, scale sets, containers, and App Service, plus their networking, storage, and availability configuration. The exam tests it through scenario questions where you choose VM sizes, disks, availability options, ARM/Bicep or CLI/PowerShell deployment methods, and diagnose scaling, connectivity, or configuration failures across compute workloads.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Deploy and Manage Azure Compute

What the exam tests

What to know about Deploy and Manage Azure Compute

Candidates must deploy and manage VMs, scale sets, containers, and App Service using Azure CLI, PowerShell, or Bicep. The critical skill is configuring availability sets/zones and managed disks correctly, since these determine SLA and resilience.

Selecting VM sizes, disk types, and availability sets versus Availability Zones for SLA and redundancy

Deploying and configuring VM Scale Sets, including autoscale rules and instance management

Configuring Azure App Service plans, deployment slots, and container-based web app hosting

Managing compute with Azure CLI, PowerShell, ARM templates, and moving VMs between resource groups

Watch out for

Common Deploy and Manage Azure Compute exam traps

  • ▸Assuming a VM can be resized to any size without deallocating it first, or that resizing across clusters always succeeds without redeployment.
  • ▸Confusing Availability Sets with Availability Zones, then expecting zone-level fault isolation from an availability set deployment.
  • ▸Forgetting that managed disk type changes require the VM to be deallocated, and that some disk conversions are irreversible.

Practice set

Deploy and Manage Azure Compute questions

20 questions · select your answer, then reveal the explanation

You have an application that writes heavily to Azure-managed disks and requires the highest consistent IOPS and lowest latency. Which disk type should you choose?

You need to run a scheduled script on an Azure virtual machine every time the VM starts. Which feature should you use?

You are deploying a Windows Server VM for an internal app. The VM must support Secure Boot and vTPM later, its OS disk must survive host moves, and the team wants the lowest-cost managed disk tier that still behaves like a normal writable OS disk. Which two choices should you make? Select two.

An application runs on two identical VMs in a region that does not support availability zones. The app must keep running through planned maintenance and a single hardware fault, and the team does not want to add a second region. Which two deployment choices are appropriate? Select two.

A reporting application must run on an Azure VM with at least 8 vCPUs and 64 GiB of RAM. The team also wants headroom for short spikes without falling below the requirement. Which two VM sizes meet or exceed the requirement? Select two.

A build pipeline starts a Linux container once per request. Each run lasts about 12 minutes, never needs inbound connections, and should not leave an always-on server running afterward. Which two configuration choices best fit Azure Container Instances? Select two.

A reporting application needs an Azure VM with at least 8 vCPUs and 64 GiB of RAM. The workload is memory-heavy, and the team wants a reasonable starting point. Which VM family should the administrator choose?

A platform team maintains a hardened Windows VM with IIS, an agent, and local configuration files. They need to deploy 40 identical VMs in two regions, preserve version history, and roll back quickly if a new image causes problems. Which two actions should they take? Select two.

A support desk needs to reset the local administrator password on specific virtual machines by using the VMAccess extension and restart those VMs. They must not be able to resize the machines, change networking, or manage disks. What should the administrator create?

A business-critical application runs in a region that does not support availability zones. It uses two Azure VMs and must survive planned maintenance and a single host failure, but it does not need automatic scale-out. Which two actions should the administrator take? Select two.

An application runs on two VMs in one Azure region. The business wants protection from a single hardware host failure and planned maintenance, but it does not require protection from an entire datacenter outage. Which two choices should the administrator make? Select two.

A reporting application will run on a single Azure VM and needs 8 vCPUs, 64 GiB of RAM, and a temporary local disk for cache. The team wants a size that satisfies the requirement without oversizing memory or paying for an unnecessarily large specialty series. Which two VM sizes meet the requirement best? Select two.

A container group runs a one-time import task and should stop after the task completes successfully. Which restart policy should you use?

A batch container in Azure Container Instances should stop after a successful run and may retry only when the process fails. Which two restart policies are correct for that style of workload? Select two.

A data disk was accidentally deleted from a production VM. The team has a snapshot of that disk from the previous night and wants the fastest Azure-side recovery path with the least risk of overwriting the existing OS disk. What should the administrator do first?

A scale set of application VMs uploads JSON files to one blob container. The identity must not use secrets, must keep working if an instance is reimaged or replaced, and the same identity should be reusable across all instances. What should the administrator configure?

An administrator wants to deploy the same set of Azure VMs every sprint from source control and make code reviews capture every infrastructure change. Which three approaches meet this requirement? Select three.

The operations team wants to store the VM deployment definition in source control and deploy the same group of Azure VMs every sprint. The code should be readable and easy to review. What should they use?

Exhibit

Source control folder:
- /infra/main.bicep
- /infra/parameters/prod.bicepparam
- /infra/modules/vm.bicep
Snippet:
resource vm 'Microsoft.Compute/virtualMachines@2023-09-01' = {
  name: vmName
  location: location
}
Goal: Reuse the same definition for every sprint release.

You are designing a highly available application on Azure that will run on multiple virtual machines. The solution must meet the following requirements: • Distribute VMs across multiple fault domains and update domains within a single Azure region. • Guarantee that at least one VM instance is available during planned maintenance. • Support automatic recovery of VMs if a physical server fails. • Keep the VMs in the same datacenter to minimize latency. Which three options should you configure? (Choose three.)

Arrange the steps to assign a custom RBAC role to a user in Azure.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Deploy and Manage Azure Compute sessions

Start a Deploy and Manage Azure Compute only practice session

Every question in these sessions is drawn from the Deploy and Manage Azure Compute domain — nothing else.

Related practice questions

Related AZ-104 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AZ-104 exam test about Deploy and Manage Azure Compute?
Candidates must deploy and manage VMs, scale sets, containers, and App Service using Azure CLI, PowerShell, or Bicep. The critical skill is configuring availability sets/zones and managed disks correctly, since these determine SLA and resilience.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Deploy and Manage Azure Compute questions in a focused session?
Yes — the session launcher on this page draws every question from the Deploy and Manage Azure Compute domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AZ-104 topics?
Use the topic links above to move to related areas, or go back to the AZ-104 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AZ-104 exam covers. They are not copied from any real exam or dump site.