Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Deploy and Manage Azure Compute practice sets

AZ-104 Deploy and Manage Azure Compute • Complete Question Bank

AZ-104 Deploy and Manage Azure Compute — All Questions With Answers

Complete AZ-104 Deploy and Manage Azure Compute question bank — all 0 questions with answers and detailed explanations.

204
Questions
Free
No signup
Certifications/AZ-104/Practice Test/Deploy and Manage Azure Compute/All Questions
Question 1mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy 20 identical Azure virtual machines that host the same web application. The solution must support automatic scale-out based on CPU usage and should minimize administrative overhead. What should you deploy?

Question 2hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A virtual machine named VM-App01 hosts a critical internal application. You need to protect the VM so that it can be restored if the VM is deleted or corrupted. The solution must provide centralized backup management and retention policies. What should you use?

Question 3mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to restore a deleted file from a backed-up Azure virtual machine without restoring the entire VM. Which Azure Backup capability should you use?

Question 4mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You deploy several Windows virtual machines and need to install Microsoft Antimalware on each VM without logging on manually. What should you use?

Question 5hardmultiple choice
Read the full Deploy and Manage Compute explanation →

Your company hosts an internal web app in Azure App Service. Access must be limited to users connecting from the corporate virtual network over private IP addresses only. What should you configure?

Question 6mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You plan to deploy two virtual machines that run the same line-of-business application. The VMs must remain available during planned maintenance of the Azure platform, but autoscaling is not required. What should you use?

Question 7mediummultiple choice
Read the full Deploy and Manage Compute 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 8hardmultiple choice
Read the full Deploy and Manage Compute explanation →

You have a virtual machine scale set that must increase the number of instances automatically when average CPU utilization exceeds 75 percent and decrease when utilization drops below 30 percent. What should you configure?

Question 9hardmultiple choice
Read the full Deploy and Manage Compute 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?

Question 10mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You plan to run a web application on Azure virtual machines and need protection against a single datacenter failure within an Azure region. Which deployment option should you use?

Question 11mediummultiple choice
Read the full Deploy and Manage Compute explanation →

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

Question 12hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A Windows VM fails to start after a configuration change. You need to capture screenshots and serial console output to troubleshoot the boot problem. Which feature should you use?

Question 13mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to reduce compute cost for a development virtual machine that is used only during business hours on weekdays. Which option provides the most direct built-in cost optimization?

Question 14hardmultiple choice
Read the full Deploy and Manage Compute explanation →

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?

Question 15mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to run a script on VM-App02 immediately after deployment to install a custom monitoring agent. The solution should not require opening additional inbound management ports. What should you use?

Question 16hardmultiple choice
Read the full Deploy and Manage Compute explanation →

You need to run a stateless web workload on Azure virtual machines and automatically increase or decrease instance count based on demand. You also want a single management boundary for the VM instances. Which solution should you deploy?

Question 17mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy several identical virtual machines and ensure that the failure of a single Azure host does not affect all of them. Which feature should you use?

Question 18mediummultiple choice
Read the full Deploy and Manage Compute 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 19mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy 25 identical Azure virtual machines for a web application and scale the number of instances automatically based on CPU demand. Which Azure compute feature should you use?

Question 20mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to run a script inside an Azure virtual machine after deployment to install application prerequisites. Which feature should you use?

Question 21mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy a set of identical Azure virtual machines that can automatically scale out during demand spikes and scale in when usage falls. Which Azure feature should you use?

Question 22mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy 30 identical Azure virtual machines for a web application and scale the instance count automatically based on CPU demand. Which Azure compute feature should you use?

Question 23hardmultiple choice
Read the full Deploy and Manage Compute explanation →

You need to ensure that a virtual machine is protected by Azure Backup and can be restored from centralized backup data if the VM is deleted. Which Azure resource should you configure first?

Question 24mediummultiple choice
Read the full Deploy and Manage Compute 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?

Question 25mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to run a PowerShell script inside a newly deployed Azure virtual machine to configure application settings immediately after deployment. Which feature should you use?

Question 26mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy 20 identical Azure virtual machines for a web application and automatically scale the number of instances based on CPU demand. Which Azure feature should you use?

Question 27hardmultiple choice
Read the full Deploy and Manage Compute explanation →

You are deploying a stateless web application on Azure virtual machines. The solution must automatically add and remove instances based on CPU demand and allow all instances to be managed as one logical group. Which Azure compute feature should you deploy?

Question 28easymultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business application must keep running even if one datacenter in an Azure region has an outage. Which deployment option should you choose for the VMs?

Question 29easymultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business app requires protection against a datacenter outage in a region that supports zones. You want the strongest placement resilience available for the VMs. What should you choose?

Question 30mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A company runs two identical Linux VMs for a stateless web app in an Azure region that supports availability zones. The business requires protection from a full datacenter outage, not just planned host maintenance. Which deployment choice best meets this requirement?

Question 31easymultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web app on Azure must add or remove instances automatically when CPU usage changes. Which service should you deploy?

Question 32easymultiple choice
Read the full Deploy and Manage Compute explanation →

A company has two application VMs in the same Azure region. The main requirement is to reduce downtime during planned host maintenance. The business does not require protection from a complete datacenter outage. Which option should you choose?

Question 33easymultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web service must handle traffic spikes by adding or removing instances automatically based on CPU usage. Which Azure service fits best?

Question 34easymultiple choice
Read the full Deploy and Manage Compute explanation →

A production workload must continue running if one entire Azure datacenter in the region becomes unavailable. The region supports availability zones, and you want the strongest placement option for a single VM. What should you choose?

Question 35hardmulti select
Read the full Deploy and Manage Compute explanation →

