exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 16 question 6 discussion

Actual exam question from Microsoft's AZ-103
Question #: 6
Topic #: 16
[All AZ-103 Questions]

DRAG DROP -
You have an availability set named AS1 that contains three virtual machines named VM1, VM2, and VM3.
You attempt to reconfigure VM1 to use a larger size. The operation fails and you receive an allocation failure message.
You need to ensure that the resize operation succeeds.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer: Explanation
Step 1: Stop VM1, VM, and VM3.
If the VM you wish to resize is part of an availability set, then you must stop all VMs in the availability set before changing the size of any VM in the availability set.
The reason all VMs in the availability set must be stopped before performing the resize operation to a size that requires different hardware is that all running VMs in the availability set must be using the same physical hardware cluster. Therefore, if a change of physical hardware cluster is required to change the VM size then all VMs must be first stopped and then restarted one-by-one to a different physical hardware clusters.
Step 2: Resize VM1.
Step 3: Start VM1, VM2, and VM3.
References:
https://azure.microsoft.com/es-es/blog/resize-virtual-machines/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PTC
Highly Voted 5 years, 1 month ago
1. Stop VM1, VM2, VM3 2. Resize VM1 2. Start VM1, VM2, VM3
upvoted 18 times
...
simpledba
Highly Voted 5 years, 4 months ago
“If your VM(s) are deployed using the Resource Manager (ARM) deployment model and you need to change to a size which requires different hardware then you can resize VMs by first stopping your VM, selecting a new VM size and then restarting the VM. If the VM you wish to resize is part of an availability set, then you must stop all VMs in the availability set before changing the size of any VM in the availability set. The reason all VMs in the availability set must be stopped before performing the resize operation to a size that requires different hardware is that all running VMs in the availability set must be using the same physical hardware cluster. Therefore, if a change of physical hardware cluster is required to change the VM size then all VMs must be first stopped and then restarted one-by-one to a different physical hardware clusters.”
upvoted 9 times
...
dnh01
Most Recent 4 years, 9 months ago
Same question here: https://www.examtopics.com/exams/microsoft/az-103/view/14/
upvoted 2 times
...
Root_Access
5 years, 4 months ago
Cause A request to resize a VM or add a VM to an existing availability set must be tried at the original cluster that hosts the existing availability set. The requested VM size is supported by the cluster, but the cluster may not currently have sufficient capacity. Workaround If the VM can be part of a different availability set, create a VM in a different availability set (in the same region). This new VM can then be added to the same virtual network. Stop (deallocate) all VMs in the same availability set, then restart each one. To stop: Click Resource groups > [your resource group] > Resources > [your availability set] > Virtual Machines > [your virtual machine] > Stop. After all VMs stop, select the first VM, and then click Start. This step makes sure that a new allocation attempt is run and that a new cluster can be selected that has sufficient capacity.
upvoted 1 times
...
Novix
5 years, 4 months ago
You only need to stop all VM's in an availability set if the size is not supported on the current hardware cluster. Otherwise you can resize without stopping all VM's in the availability set. This document explains it and provides the powershell for each situation including how to check if the size is available: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/resize-vm
upvoted 3 times
...
Benkyoujin
5 years, 6 months ago
This question is poorly written... I assume you need to stop all of the ones in the availability set. Since you're resizing, that VM probably wasn't deallocated? https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/allocation-failure
upvoted 1 times
...
Alag
5 years, 7 months ago
I tried to upgrade to higher version in one of the server which part of availability set , Didnt receive any error.
upvoted 1 times
...
Akso
5 years, 9 months ago
According to the "allocation failure message", the VM1 virtual machine should be already stopped. So You should stop only VM2 and VM3? I am not really sure....
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...