VeloTransit Solutions has two virtual machines named VM-AppSource1 and VM-AppSource2 deployed in the South Central US region. Currently, both virtual machines are configured as standalone instances with no high availability options selected.
A new corporate compliance policy requires that these virtual machines be configured to guarantee a minimum virtual machine uptime SLA of 99.95% against localized hardware failures.
You need to configure the virtual machines to meet the compliance policy while preserving their existing data and configurations.
Which action should you perform?
- ACreate a new Availability Set. In the Azure portal, navigate to the properties of VM-AppSource1 and VM-AppSource2, change the Availability Set setting to the new Availability Set, and restart the virtual machines.
- BCreate a new Availability Set. Configure the Availability Set to span across multiple Availability Zones in the South Central US region, and redeploy VM-AppSource1 and VM-AppSource2 into the Availability Set.
- Delete VM-AppSource1 and VM-AppSource2 while preserving their OS disks. Create a new Availability Set, and then recreate the virtual machines from the preserved OS disks, assigning them to the new Availability Set.Answer
- DCreate a Proximity Placement Group. Associate VM-AppSource1 and VM-AppSource2 with the Proximity Placement Group to automatically assign them to a system-managed Availability Set.
Answer
Delete VM-AppSource1 and VM-AppSource2 while preserving their OS disks. Create a new Availability Set, and then recreate the virtual machines from the preserved OS disks, assigning them to the new Availability Set.
The correct action is to delete the virtual machines while preserving their OS disks, create a new Availability Set, and recreate the VMs using those disks. Azure virtual machines cannot be added to an Availability Set once they are deployed. Deleting only the VM resource leaves the managed OS disk intact, which can then be used as the source for recreating the VM. Specifying the Availability Set during this recreation process allows the configuration to take effect, satisfying the 99.95% SLA requirement.
Step-by-Step Solution
Key Concept
You cannot add an existing Azure Virtual Machine to an Availability Set after creation. The VM must be recreated from its preserved OS disk and assigned to the Availability Set during provisioning.