Can I attach a disk to a VM in another region?
No. All managed disks, even shared disks, must be in the same region as the VM they're attaching to.
(https://learn.microsoft.com/en-us/azure/virtual-machines/faq-for-disks?tabs=azure-portal#can-i-attach-a-disk-to-a-vm-in-another-region-)
For VMs and disks distributed across multiple availability zones, the disks and their parent VMs are respectively collocated in the same zone, which prevents multiple VMs from going down even if an entire zone experiences an outage.
(https://learn.microsoft.com/en-us/azure/virtual-machines/disks-high-availability#distribute-vms-and-disks-across-availability-zones)
So for me the correct answer is A, as Disk 3 & Disk 4 are not in same region, and if Availability zone = None for Disk 1, it's not the same zone as the VM.
If no zone is specified for the resource it can be placed in any availability zone and this means the disk can be in a different zone then Zone1
I vote for A
To attach data disks to VM1 in Azure, you need to consider the following factors:
The disks must be in the same location (East US, Zone 1 in this case) as the virtual machine to ensure low-latency access.
Azure Virtual Machines in availability zones can attach data disks that are located in the same availability zone or "None" availability zone.
Disk 1 is in the same location (East US), but it has "availability zone None," which is compatible with VM1's "availability zone 1." You can attach Disk 1 to VM1.
Disk 2 is in the same location (East US) and is in "availability zone 1," which is compatible with VM1's "availability zone 1." You can attach Disk 2 to VM1.
C. Disk1 and Disk2 only
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.
nap61
Highly Voted 1 year, 4 months agofabilo
1 year, 1 month agoKrayzr
Most Recent 1 day, 20 hours ago004b54b
2 months, 3 weeks agoTONPL_Team
5 months, 3 weeks agoSIAMIANJI
6 months, 2 weeks agoKuikz
7 months, 3 weeks agojp01021234555
8 months, 3 weeks agoPayday123
1 year agoinfavolante
1 year agoNazerRazer
1 year, 1 month agomossrin
1 year, 3 months agoJoepelus
1 year, 4 months agojoesmith99
1 year, 5 months ago