Automated Process for Azure Site Recovery: Configuring Windows Server Hybrid Advanced Services

Replacing Manual Action in Azure Site Recovery Plan

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?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

https://docs.microsoft.com/en-us/azure/site-recovery/recovery-plan-overview

The correct answer to this question is B. an Azure Automation runbook.

Azure Site Recovery is a disaster recovery solution that can be used to protect and recover virtual machines and applications in the event of a disaster. A recovery plan is a set of instructions that defines how to fail over virtual machines and applications from one location to another during a disaster.

In this scenario, the recovery plan already has three manual actions defined, but one of these manual actions needs to be replaced with an automated process. To do this, you should use an Azure Automation runbook.

Azure Automation is a cloud-based automation and configuration service that can be used to automate repetitive and time-consuming tasks in Azure. A runbook is a set of instructions that defines a series of tasks to be performed by the Azure Automation service.

By creating an Azure Automation runbook, you can automate one of the manual actions in the recovery plan. For example, if one of the manual actions is to shut down a specific virtual machine before failing over to the secondary region, you can create a runbook that performs this action automatically.

Once the runbook has been created, you can add it to the recovery plan as an automated task. This will ensure that the task is performed automatically during a failover, reducing the risk of human error and improving the overall reliability of the disaster recovery solution.

Option A, an Azure Desired State Configuration (DSC) virtual machine extension, is not relevant to this scenario. DSC is a management technology that enables you to configure and manage the state of your Azure virtual machines. While DSC can be used to automate certain tasks, it is not specifically designed for disaster recovery scenarios.

Option C, an Azure PowerShell function, is also not the best choice in this scenario. While PowerShell is a powerful scripting language that can be used to automate tasks in Azure, it requires more technical expertise than Azure Automation and may not be the best choice for automating a single manual action in a disaster recovery plan.

Option D, a Custom Script Extension on the virtual machines, is not the best choice either. While custom scripts can be used to automate tasks on virtual machines, they are not as flexible and scalable as Azure Automation runbooks, and they do not provide the same level of control and monitoring.