A developer has the Contributor role on a resource group. A Bicep deployment that creates a VM with a public IP fails with a policy denial, but the same template succeeds after the public IP resource is removed. Which two statements are true? Select two.

Question 36easymultiple choice
Read the full Deploy and Manage Compute explanation →

A web front end must automatically add or remove instances based on demand. The application is stateless and all instances should be managed as one group. Which Azure service should you use?

Question 37easymultiple choice
Read the full Deploy and Manage Compute explanation →

You want to deploy a resource group with Bicep and see the changes Azure plans to make before you apply them. Which command should you run?

Question 38easymultiple choice
Read the full Deploy and Manage Compute explanation →

You are creating a new Ubuntu VM and want it to create a local admin account and install packages automatically on the first boot. Which approach should you use?

Question 39easymultiple choice
Read the full Deploy and Manage Compute explanation →

You have already deployed a Windows Server VM. After provisioning, you need to run a PowerShell script once to configure an application and create a registry setting without logging in interactively. Which Azure feature should you use?

Question 40easymultiple choice
Read the full Deploy and Manage Compute explanation →

Before changing a production VM's data disk, you want a point-in-time copy that can be restored later without affecting the VM. What should you create?

Question 41easymultiple choice
Read the full Deploy and Manage Compute explanation →

You need to deploy a new Ubuntu VM that automatically creates an app user and installs packages the first time it boots. Which approach should you use?

Question 42easymultiple choice
Read the full Deploy and Manage Compute explanation →

You need to resize a VM to a larger size, but Azure says the target size is not available while the VM is running. What should you do first?

Question 43easymultiple choice
Read the full Deploy and Manage Compute explanation →

You want to preview what a Bicep deployment will change before you apply it to a resource group. Which command should you use?

Question 44easymultiple choice
Read the full Deploy and Manage Compute explanation →

Two application VMs are in the same Azure region. They must stay available during planned host maintenance, but the business does not require protection from a full datacenter outage. Which placement option should you use?

Question 45easymultiple choice
Read the full Deploy and Manage Compute explanation →

You deploy a Windows Server VM and need to run several PowerShell commands after deployment without signing in to the VM. Which Azure feature should you use?

Question 46easymultiple choice
Read the full Deploy and Manage Compute explanation →

Two app VMs must stay available during planned host maintenance in the same region. Datacenter-level redundancy is not required, but the VMs should be spread across update domains. What should you configure?

Question 47hardmultiple choice
Read the full NAT/PAT explanation →

A customer runs two Windows VMs in a region that does not support availability zones. The app can lose one VM but must keep running through planned maintenance and a single host failure. Which deployment pattern should you use?

Question 48hardmultiple choice
Read the full Deploy and Manage Compute explanation →

You need to resize a production VM from Standard_D2s_v5 to Standard_D4s_v5 by using Azure CLI. `az vm list-vm-resize-options` shows the target size, but `az vm resize` fails while the VM is running. Which action should you take first?

Question 49mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, the company will deploy two identical web server VMs in East US 2 behind a load balancer. The service must keep running if one datacenter in the region becomes unavailable. Which deployment choice best meets the requirement?

Exhibit

Region capabilities:
- East US 2: supports Availability Zones

Requirements:
- Deploy two identical web server VMs
- Keep the service available if one datacenter fails
- Use Azure Load Balancer for traffic distribution
Question 50hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web app runs on two Ubuntu VMs behind an Azure Load Balancer. The region supports availability zones. The business wants the app to survive a full datacenter outage and also avoid having both VMs on the same maintenance boundary. Which deployment should you choose?

Question 51easymatching
Read the full Deploy and Manage Compute explanation →

Match each Azure CLI command to the action it performs for a virtual machine.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Starts a stopped virtual machine without changing its disks or NICs.

Stops the VM and releases the compute host, which can reduce compute charges.

Moves the VM to a new Azure host to help resolve host-level issues.

Changes the VM size, such as moving from a smaller to a larger SKU.

Question 52hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 53mediummatching
Read the full Deploy and Manage Compute explanation →

Match each Azure VM administration requirement on the left with the most appropriate Azure CLI command on the right. Use each answer once.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

az vm deallocate

az vm redeploy

az vm resize

az snapshot create

az vm disk attach

Question 54hardmulti select
Read the full Deploy and Manage Compute explanation →

VM-App01 is responding slowly and appears to be on a degraded Azure host. You must keep the VM resource, keep its disks and NIC, and move it to fresh infrastructure before further troubleshooting. Which two actions can achieve that goal? Select two.

Question 55hardmulti select
Read the full Deploy and Manage Compute explanation →

A customer-facing service needs to survive a single datacenter outage in a zone-supported region. You do not need cross-region failover, but you do need Azure to spread instances without manual placement errors. Which two deployment choices satisfy that goal? Select two.

Question 56hardmulti select
Read the full NAT/PAT explanation →

A build agent VM is recreated from image every night. The OS can be lost on reimage, but build caches and artifacts must persist across rebuilds. The team also wants the cheapest OS storage option that supports this pattern. Which two choices should you make? Select two.

Question 57hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 58hardmulti select
Read the full Deploy and Manage Compute explanation →

A reporting server must be resized from 4 vCPU to 8 vCPU for a four-hour batch window. The VM name, NIC, private IP, and attached managed disks must stay the same, and the team accepts a brief outage during the change. Which two actions should you choose? Select two.

Question 59hardmulti select
Read the full NAT/PAT explanation →

A data disk on VM-Data01 was corrupted after a bad patch, and you already have a snapshot taken last night. The OS disk should remain unchanged. Which two actions should you take to restore only the data disk? Select two.

