nerdexam
Microsoft

AZ-104 · Question #110

Drag and Drop Question 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

The correct answer is Stop VM1, VM2, and VM3.; Resize VM1.; Start VM1, VM2, and VM3.. When VMs are in an availability set and an allocation failure occurs during resize, Azure cannot find a host with the required capacity while keeping all VMs running. You must stop (deallocate) ALL VMs in the availability set first - this releases the cluster allocation constrain

Submitted by kavita_s· Mar 4, 2026Deploy and Manage Azure Compute Resources - specifically managing VM sizing, availability sets, and resolving allocation failures in Microsoft Azure (AZ-104)

Question

Drag and Drop Question 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. Answer:

Answer Area

Drag items

Start VM1, VM2, and VM3.Stop VM1, VM2, and VM3.Start VM2 and VM3.Resize VM1.Stop VM2 and VM3.Strat VM1.

Correct arrangement

  • Stop VM1, VM2, and VM3.
  • Resize VM1.
  • Start VM1, VM2, and VM3.

Explanation

When VMs are in an availability set and an allocation failure occurs during resize, Azure cannot find a host with the required capacity while keeping all VMs running. You must stop (deallocate) ALL VMs in the availability set first - this releases the cluster allocation constraint, allowing Azure to find a new host with the needed capacity. Once all VMs are deallocated, you resize VM1, and then start all three VMs together so they are reallocated to appropriate hardware.

Topics

#Azure Virtual Machines#Availability Sets#VM Resize#Allocation Failure

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice