🖥️ Azure Virtual Machines - AZ-104 Practice Questions

Deploy and manage VMs, availability sets, scale sets, disk encryption, and extensions.

12Questions Available
1Exam Domains

Practice Virtual Machines Questions Now

Start a timed practice session focusing on Azure Virtual Machines topics from the AZ-104 question bank.

Start AZ-104 Practice Quiz →

AZ-104 Virtual Machines Question Bank (12 Questions)

Browse all 12 practice questions covering Azure Virtual Machines for the AZ-104 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Deploy and manage Azure compute resources

    An e-commerce website experiences unpredictable traffic spikes. The team wants compute capacity to scale out automatically when CPU utilisation exceeds 75% and scale in when it drops below 30%. Which Azure service provides this capability?

    AAzure Virtual Machine Scale Sets (VMSS) with autoscale rules
    BAzure App Service with manual scaling
    CAzure Functions with a Consumption plan
    DAzure Container Instances

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  2. Question 2Deploy and manage Azure compute resources

    What is the purpose of custom script extension for Azure VMs?

    AAdding additional OS drives to a VM
    BRunning PowerShell or Bash scripts on a VM after deployment for configuration and software installation
    CBacking up VM data on a schedule
    DConfiguring VM networking settings post-deployment

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  3. Question 3Deploy and manage Azure compute resources

    What is an Azure VM Scale Set (VMSS)?

    AA grouping of VMs that share the same availability set
    BA service for deploying and managing a set of identical VMs that auto-scale based on demand or schedule
    CA reserved capacity block for VM deployments
    DA billing grouping for related VMs

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  4. Question 4Deploy and manage Azure compute resources

    A production application runs on two Azure virtual machines. The infrastructure team must ensure the VMs are never both unavailable during planned Azure maintenance events. What should be configured?

    APlace both VMs in the same Availability Zone
    BPlace both VMs in an Availability Set with two fault domains and two update domains
    CDeploy both VMs in separate Azure regions
    DEnable auto-shutdown on both VMs

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  5. Question 5Deploy and manage Azure compute resources

    What is the maximum number of VMs in a single Azure VM Scale Set (with flexible orchestration)?

    A100
    B1,000
    C3,000
    D10,000

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  6. Question 6Deploy and manage Azure compute resources

    Which Azure feature allows you to configure automatic OS image upgrades for VM Scale Sets?

    AAvailability sets
    BAutomatic OS image upgrade in VMSS
    CAzure Automation DSC
    DAzure Policy auto-remediation

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  7. Question 7Deploy and manage Azure compute resources

    How do you perform a zero-downtime update of application code in Azure VM Scale Sets?

    AUpdate all VM instances simultaneously
    BUse rolling upgrades or manual upgrades in batches to update instances progressively while maintaining overall availability
    CPerform updates during maintenance windows only
    DUpdate using Azure Backup and restore

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  8. Question 8Implement and manage storage

    Which type of Azure blob is used as the backing storage for Azure VM unmanaged disks and premium page file workloads?

    ABlock blobs
    BAppend blobs
    CPage blobs
    DFlat blobs

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  9. Question 9Deploy and manage Azure compute resources

    Which Azure VM feature allows you to capture the state of an OS disk at a point in time for backup or rollback?

    AVM snapshot
    BVM backup
    CVM generalization (sysprep)
    DAzure Site Recovery

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  10. Question 10Deploy and manage Azure compute resources

    What is the maximum OS disk size for a standard Azure VM?

    A1 TB
    B2 TB
    C4 TB
    D30 TB

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  11. Question 11Deploy and manage Azure compute resources

    What is the purpose of an Azure VM's 'data disk' versus 'OS disk'?

    AThey are identical; the naming is just organizational
    BOS disk contains the operating system and boot files; data disks provide additional storage for application data, databases, or files
    CData disks are faster than OS disks
    DOS disks are temporary; data disks are persistent

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz
  12. Question 12Deploy and manage Azure compute resources

    What is required to enable Azure Disk Encryption (BitLocker / DM-Crypt) on Azure VMs?

    ANo requirements — it is enabled by default
    BAn Azure Key Vault configured with the same region as the VM and disk encryption set permissions
    CA Premium storage SKU for the disk
    DAzure Defender for Servers enabled

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-104 Quiz

Key Virtual Machines Concepts for AZ-104

virtual machinevmavailability setvmssscale setdiskextensioncustom script

AZ-104 Virtual Machines Exam Tips

Azure Virtual Machines questions in AZ-104 are typically scenario-based. Focus on day-to-day Azure administration, identity, network, compute, storage, and monitoring. Priority concepts: virtual machine, vm, availability set, vmss, scale set, disk.

What AZ-104 Expects

  • Anchor your answer in prioritize operationally practical configurations and least-privilege administration.
  • Virtual Machines scenarios for AZ-104 are frequently mapped to Domain 2 (15-20%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where Virtual Machines interacts with identity, networking, governance, or monitoring patterns rather than appearing as an isolated question.
  • When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.

High-Value Virtual Machines Concepts

  • Know the core Virtual Machines building blocks cold: virtual machine, vm, availability set, vmss.
  • Review the edge-case features and limits for scale set, disk; these details are commonly used to differentiate answer choices.
  • Practice service-integration reasoning: how Virtual Machines pairs with Load Balancing, Backup & Recovery, App Service in real deployment patterns.
  • For AZ-104, explain why the chosen Virtual Machines design meets reliability, security, and cost expectations better than the alternatives.

Common AZ-104 Traps

  • Watch for forgetting scope inheritance and RBAC precedence.
  • Questions in Implement and Manage Storage often include distractors that look correct for Virtual Machines but violate least-privilege, compliance, or availability requirements.
  • Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
  • If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.

Fast Review Checklist

  • Can you compare at least two Virtual Machines implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to Implement and Manage Storage (15-20%) outcomes for AZ-104?
  • Can you explain security and access boundaries for Virtual Machines without relying on default-open assumptions?
  • Can you describe how Virtual Machines integrates with Load Balancing and Backup & Recovery during failure, scaling, and monitoring events?

Exam Domains Covering Virtual Machines

Related Resources

More AZ-104 Study Resources