Question 60hardmulti select
Read the full NAT/PAT explanation →

A platform team has a generalized VM image that must be published to East US and West Europe today and patched later without overwriting the original build. They want Azure to keep version history and replicate the image to both regions. Which two actions or resources should they use? Select two.

Question 61mediummultiple choice
Read the full NAT/PAT explanation →

A developer packages an internal web app as a Linux container. The app must be published with built-in HTTPS, deployment slots, and autoscale, and the team does not want to manage OS patching or container hosts. Which Azure service should the administrator choose?

Question 62mediummultiple choice
Read the full Deploy and Manage Compute explanation →

After applying a custom image, a VM boots to a black screen with a blinking cursor. The OS never reaches the login prompt. The administrator needs the fastest way to inspect the boot process and view serial console output. What should be enabled or checked?

Question 63mediummulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 64easymultiple choice
Read the full Deploy and Manage Compute explanation →

A build pipeline needs to run a Linux container for 10 to 15 minutes at a time. The team does not want to manage servers, clusters, or an always-on VM. Which Azure service should be used?

Question 65mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A developer wants to publish an internet-facing application from source code. Required capabilities include built-in HTTPS, deployment slots, and autoscale, but the team does not want to manage the operating system. Which Azure service should the administrator choose?

Question 66mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless API must automatically add or remove identical VM instances when CPU usage crosses thresholds. The team also wants Microsoft to distribute instances across fault domains when possible. Which service should the administrator deploy?

Question 67hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 68mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless API runs on Azure VMs and experiences unpredictable traffic spikes during the day. The administrator must automatically add or remove identical VM instances based on CPU usage, and the platform should distribute instances across fault domains without manual placement. What should be used?

Question 69hardmulti select
Read the full Deploy and Manage Compute explanation →

A stateless application must keep serving traffic if one datacenter in the region fails, and it must also add or remove instances during daily load spikes. Which two deployment choices should the administrator make? Select two.

Question 70mediummulti select
Read the full Deploy and Manage Compute explanation →

One team needs to run a Linux container for about 15 minutes per request with no inbound traffic and no cluster to manage. Another team needs an internet-facing web app with built-in HTTPS, deployment slots, and autoscale. Which two Azure services should the administrator choose? Select two.

Question 71mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A public web application runs on two identical VMs behind a load balancer. The region supports availability zones. The business wants the app to keep serving traffic if one datacenter in the region becomes unavailable. What should the administrator use?

Question 72mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A Windows VM must automatically run a setup script after provisioning to install an agent, create a folder, and write configuration files. The administrator wants the script to be delivered through Azure management and run without a human signing in. What should be used?

Question 73mediummulti select
Read the full Deploy and Manage Compute explanation →

A Windows VM needs a one-time command run immediately after deployment, and a second VM must automatically install an agent and copy configuration files during provisioning. Which two Azure compute features should the administrator use? Select two.

Question 74mediummulti select
Read the full Deploy and Manage Compute explanation →

A developer wants to keep application data separate from the operating system so the VM can be rebuilt without losing files. Before making a risky change, the administrator also wants a fast rollback point for that data disk. Which two actions should the administrator take? Select two.

Question 75mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A team needs to run a Linux container for 15 to 20 minutes at a time, triggered by an external system. They do not want to manage servers, clusters, or a web framework. Which Azure service is the best fit?

Question 76easymultiple choice
Read the full Deploy and Manage Compute explanation →

A development team needs to run a Linux container for about 12 minutes each time a request is received. The team does not want to manage a server, cluster, or virtual machine. Which Azure service should the administrator use?

Question 77easymultiple choice
Read the full Deploy and Manage Compute explanation →

A build pipeline must run a Linux container for about 10 minutes per request. The team does not want to manage servers or a Kubernetes cluster. Which Azure service should the administrator choose?

Question 78easymultiple choice
Read the full Deploy and Manage Compute explanation →

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?

Question 79hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 80mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A reporting server VM will run an analytics engine that uses a large in-memory cache. Required minimums are 8 vCPUs and 64 GiB of RAM, and the workload benefits more from memory than from extra compute. Which Azure VM series is the best fit?

Question 81mediummultiple choice
Read the full Deploy and Manage Compute explanation →

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?

Question 82hardmulti select
Read the full Deploy and Manage Compute explanation →

A reporting server will run an analytics engine that needs 8 vCPUs and 64 GiB of RAM. Average CPU use is expected to stay moderate, but the workload is memory heavy and should not use a burstable SKU. Which two deployment choices best align with the requirement? Select two.

Question 83mediummulti select
Read the full Deploy and Manage Compute explanation →

Two workloads have different resilience requirements. Workload A must stay available if a single datacenter in the region fails. Workload B only needs protection from planned maintenance and a single hardware host failure. Which two deployment models should the administrator use? Select two.

Question 84hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 85mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A team standardizes 30 Windows VMs for a line-of-business application. They install IIS, a monitoring agent, and baseline security settings on one reference VM. Future deployments must use that same build and be easy to version. Which Azure feature should the administrator create?

Question 86hardmulti select
Read the full Deploy and Manage Compute explanation →

After applying a custom image, a Linux VM stops at a black screen before the sign-in prompt. The administrator cannot use RDP or SSH and needs the fastest way to inspect the boot process. Which two actions should they take? Select two.

Question 87mediummultiple choice
Read the full Deploy and Manage Compute explanation →

After a custom image is applied, a VM restarts to a black screen and never reaches the login prompt. The administrator needs the fastest way to inspect what happened during boot without logging into the guest OS. What should be enabled or reviewed first?

Question 88mediummulti select
Read the full Deploy and Manage Compute explanation →

