AZ-104 · topic practice

Virtual Machine practice questions

Practise questions on virtualization concepts cover hypervisor types, VM resource management, and host/guest relationships for AZ-104.

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.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: Virtual Machine

What the exam tests

What to know about Virtual Machine

Tests understanding of hypervisors, virtual machines, resource allocation, and host vs. guest OS requirements.

Identify Type 1 vs Type 2 hypervisors and their use cases.

Understand virtual machine resource allocation (CPU, RAM, storage).

Recognize host vs. guest operating system roles.

Know virtualization security and isolation requirements.

Why learners struggle

Why Virtual Machine questions are commonly missed

Learners often confuse Type 1 and Type 2 hypervisors, and misunderstand VM resource limits versus host capabilities. The abstract nature of virtualized hardware makes it hard to apply to real scenarios.

  • ·Type 1 vs Type 2 hypervisor — which runs directly on hardware.
  • ·Host vs guest OS — which controls physical resources.
  • ·Overcommitment — VM resources can exceed host physical limits.
  • ·Snapshot vs backup — snapshot is not a full backup.
  • ·Virtual switch vs physical switch — network isolation differences.
  • ·Hardware compatibility — guest OS may lack drivers for virtual hardware.

Watch out for

Common Virtual Machine exam traps

  • Confusing Type 1 hypervisor with Type 2 (e.g., VMware ESXi vs Workstation).
  • Thinking a VM can use more resources than the host has.
  • Assuming all hypervisors support the same guest OS features.
  • Forgetting that snapshots capture state, not backups.

Practice set

Virtual Machine questions

20 questions · select your answer, then reveal the explanation

A support engineer must start and restart one specific virtual machine from the Azure portal, but must not be able to delete the VM, change networking, or grant access to others. Which two actions should be included in a custom role? Select two.

Question 2mediummultiple choice
Read the full Virtual Machine explanation →

You create a private endpoint for an Azure Storage account. Virtual machines in VNet-Prod must resolve the storage account name to the private IP address of that endpoint. Which Azure feature should you configure?

Question 3mediummultiple choice
Read the full Virtual Machine explanation →

A support engineer must start, stop, and restart only one virtual machine named vm-app01. The engineer should not gain permissions on any other virtual machine in the subscription. What is the best scope for the role assignment?

Question 4mediummultiple choice
Read the full Virtual Machine explanation →

A team in RG-Apps must be able to start, stop, and deallocate virtual machines and read their properties. Built-in roles available to the team are broader than necessary. What should the administrator do?

Question 5mediummultiple choice
Read the full Virtual Machine explanation →

An Azure virtual machine was moved to a host that is experiencing intermittent issues. You need to move the VM to a different Azure host while keeping the existing managed disks and configuration. Which action should you perform?

Question 6mediummultiple choice
Read the full Virtual Machine explanation →

You need to view recommendations about underutilized virtual machines, security improvements, and cost-saving opportunities in Azure. Which service should you use?

A virtual machine scale set must increase instance count when average CPU exceeds 75 percent and decrease when it stays below 30 percent. What Azure feature should you configure?

An Azure subscription contains several resource groups. You need to ensure that users can create virtual machines only in regions approved by the security team. Existing noncompliant VMs can remain unchanged. What should you do?

An Azure application and an Azure Automation account need Azure access without any stored secrets. The same identity should be reusable and should not require manual secret rotation. Which two identity choices meet the requirement? Select two.

Question 10mediummultiple choice
Read the full Virtual Machine explanation →

Based on the exhibit, what does the query return?

Exhibit

AzureActivity
| where TimeGenerated >= ago(24h)
| where OperationNameValue == "Microsoft.Compute/virtualMachines/deallocate/action"
| where ActivityStatusValue == "Failed"
Question 11easymultiple choice
Read the full Virtual Machine explanation →

Based on the exhibit, help desk staff must restart virtual machines only in RG-App. What is the narrowest scope where you should assign the role?

Exhibit

Subscription: Sub-IT-01
Resource groups:
- RG-App
  - vm-app01
  - vm-app02
- RG-Shared
  - vm-dns01

Requirement:
- Help desk operators can restart VMs in RG-App only.
- They must not affect VMs in RG-Shared.
Question 12easymultiple choice
Read the full Virtual Machine explanation →

Based on the exhibit, what should the administrator create to let Alex restart one VM and read its properties without giving broader permissions?

Exhibit

Current access review:
- User: Alex
- Existing role: Virtual Machine Contributor
- Scope: RG-Training
- Requirement: Alex must read VM properties and restart only VM-Training01.
- Alex must not delete the VM, manage disks, or change networking settings.
Question 13mediummultiple choice
Read the full Virtual Machine explanation →

You create a private endpoint for an Azure Storage account. Virtual machines in VNet-App must resolve the storage account name to the private IP address of the endpoint. What should you configure?

Question 14hardmultiple choice
Review the full routing breakdown →

Traffic from VM-App01 is unexpectedly reaching the internet through a network virtual appliance. You need to determine which route is currently applied to the virtual machine network interface. Which Azure tool should you use?

Question 15mediummultiple choice
Read the full Virtual Machine explanation →

A security team wants operators in one resource group to start, stop, and restart virtual machines, but they must not create VMs, delete VMs, or manage disks and networking. What should the administrator configure?

Question 16mediummultiple choice
Read the full Virtual Machine explanation →

You deploy a private endpoint for an Azure Storage account. Virtual machines in VNet-App must resolve the storage account name to the private IP address of the endpoint instead of the public endpoint. What should you configure?

Question 17hardmultiple choice
Read the full Virtual Machine explanation →

You need to collect Windows event logs and performance counters from multiple Azure virtual machines and query the data by using Kusto Query Language. Which Azure resource should you use?

Question 18mediummultiple choice
Read the full Virtual Machine explanation →

You need to redeploy an Azure virtual machine to a new host while keeping the VM configuration and attached disks. Which action should you use in the Azure portal?

Question 19hardmultiple choice
Read the full Virtual Machine explanation →

You need to collect Windows event logs and performance counters from multiple Azure virtual machines and query the data centrally by using Kusto Query Language. Which Azure resource should you deploy?

Question 20mediummultiple choice
Read the full Virtual Machine explanation →

You need to deploy a group of identical Azure virtual machines and ensure they are distributed across fault domains and update domains to reduce the impact of host failures and planned maintenance. Which feature should you use?

Free account

Track your progress over time

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

Focused Virtual Machine sessions

Start a Virtual Machine only practice session

Every question in these sessions is drawn from the Virtual Machine 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 Virtual Machine?
Tests understanding of hypervisors, virtual machines, resource allocation, and host vs. guest OS requirements.
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 Virtual Machine questions in a focused session?
Yes — the session launcher on this page draws every question from the Virtual Machine 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.