Learn the steps to take when you need to scale up an Azure virtual machine to a new size, but that size is unavailable, for the AZ-104 certification exam.
Table of Contents
Question
You have an Azure subscription that contains three virtual machines named VM1, VM2, and VM3. All the virtual machines are in an availability set named AVSet1.
You need to scale up VM1 to a new virtual machine size, but the intended size is unavailable.
What should you do first?
A. Create a proximity placement group.
B. Deallocate VM1.
C. Convert AvSet1 into a managed availability set.
D. Shut down VM3 and VM3.
Answer
B. Deallocate VM1.
Explanation
When you have an Azure virtual machine in an availability set and you want to scale it up to a new VM size, but that size is currently unavailable, the first step is to deallocate the VM.
Deallocating a VM releases all compute and network resources associated with it, essentially shutting it down and allowing you to make configuration changes. Once deallocated, you can then resize the VM to the desired new VM size when it becomes available. After resizing, you can start the VM again to bring it back online with the new size.
The other options are incorrect:
A. Creating a proximity placement group would not help in this situation. Proximity placement groups are used to locate VMs close together to minimize network latency, but they don’t impact VM sizing.
C. Converting the availability set to managed would not resolve the issue of the desired VM size being unavailable. Managed availability sets use managed disks instead of storage accounts, but this doesn’t affect VM sizing options.
D. Shutting down the other VMs in the availability set is unnecessary and would not help make the desired size available for VM1. VMs in an availability set can be independently allocated and deallocated.
Therefore, deallocating VM1 is the essential first step to be able to resize it to the currently unavailable desired VM size. After deallocating, you can resize it once the new size becomes available again in that region.
Microsoft AZ-104 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.