A customer-facing application has two goals: it must keep running if one datacenter in the region fails, and it must be able to scale out automatically during daily peaks. Which two Azure compute choices best match those requirements? Select two.

Question 89hardmulti select
Read the full Deploy and Manage Compute explanation →

A development team wants to publish an internet-facing application directly from source code. The solution must support built-in HTTPS, deployment slots for safe testing, and autoscale as demand changes. Which two choices should the administrator select? Select two.

Question 90hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 91easymultiple choice
Read the full Deploy and Manage Compute explanation →

A developer wants to publish an internet-facing web application from source code. The solution must support built-in HTTPS, deployment slots for testing, and autoscale. The team does not want to manage servers. Which Azure service should the administrator recommend?

Question 92mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A build pipeline starts a containerized data-processing job every evening. Each run finishes in under 20 minutes, does not need persistent servers, and never receives inbound traffic. Which compute service best fits this workload?

Question 93mediummulti select
Read the full Deploy and Manage Compute explanation →

A Linux VM deployed from a custom image shows only a black screen after reboot, and SSH never becomes available. The administrator needs to inspect the startup process without logging into the OS. Which two Azure features should be used? Select two.

Question 94easymultiple choice
Read the full Deploy and Manage Compute explanation →

A customer-facing application runs on two Azure VMs. The business wants the application to stay available even if one datacenter in the Azure region has an outage. Which availability option should the administrator use?

Question 95hardmulti select
Read the full Deploy and Manage Compute explanation →

A stateless customer portal runs on Azure VMs and must keep serving traffic if an entire datacenter in the region fails. The operations team also wants the portal to add and remove instances automatically during daily spikes without managing a Kubernetes cluster. Which two Azure compute capabilities should the administrator configure? Select two.

Question 96hardmulti select
Read the full Deploy and Manage Compute explanation →

A Windows VM must install a monitoring agent, run a bootstrap script during provisioning, and download a configuration file from an Azure resource without storing any credentials in the script or on disk. Which two Azure compute features should the administrator use? Select two.

Question 97hardmulti select
Read the full Deploy and Manage Compute explanation →

A Windows VM must run a bootstrap script during provisioning to install a monitoring agent and write configuration files. The administrator does not want to log in interactively, and the script must be runnable again after the VM is rebuilt. Which two Azure compute components should be used? Select two.

Question 98easymultiple choice
Read the full Deploy and Manage Compute explanation →

A Windows VM must install an agent and copy a configuration file automatically after provisioning. The administrator wants Azure to run the setup step without logging into the VM manually. Which feature should be used?

Question 99mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A reporting server will run an in-memory analytics workload that needs 8 vCPUs and 64 GiB RAM. CPU usage is expected to stay moderate, but the application benefits most from memory capacity. Which VM family should the administrator choose as the starting point?

Question 100hardmulti select
Read the full Deploy and Manage Compute explanation →

A stateless web service runs on identical VMs and must keep serving traffic if Microsoft takes one datacenter out of service in the region. The load must also scale out automatically during peak hours, and instances should be spread across independent zone boundaries. Which two configurations should the administrator use? Select two.

Question 101easymultiple choice
Read the full Deploy and Manage Compute explanation →

After applying a custom image, a VM restarts to a black screen and never reaches the sign-in prompt. The administrator wants the fastest way to inspect the boot process without connecting to the guest OS. What should be used?

Question 102easymultiple choice
Read the full Deploy and Manage Compute explanation →

A Linux VM restarts after a configuration change and now stops before the sign-in prompt. The administrator cannot use SSH. Which Azure feature should be checked first to inspect the startup process?

Question 103hardmulti select
Read the full Deploy and Manage Compute explanation →

A build pipeline needs to run a Linux container for about 15 minutes whenever a request arrives. The job never needs inbound traffic, clustering, or persistent node management. A second workload is a public web app that needs built-in TLS, deployment slots, and autoscale. Which two Azure compute services should the administrator choose? Select two.

Question 104easymultiple choice
Read the full Deploy and Manage Compute explanation →

A reporting server will run an in-memory analytics application that needs 8 vCPUs and 64 GiB of RAM. The administrator wants a VM family that is a good fit for memory-heavy workloads. Which VM family should be chosen?

Question 105hardmulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 106easymultiple choice
Read the full Deploy and Manage Compute explanation →

An application uses two Azure VMs in the same datacenter and must continue through planned maintenance and a single hardware host failure. The administrator does not need separate datacenter protection. Which option should be used?

Question 107mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A company is deploying two Linux application VMs in Azure for a production workload. The region supports availability zones, and the business requires the workload to stay online if an entire datacenter in the region becomes unavailable. Which deployment choice best meets this requirement?

Question 108easymultiple choice
Read the full Deploy and Manage Compute explanation →

A container group runs a one-time import job in Azure Container Instances. After the job finishes successfully, it should not restart. Which restart policy should you choose?

Question 109easymulti select
Read the full Deploy and Manage Compute explanation →

A business wants a line-of-business VM workload to keep running if one Azure datacenter in the region goes offline. Which two deployment choices should the administrator use? Select two.

Question 110mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business app runs on two VMs in an Azure region that supports availability zones. The business wants protection from a datacenter failure and wants the VMs placed in different physical locations within the region. Which deployment choice should be used?

Question 111mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, what should the administrator do first to restore the missing data disk?

Exhibit

Recovery notes:
- VM: vm-finance-01
- Data disk: disk-finance-logs was deleted accidentally
- Snapshot: snap-finance-logs-2024-11-15 exists in the same subscription
- Goal: restore the disk with minimal impact to the operating system disk
Question 112easymatching
Read the full Deploy and Manage Compute explanation →

