Veloce Logistics has an existing virtual machine named `VM-Prod1` running in the South Central US region. Due to budget constraints, the company wants to reuse this virtual machine while configuring a high-availability solution that includes a new virtual machine named `VM-Prod2`. The solution must protect the virtual machines against localized hardware failures within the datacenter. Which configuration should you implement?
- Recreate `VM-Prod1` and deploy both `VM-Prod1` and `VM-Prod2` into a new Availability Set.Answer
- BModify the configuration of the existing `VM-Prod1` to assign it to a new Availability Set, and then deploy `VM-Prod2` into the same Availability Set.
- CCreate a new Availability Set that spans across two Availability Zones, and place `VM-Prod1` in Zone 1 and `VM-Prod2` in Zone 2.
- DDeploy both virtual machines to a new Availability Set and configure backups using a Recovery Services Vault located in the East US region.
Answer
Recreate `VM-Prod1` and deploy both `VM-Prod1` and `VM-Prod2` into a new Availability Set.
The correct option is to recreate the existing virtual machine and deploy both instances into a new Availability Set. Azure does not support adding a virtual machine to an Availability Set after the virtual machine has been created. To achieve high availability within a datacenter, both virtual machines must reside in the same Availability Set, which requires recreating the first virtual machine.
Step-by-Step Solution
Key Concept
Azure virtual machines can only be assigned to an Availability Set during their creation process. To place an existing virtual machine in an Availability Set, it must be recreated.
Estimated Time:1m 30s