Soru

Zorluk: OrtaCreate and Configure Virtual Machines

An administrator needs to change the size of an Azure virtual machine named VM1 from Standard_D2s_v5 to Standard_F4s_v2 to optimize performance for a CPU-bound workload. Currently, VM1 is running. When attempting to resize VM1 in the Azure portal, the Standard_F4s_v2 size is not displayed in the list of available sizes. What should the administrator do to make the Standard_F4s_v2 size available for selection?

  1. Stop and deallocate VM1, and then select the new size.Cevap
  2. B
    Move VM1 to a different Availability Zone in the same region, and then select the new size.
  3. C
    Assign the Virtual Machine Contributor role to the administrator at the subscription scope.
  4. D
    Configure a new virtual network peering for the virtual network associated with VM1.

Cevap

Stop and deallocate VM1, and then select the new size.
Stopping and deallocating the virtual machine releases it from the physical hardware cluster where it is currently running. Once deallocated, Azure can allocate the virtual machine to a different hardware cluster that supports the desired size.

Adım Adım Çözüm

1
Stop and deallocate the virtual machine.
The virtual machine status changes to Stopped (deallocated), releasing the hardware reservation on the current physical host.
Resizing a running virtual machine is limited to sizes supported by the hardware cluster currently hosting the virtual machine.
2
Select the new virtual machine size (Standard_F4s_v2) and apply the change.
The virtual machine size is updated successfully in the configuration.
Once deallocated, Azure can allocate the virtual machine to a different hardware cluster that has the physical resources to support the Standard_F4s_v2 size.
3
Start the virtual machine.
The virtual machine starts successfully with the new size.
This resumes the workload on the new virtual machine instance.

Anahtar Kavram

Virtual Machine Resizing and Sizing Constraints
Bu soruyu puanla