nerdexam
Microsoft

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.

Implement disaster recovery

Question

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 replace one of the manual actions with an automated process. What should you use?

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)
  • A
    3% (1)
  • B
    75% (24)
  • C
    16% (5)
  • D
    6% (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.

Aan Azure Desired State Configuration (DSC) virtual machine extension

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.

Ban Azure Automation runbookCorrect

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.

Can Azure PowerShell function

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.

Da Custom Script Extension on the virtual machines

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

#Azure Site Recovery (ASR)#Disaster Recovery#Automation#Azure Automation Runbooks

Community Discussion

No community discussion yet for this question.

Full AZ-801 Practice