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?
- Stop and deallocate VM1, and then select the new size.Answer
- BMove VM1 to a different Availability Zone in the same region, and then select the new size.
- CAssign the Virtual Machine Contributor role to the administrator at the subscription scope.
- DConfigure a new virtual network peering for the virtual network associated with VM1.
Answer
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.
Step-by-Step Solution
Key Concept
Virtual Machine Resizing and Sizing Constraints