AZ-801 · Question #43
You have 200 Azure virtual machines. You create a recovery plan in Azure Site Recovery to fail over all the virtual machines to an Azure region. The plan has three manual actions. You need to…
The correct answer is B. an Azure Automation runbook. To replace a manual action in an Azure Site Recovery recovery plan with an automated process across multiple virtual machines, an Azure Automation runbook should be used.
Question
Options
- Aan Azure Desired State Configuration (DSC) virtual machine extension
- Ban Azure Automation runbook
- Can Azure PowerShell function
- Da Custom Script Extension on the virtual machines
How the community answered
(32 responses)- A3% (1)
- B75% (24)
- C16% (5)
- D6% (2)
Why each option
To replace a manual action in an Azure Site Recovery recovery plan with an automated process across multiple virtual machines, an Azure Automation runbook should be used.
An Azure Desired State Configuration (DSC) virtual machine extension is primarily used for configuring and managing the state of virtual machines, not for executing arbitrary automation steps within a recovery plan workflow.
Azure Automation runbooks are designed for automating tasks across Azure and on-premises environments, and they can be directly integrated into Azure Site Recovery recovery plans to execute pre-failover, post-failover, or custom actions during a disaster recovery event.
An Azure PowerShell function is a serverless compute service; while it can execute PowerShell scripts, it's not directly integrated into Azure Site Recovery recovery plans as a mechanism for automated actions in the same way an Azure Automation runbook is.
A Custom Script Extension is deployed to individual virtual machines to execute scripts directly on them, which is not suitable for orchestrating actions across 200 VMs as part of a centralized recovery plan.
Concept tested: Azure Site Recovery automation with runbooks
Source: https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-runbook-automation
Topics
Community Discussion
No community discussion yet for this question.