nerdexam
MicrosoftMicrosoft

AZ-104 · Question #354

AZ-104 Question #354: Real Exam Question with Answer & Explanation

This question tests knowledge of Azure Virtual Machine Scale Sets (VMSS) in VM orchestration mode, specifically the constraints around resource group and location when adding existing VMs to a VMSS.

Submitted by tyler.j· Mar 4, 2026Deploy and manage Azure compute resources

Question

Hotspot Question You have an Azure subscription that contains the resources shown in the following table. VMSS1 is set to VM (virtual machines) orchestration mode. You need to deploy a new Azure virtual machine named VM1, and then add VM1 to VMSS1. Which resource group and location should you use to deploy VM1? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Options

  • __typehotspot
  • variantdropdown

Explanation

This question tests knowledge of Azure Virtual Machine Scale Sets (VMSS) in VM orchestration mode, specifically the constraints around resource group and location when adding existing VMs to a VMSS.

Approach. When using VMSS in VM (Flexible) orchestration mode, any VM you want to add to the scale set must reside in the SAME resource group and the SAME Azure region (location) as the VMSS itself. Therefore, VM1 must be deployed into the resource group that contains VMSS1 and in the same location/region where VMSS1 is deployed. This is a hard requirement - Azure does not allow cross-resource-group or cross-region membership in a VM orchestration mode scale set. You would look at the table provided, identify the resource group and location of VMSS1, and select those same values for VM1.

Concept tested. Azure Virtual Machine Scale Sets in VM (Flexible) orchestration mode require that any member virtual machine be deployed in the same resource group and same Azure region as the scale set itself. Unlike Uniform orchestration mode where VMs are managed internally, Flexible/VM mode allows attaching existing VMs, but they must share the same resource group and location as the VMSS.

Reference. https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes#vm-orchestration-mode

Topics

#VMSS orchestration mode#Azure Virtual Machines#VM deployment#Deployment location constraints

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions