nerdexam
Microsoft

AZ-305 · Question #427

Hotspot Question You have an Azure subscription. The subscription contains virtual machines that run Windows Server. You are designing a disaster recovery solution that will immediately deploy a new v

The correct answer is Service:: Azure Site Recovery; Artifact:: An Azure Resource Manager (ARM) template. This hotspot question tests knowledge of Azure DevOps services and Azure Compute Gallery artifacts for automated, IaC-based virtual machine deployments managed through CI/CD pipelines.

Submitted by klara.se· Mar 6, 2026Design business continuity solutions

Question

Hotspot Question You have an Azure subscription. The subscription contains virtual machines that run Windows Server. You are designing a disaster recovery solution that will immediately deploy a new virtual machine when an existing virtual machine fails. The solution must meet the following requirements: - New virtual machines must be deployed with all the required configurations in place. - Virtual machine deployments must use an infrastructure as code (IaC) methodology. - New virtual machines must be created by using standard Microsoft disk images. - New virtual machines must be authorized by virtual machine administrators. - Virtual machine deployments must be managed by using CI/CD pipelines. You need to recommend which service to use to manage the virtual machine deployment process and which artifact to use to create each virtual machine. What should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-305 question #427 exhibit

Answer Area

  • Service:Azure Site Recovery
    Azure Compute GalleryAzure DevOps ServicesAzure Site RecoveryAzure VM Image Builder
  • Artifact:An Azure Resource Manager (ARM) template
    An Azure Resource Manager (ARM) templateA Desired State Configuration (DSC) fileA generalized virtual machine imageA specialized virtual machine image

Explanation

This hotspot question tests knowledge of Azure DevOps services and Azure Compute Gallery artifacts for automated, IaC-based virtual machine deployments managed through CI/CD pipelines.

Approach. For managing the virtual machine deployment process via CI/CD pipelines, Azure DevOps Pipelines is the correct service - it orchestrates the IaC-based deployment workflow, enforces approvals (authorization by VM administrators via pipeline gates/approvals), and integrates with code repositories. For the artifact used to create each virtual machine, an Azure Compute Gallery image (specifically a VM Image Definition/Version stored in Azure Compute Gallery) is correct because it uses standard Microsoft disk images as a base, supports versioning, and enables standardized, repeatable VM provisioning. Together, Azure DevOps Pipelines triggers deployments using ARM templates or Bicep (IaC), and the Compute Gallery image ensures VMs are created from approved, standard images - satisfying all requirements including administrator authorization through pipeline approval gates.

Concept tested. Understanding how to combine Azure DevOps Pipelines (CI/CD orchestration with approval gates for IaC-based disaster recovery deployments) with Azure Compute Gallery (centralized repository of standardized, versioned VM images based on Microsoft disk images) to meet enterprise VM deployment requirements including IaC methodology, authorization controls, and pipeline-managed provisioning.

Reference. https://learn.microsoft.com/en-us/azure/devops/pipelines/get-started/what-is-azure-pipelines and https://learn.microsoft.com/en-us/azure/virtual-machines/azure-compute-gallery

Topics

#Disaster Recovery#Azure Site Recovery#Infrastructure as Code#ARM templates

Community Discussion

No community discussion yet for this question.

Full AZ-305 Practice