Question

Difficulty: MediumAzure Virtual Machine Recovery and Restore

An administrator manages a Microsoft Entra ID tenant that contains two Azure subscriptions named `sub-dev` and `sub-prod`. A virtual machine named `vm-backend-01` resides in `sub-dev` and is backed up to a Recovery Services vault. The administrator needs to recover `vm-backend-01` and place the restored resources directly into `sub-prod`.

Which of the following actions is a prerequisite that must be completed on the target subscription before performing this recovery operation?

  1. Register the `Microsoft.RecoveryServices` resource provider in `sub-prod`.Answer
  2. B
    Move the Recovery Services vault to `sub-prod` before starting the recovery process.
  3. C
    Establish a virtual network peering between the virtual networks of both subscriptions.
  4. D
    Configure a secondary Recovery Services vault in `sub-prod` and enable cross-vault replication.

Answer

Register the `Microsoft.RecoveryServices` resource provider in `sub-prod`.
Registering the `Microsoft.RecoveryServices` resource provider in `sub-prod` is the correct answer. To restore a virtual machine across subscriptions (Cross-Subscription Restore) within the same tenant, the target subscription must have the recovery services resource provider registered so that Azure Backup can deploy the restored resources.

Step-by-Step Solution

1
Identify the target subscription where the virtual machine needs to be recovered.
The target subscription is identified as `sub-prod`.
This is the destination where the restored virtual machine resources will reside.
2
Check the registered resource providers in the target subscription.
The `Microsoft.RecoveryServices` resource provider is identified as a requirement.
Azure Backup requires the recovery service resource provider to be registered in the destination subscription to perform the restore operation.
3
Register the resource provider if it is not already registered.
The `Microsoft.RecoveryServices` resource provider is registered, allowing cross-subscription restore operations to succeed.
This ensures the Azure Backup service has permission and capability to create resources in the target subscription.

Key Concept

Cross-Subscription Restore for Azure Virtual Machines
Rate this question