Soru

Zorluk: OrtaConfigure VMs for High Availability

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?

  1. Recreate `VM-Prod1` and deploy both `VM-Prod1` and `VM-Prod2` into a new Availability Set.Cevap
  2. B
    Modify 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.
  3. C
    Create a new Availability Set that spans across two Availability Zones, and place `VM-Prod1` in Zone 1 and `VM-Prod2` in Zone 2.
  4. D
    Deploy both virtual machines to a new Availability Set and configure backups using a Recovery Services Vault located in the East US region.

Cevap

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.

Adım Adım Çözüm

1
Determine the limitation of adding existing virtual machines to Availability Sets.
Identify that Azure does not allow adding an existing virtual machine to an Availability Set; the virtual machine must be created inside the Availability Set.
This establishes that the configuration of the existing virtual machine must change via deletion and recreation.
2
Analyze high-availability requirements and scope.
Determine that protection against localized hardware failures within a datacenter is best served by an Availability Set, whereas Availability Zones protect against entire datacenter outages.
This confirms that an Availability Set is the correct high-availability target structure.
3
Evaluate configuration constraints for regional services.
Verify that helper services (like Recovery Services Vaults) must align with the resources' primary region (South Central US).
This rules out cross-region configurations that violate service placement rules.

Anahtar Kavram

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.
Tahmini Süre:1m 30s
Bu soruyu puanla