AZ-104 · Question #400
You have an Azure subscription named Subscription1 that contains the resource groups shown in the following table. In RG1, you create a virtual machine named VM1 in the East Asia location. You plan…
The correct answer is A. Create VNET1 in RG2, and then set East Asia as the location. E. Create VNET1 in RG1, and then set East Asia as the location. A virtual network must be created in the same Azure region as the virtual machine it connects to, though it can reside in a different resource group.
Question
Options
- ACreate VNET1 in RG2, and then set East Asia as the location.
- BCreate VNET1 in a new resource group in the West US location, and then set West US as the
- CCreate VNET1 in RG1, and then set East US as the location.
- DCreate VNET1 in RG2, and then set East US as the location.
- ECreate VNET1 in RG1, and then set East Asia as the location.
How the community answered
(63 responses)- A79% (50)
- B6% (4)
- C11% (7)
- D3% (2)
Why each option
A virtual network must be created in the same Azure region as the virtual machine it connects to, though it can reside in a different resource group.
Virtual machines and virtual networks must reside in the same Azure region to connect. Creating VNET1 in RG2 (a different resource group) but in the East Asia region (same region as VM1) is a valid way to connect VM1 to VNET1.
Virtual machines and virtual networks cannot establish direct connectivity if they are located in different Azure regions (West US for VNET1 vs. East Asia for VM1).
Virtual machines and virtual networks cannot establish direct connectivity if they are located in different Azure regions (East US for VNET1 vs. East Asia for VM1).
Virtual machines and virtual networks cannot establish direct connectivity if they are located in different Azure regions (East US for VNET1 vs. East Asia for VM1).
Virtual machines and virtual networks must reside in the same Azure region to connect. Creating VNET1 in RG1 (the same resource group) and in the East Asia region (same region as VM1) is a valid way to connect VM1 to VNET1.
Concept tested: Azure Virtual Network regional scope for VM connectivity
Source: https://learn.microsoft.com/azure/virtual-network/virtual-networks-overview#virtual-networks-in-azure
Community Discussion
No community discussion yet for this question.