Match each Azure VM access feature to the task it supports.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Runs a script on a VM without opening inbound management ports.

Installs software or applies configuration during VM provisioning.

Lets users sign in to a VM with Entra identities.

Resets local administrator credentials or SSH configuration on a VM.

Question 113mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, what should the administrator do to meet the performance requirement without rebuilding the server?

Exhibit

VM summary:
Name: vm-web-01
Current size: Standard_D2s_v5
Average CPU over 24 hours: 91%
Average memory pressure: 87%
Business requirement: increase compute capacity while keeping the OS disk, installed applications, and data intact
Question 114easymultiple choice
Read the full Deploy and Manage Compute explanation →

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

Question 115hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A container group must run an image from a private Azure Container Registry without embedding registry credentials in the deployment. The same authentication method should be reusable by future container groups, and the application must continue to work if the container group is recreated. Which identity approach should the administrator use?

Question 116easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, what should the administrator do next so the VM can use the extra capacity on the resized data disk?

Exhibit

Command output:
- Azure portal shows: DataDisk01 size = 512 GiB
- Inside the guest OS, the partition still shows 256 GiB used and 256 GiB unallocated
- The application cannot write to the extra space yet
Question 117easymulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 118easymultiple choice
Read the full Deploy and Manage Compute explanation →

A data disk was accidentally deleted from a VM. You have a snapshot of that disk from before the deletion. What should you create first to restore the data with minimal impact to the VM's OS disk?

Question 119hardmultiple choice
Read the full NAT/PAT explanation →

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?

Question 120easymultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business app runs on a single Azure VM in a region that supports availability zones. The business wants the VM to keep running if one datacenter in the region becomes unavailable. Which deployment choice best meets this requirement?

Question 121easymulti select
Read the full Deploy and Manage Compute explanation →

An application needs more data disk capacity, but the VM can keep using the same managed disk. Which two statements are true when you resize a managed data disk? Select two.

Question 122hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A container group runs a one-time import job that writes data to an external system. If the job succeeds, the container must stop and stay stopped. If the job fails, it should automatically retry by restarting. Which restart policy should the administrator choose?

Question 123mediummultiple choice
Read the full Deploy and Manage Compute explanation →

An operations team maintains a hardened Windows Server image with application prerequisites and monitoring tools already installed. They want to deploy future VMs from the same versioned image in multiple subscriptions and promote a new build only after testing. Which Azure feature should they use?

Question 124hardmultiple choice
Read the full Deploy and Manage Compute explanation →

An administrator has already increased the size of a managed data disk attached to a running Windows VM. Azure now shows the larger disk size, but the application still cannot use the new capacity. What should the administrator do next?

Question 125mediummultiple choice
Read the full Deploy and Manage Compute explanation →

You deploy a Windows VM with an ARM template. During the first boot, it must install IIS, copy application files from storage, and run a bootstrap script. Which Azure feature should you add to the deployment?

Question 126mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which Azure feature should the administrator use to install software and run the bootstrap script during VM provisioning?

Exhibit

Provisioning requirement:
- A Windows VM is created from a marketplace image
- IIS must be installed automatically on first boot
- Application files must be copied from Azure Blob Storage
- A bootstrap script named bootstrap.ps1 must run after the VM starts
- No manual RDP steps are allowed
Question 127easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which image source should the administrator use to deploy the same approved server build again?

Exhibit

Deployment note:
- A Windows Server VM was patched, had the monitoring agent installed, and includes line-of-business software.
- The VM was generalized and captured for reuse.
- The team wants future VMs to start from the same approved build.
Question 128mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, what should the administrator configure so the container group can pull the private image without storing registry credentials?

Exhibit

Template excerpt:
```
resources:
- type: Microsoft.ContainerInstance/containerGroups
  name: cg-transform
  properties:
    containers:
    - name: transform
      properties:
        image: contoso.azurecr.io/transform:3.0
    imageRegistryCredentials: []
```
Requirement: the image is stored in Azure Container Registry and no username, password, or connection string may be embedded in the deployment
Question 129mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which restart policy should be configured for the container group?

Exhibit

Container group configuration:
- Name: cg-nightly-import
- Container image: contoso.azurecr.io/importer:1.2
- Job behavior: the process imports files, exits with code 0 on success, and should not run again until the next scheduled deployment
- Requirement: do not restart the container after successful completion
Question 130easymultiple choice
Read the full NAT/PAT explanation →

A team has an approved Windows VM that already includes their application, patches, and monitoring agent. They want future VMs to start with the same configuration. What should they use?

Question 131hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A web application runs in Azure App Service and uploads files to Azure Blob Storage. The storage account has shared key access disabled, and the app must not store secrets in configuration. If the App Service is deleted and recreated later, the storage access should be removed automatically with the app. What should you configure?

Question 132easymultiple choice
Read the full Deploy and Manage Compute explanation →

A workload needs more CPU and memory than the current Azure VM size provides. The administrator wants to increase compute capacity without redeploying the application. What should be done?

Question 133mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A container group in Azure Container Instances must pull a private image from Azure Container Registry without embedding registry credentials in the template. What should you configure?

Question 134easymatching
Read the full Deploy and Manage Compute explanation →

Match each VM identity concept to its best use.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Best for one VM; the identity is deleted with the VM.

Can be attached to multiple VMs.

Lets an app get Azure tokens without storing secrets.

Grants permissions to an Azure resource at a chosen scope.

Question 135mediummultiple choice
Read the full VPN explanation →

Administrators need to manage Linux virtual machines that do not have public IP addresses. They want to connect from a browser without installing a VPN client. Which Azure service should they use?

Question 136easymulti select
Read the full Deploy and Manage Compute explanation →

