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?
- Register the `Microsoft.RecoveryServices` resource provider in `sub-prod`.Answer
- BMove the Recovery Services vault to `sub-prod` before starting the recovery process.
- CEstablish a virtual network peering between the virtual networks of both subscriptions.
- DConfigure 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
Key Concept
Cross-Subscription Restore for Azure Virtual Machines