An administrator wants future VMs to start from the same approved server build as an existing generalized VM. Which two image sources can be used to create the new VM? Select two.

Question 137hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A new Windows VM must be deployed with an application installed, a configuration file copied from a storage account, and a bootstrap script run automatically after the operating system is provisioned. The operations team does not want to log in manually after deployment. What should they use?

Question 138easymatching
Read the full Deploy and Manage Compute explanation →

Match each Azure VM deployment concept to the description that best fits it.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Spreads VMs across fault and update domains within one datacenter.

Places VMs in separate datacenters within the same Azure region.

Reusable source for creating the same VM build again.

Defines CPU, memory, and temporary storage resources.

Question 139mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A managed data disk on a VM was deleted by mistake. You have a snapshot from before the deletion and want to restore the data with minimal impact to the VM's operating system disk. What should you do?

Question 140hardmultiple choice
Read the full NAT/PAT explanation →

A platform team has a hardened Windows Server VM that was generalized after patching, agent installation, and baseline configuration. They must deploy the same build to development, test, and production subscriptions, and they want a controlled way to publish newer versions later without rebuilding the image each time. What should they create first?

Question 141easymultiple choice
Read the full Deploy and Manage Compute explanation →

An application on an Azure VM has outgrown its current CPU and memory. The administrator wants to increase compute capacity without rebuilding the application or changing the VM image. What should be done?

Question 142mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A container group runs a nightly processing job in Azure Container Instances. The job should exit after completing successfully and should not restart automatically. Which restart policy should you configure?

Question 143easymultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business app will run on a single Azure virtual machine in a region that supports availability zones. The business wants the VM to keep running if one datacenter in the region fails. Which deployment choice should you use?

Question 144easymultiple choice
Read the full NAT/PAT explanation →

A team has an approved Windows VM that already includes patches, a monitoring agent, and line-of-business software. They want future VMs to start from that same build. What should they use?

Question 145mediummultiple choice
Read the full VPN explanation →

An operations team must administer Windows and Linux VMs that have no public IP addresses. They want to connect from a browser without installing a VPN client and without exposing RDP or SSH to the internet. Which Azure service should they deploy?

Question 146easymulti select
Read the full Deploy and Manage Compute explanation →

A managed data disk was accidentally deleted from a VM. A snapshot taken the day before is still available. Which two actions should the administrator perform to recover the data? Select two.

Question 147easymultiple choice
Read the full Deploy and Manage Compute explanation →

You are deploying a new Windows VM and want it to start with the same custom software and configuration that already exist on an approved production VM. What should you use as the source for the new VM?

Question 148mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which deployment change best meets the resilience requirement for the application VMs?

Exhibit

Environment notes:
- Region: East US 2
- Workload: two identical web VMs behind a load balancer
- Requirement: the application must keep running if one datacenter in the region becomes unavailable
- Current plan: both VMs would be placed in the same availability set
Question 149easymatching
Read the full Deploy and Manage Compute explanation →

Match each image or placement term to the administrator need it supports.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Used to deploy multiple new VMs from a prepared standard build.

Used to create a new VM that keeps the source machine's existing state.

Helps protect against host or maintenance failures inside one datacenter.

Helps protect against a full datacenter outage in a region.

Question 150easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which deployment choice should the administrator use to keep the application available if one datacenter in the Azure region fails?

Exhibit

Requirement note:
- ProductionApp must stay online during a single datacenter outage.
- Region: East US 2
- The region supports multiple availability zones.
- Two Windows VMs will host the app tier.
Question 151easymultiple choice
Read the full Deploy and Manage Compute explanation →

An application on an Azure VM needs more CPU and memory. The administrator wants to keep the same OS disk and installed apps, without redeploying the server. What should be done?

Question 152mediummultiple choice
Read the full Deploy and Manage Compute explanation →

Two legacy application VMs must survive planned maintenance and a single host failure. The vendor requires both VMs to stay in the same region, and a datacenter outage is not part of the requirement. What should the administrator use?

Question 153mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A team needs to deploy 25 identical Ubuntu VMs every month from source control. The deployment must be repeatable, and each VM must include a system-assigned managed identity at creation time. Which approach should be used?

Question 154easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which OS disk option best fits a development VM that is rebuilt often and does not need the disk contents to survive deallocation?

Exhibit

Development environment notes:
- The VM is recreated frequently from an image
- The OS disk contents do not need to be preserved after the VM is deallocated
- The team wants the lowest practical OS disk latency
- Data durability is not the top priority for this VM
Question 155easymultiple choice
Read the full Deploy and Manage Compute explanation →

A team deploys a Linux VM that must read secrets from Azure Key Vault without storing any usernames, passwords, or client secrets on the VM. What should the administrator enable on the VM?

Question 156mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A production application runs on three Azure VMs in the same region. The business requires the service to stay available if one entire datacenter in the region becomes unavailable because of a power or network outage. Which configuration best meets the requirement?

Question 157easymultiple choice
Read the full Deploy and Manage Compute explanation →

A production application runs on three Azure VMs in a region that supports availability zones. The business wants the application to remain available if one datacenter in the region fails. What should the administrator use?

Question 158easymultiple choice
Read the full Deploy and Manage Compute explanation →

An operations team must deploy 20 identical application VMs every sprint from source control and wants the deployment definition to be readable and repeatable. Which approach should they use?

Question 159mediummulti select
Read the full Deploy and Manage Compute explanation →

The operations team wants 3 to 8 identical Linux VM instances, with more instances added when average CPU stays above 70 percent for 10 minutes and removed when load falls. Which three settings should be configured? Select three.

Question 160hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A development VM is recreated from scratch every week. The team wants the operating system disk to boot as quickly as possible and does not need the OS disk contents to survive deallocation. Which disk choice should the administrator make?

Question 161easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, a Windows VM must install IIS and run a configuration script automatically right after deployment. The administrator does not want to sign in to the VM manually. Which Azure feature should be used?

Exhibit

Deployment requirement:
1. Create a new Windows VM from a standard image.
2. Install IIS after the VM is provisioned.
3. Run C:\Setup\install.ps1 automatically.
4. No interactive logon is allowed during deployment.
Question 162easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, the team wants a readable, repeatable deployment definition stored in source control. Which approach should they use for the Azure resources?

Exhibit

Repository plan:
- The operations team deploys the same VM and networking layout every sprint
- Changes must be easy to review in pull requests
- The team wants a declarative Azure deployment file
- Current sample file is lengthy JSON and hard to maintain
Question 163easymultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web application needs a group of identical Azure VMs that can automatically add more instances during the workday and remove them at night based on CPU usage. What should the administrator deploy?

Question 164mediummulti select
Read the full Deploy and Manage Compute explanation →

A stateless web tier must survive a datacenter outage in a region that supports availability zones, and the number of instances should increase during business hours. Which three actions should the administrator take? Select three.

Question 165hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless API must run 4 to 12 identical Windows VMs, scale out automatically when average CPU stays above 70% for 10 minutes, and distribute instances to improve resiliency. Deployments are defined in Bicep. Which Azure compute service should be used?

Question 166easymultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web application must automatically add VM instances during business hours and remove them at night based on CPU usage. Which Azure service should be deployed?

Question 167easymultiple choice
Read the full Deploy and Manage Compute explanation →

Two application VMs run in the same Azure region. The business wants to reduce the chance that both VMs are rebooted during planned host maintenance, but a datacenter outage is not part of the requirement. What should the administrator configure?

Question 168hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A release team needs to deploy the same hardened Windows image to VMs in three regions. They must keep approved versions, replicate images to each region, and be able to roll back to an earlier approved version without uploading a new VHD. What should they use as the image source?

Question 169easymultiple choice
Read the full Deploy and Manage Compute explanation →

A platform team must deploy the same group of Azure VMs every month from source control and wants the deployment to be repeatable and reviewable. Which approach should they use?

Question 170easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, the workload must keep running if an entire datacenter in the region becomes unavailable. The region supports availability zones. What should you deploy?

Exhibit

Business requirement:
- Three identical web VMs in one Azure region
- The service must survive a datacenter outage
- The environment can use zone-aware resources
- The team wants to spread the VMs across separate physical locations
Question 171hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business web tier consists of two Azure VMs in a region that supports availability zones. The business requirement is to survive a full datacenter outage in that region without deploying to a second region. What should the administrator use?

Question 172mediummultiple choice
Read the full Deploy and Manage Compute explanation →

After a Windows VM is deployed, an administrator must install IIS, copy application files, and run a post-deployment configuration script without connecting interactively to the server. Which Azure feature should be used?

Question 173mediummulti select
Read the full Deploy and Manage Compute explanation →

A development team needs a new Windows VM created from an approved hardened image, and IIS must be installed automatically after deployment. Which three actions should the administrator take? Select three.

Question 174mediummulti select
Read the full NAT/PAT explanation →

Two line-of-business VMs in a single region must stay available if one physical host is patched or fails. A zone failure is not part of the requirement. Which three actions should the administrator take? Select three.

Question 175easymultiple choice
Read the full Deploy and Manage Compute explanation →

A line-of-business app runs on two Azure VMs in the same region. The business wants to reduce the chance that both VMs are affected by the same planned host update. What should the administrator use?

Question 176mediummultiple choice
Read the full NAT/PAT explanation →

An operations team maintains a hardened Windows base image that includes patch baseline settings and monitoring agents. They need to publish new versions, replicate the image to another region, and deploy future VMs from the same controlled image source. What should they use?

Question 177mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless web application is hosted on an Azure virtual machine scale set. Traffic is predictable: CPU usage stays below 20% overnight, then rises above 70% during business hours. The administrator wants the instance count to increase automatically when average CPU stays high for 10 minutes and to decrease after demand drops. What should be configured?

Question 178easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, a stateless web app must add VM instances during business hours and remove them at night based on CPU usage. Which Azure service should the administrator deploy?

Exhibit

Scaling requirement:
- Workload is stateless
- Start with 2 instances
- Increase capacity when average CPU stays above 70% for 10 minutes
- Decrease capacity when demand drops
- All instances should run the same image and configuration
Question 179easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, which Azure compute service should you deploy for a stateless web app that needs more instances during business hours and fewer at night?

Exhibit

Monitoring summary:
- CPU averages 18% from 00:00 to 08:00
- CPU averages 74% from 09:00 to 17:00
- CPU averages 22% after 18:00
- The application is stateless and can run on any instance
Question 180easymultiple choice
Read the full Deploy and Manage Compute explanation →

An administrator needs to deploy a VM quickly using the same hardened operating system image that was approved by the security team. What should the administrator use as the source for the new VM?

Question 181easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, a workload must remain available even if one datacenter in an Azure region becomes unavailable. The region supports zone deployment. What should the administrator configure?

Exhibit

Business requirement:
- Application must survive a datacenter-level outage
- Azure region supports availability zones
- The workload can run from multiple instances
- The team wants to place instances in separate fault domains if possible
Question 182easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, the administrator needs to deploy a VM quickly using a preapproved hardened operating system image. Which source should be used when creating the VM?

Exhibit

Deployment notes:
- Security team published a hardened image
- The image has been validated for the organization
- New VMs should start from that exact image
- The administrator wants a straightforward image-based deployment
Question 183easymultiple choice
Read the full Deploy and Manage Compute explanation →

After a Windows VM is created, the administrator wants IIS installed and a configuration script run automatically without signing in to the server. Which Azure feature should be used?

Question 184hardmultiple choice
Read the full Deploy and Manage Compute explanation →

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?

Question 185easymultiple choice
Read the full Deploy and Manage Compute explanation →

A company hosts a stateless web application behind a load balancer. Traffic increases during the day and drops at night. The team wants Azure to automatically add or remove identical VM instances based on demand. What should the administrator deploy?

Question 186mediummulti select
Read the full Deploy and Manage Compute explanation →

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.

Question 187hardmultiple choice
Read the full Deploy and Manage Compute explanation →

A Windows VM must install IIS after provisioning and then run a script that registers the server with an internal API by using the VM's managed identity. The same steps must run automatically whenever the VM is deployed from Bicep. What should be added to the deployment?

Question 188easymultiple choice
Read the full Deploy and Manage Compute explanation →

An operations team wants to deploy the same set of Azure VMs every month from source control. The deployment should be readable, repeatable, and stored as code. What should they use?

Question 189mediummultiple choice
Read the full Deploy and Manage Compute explanation →

An online transaction app uses two identical VMs in an Azure region that supports availability zones. The business wants the app to stay available if an entire datacenter in the region fails. What should the administrator deploy?

Question 190easymultiple choice
Read the full Deploy and Manage Compute explanation →

Based on the exhibit, 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.
Question 191mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A stateless Linux API should start with 2 instances, scale out to 6 when average CPU stays above 75 percent for 10 minutes, and scale back in when load drops. Which Azure compute resource should the administrator deploy?

Question 192mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A development environment uses temporary test VMs that can be rebuilt at any time. The administrator wants the operating system disk to provide the lowest practical latency and does not need the disk data to survive a deallocate operation. Which OS disk option should be selected?

Question 193mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A web tier must use identical VMs, keep the desired instance count if one instance becomes unhealthy, and allow future horizontal expansion without creating VMs one by one. What should the administrator deploy?

Question 194easymultiple choice
Read the full NAT/PAT explanation →

Based on the exhibit, the business wants two Azure VMs to stay available if a host is patched or fails. A full datacenter outage is not part of the requirement. What should you use?

Exhibit

Workload notes:
- Region: East US
- Two application VMs will run in the same region
- Requirement: survive planned host maintenance and a host failure
- Requirement: no need for datacenter-level resilience
Question 195hardmultiple choice
Read the full Deploy and Manage Compute explanation →

An Azure VM backup job starts failing immediately after protection is enabled. The error states that the VM agent is not ready. The VM was created from a custom image and no extensions have ever installed successfully. What should the administrator verify first?

Question 196mediummultiple choice
Read the full Deploy and Manage Compute explanation →

A Windows Azure VM must download configuration data from Azure Key Vault during first boot. Security policy forbids storing passwords, certificates, or client secrets on the VM. What should the administrator configure?

Question 197easymultiple choice
Read the full Deploy and Manage Compute explanation →

A development VM is rebuilt often and does not need its operating system disk contents to survive deallocation. The team wants the lowest practical disk latency for the OS. Which disk option should the administrator choose?

Question 198hardmultiple choice
Read the full NAT/PAT explanation →

Two backend VMs must remain available if an Azure host is patched or fails. A full datacenter outage is not part of the requirement, and the team wants the VMs to stay in the same region with predictable east-west latency. Which placement option should the administrator choose?

Question 199mediummulti select
Read the full Deploy and Manage Compute explanation →

Which three of the following are valid ways to achieve high availability for a virtual machine workload running in Azure? (Choose three.)

Question 200mediummulti select
Read the full Deploy and Manage Compute explanation →

You are designing a containerized application deployment in Azure. Which three options must you consider when choosing between Azure Container Instances (ACI) and Azure Kubernetes Service (AKS)? (Choose three.)

Question 201mediummulti select
Read the full Deploy and Manage Compute explanation →

Which three of the following statements about Azure App Service plans are correct? (Choose three.)

Question 202mediummulti select
Read the full Deploy and Manage Compute explanation →

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.)

Question 203mediumdrag order
Read the full Deploy and Manage Compute explanation →

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

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 204mediumdrag order
Read the full DNS explanation →

Order the steps to configure Azure DNS for a custom domain.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Practice tests

Scored 10-question sessions with instant feedback and explanations.

AZ-104 Practice Test 1 — 10 Questions→AZ-104 Practice Test 2 — 10 Questions→AZ-104 Practice Test 3 — 10 Questions→AZ-104 Practice Test 4 — 10 Questions→AZ-104 Practice Test 5 — 10 Questions→AZ-104 Practice Exam 1 — 20 Questions→AZ-104 Practice Exam 2 — 20 Questions→AZ-104 Practice Exam 3 — 20 Questions→AZ-104 Practice Exam 4 — 20 Questions→Free AZ-104 Practice Test 1 — 30 Questions→Free AZ-104 Practice Test 2 — 30 Questions→Free AZ-104 Practice Test 3 — 30 Questions→AZ-104 Practice Questions 1 — 50 Questions→AZ-104 Practice Questions 2 — 50 Questions→AZ-104 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Manage Azure Identities and GovernanceImplement and Manage StorageDeploy and Manage Azure ComputeImplement and Manage Virtual NetworkingMonitor and Maintain Azure Resources

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Deploy and Manage Azure Compute setsAll Deploy and Manage Azure Compute questionsAZ-104 Practice Hub