Hello Derrick Nidar
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Adding more details to previous response of Sengupta, Azure Availability Zones are a high-availability solution that protects your applications and data from datacenter-level failures.
Availability Zones are unique physical locations within an Azure region that are made up of one or more datacenters. Each Availability Zone is made up of one or more datacenters equipped with independent power, cooling, and networking. If one datacenter goes down, the other datacenters in the Availability Zone can continue to provide service.
Ref: https://learn.microsoft.com/en-us/azure/reliability/availability-zones-overview?tabs=azure-cli
For your specific question, if you have a VM in an Availability Zone, it will be automatically replicated to other datacenters within the same Availability Zone. This means that if one datacenter goes down, your VM will automatically fail over to another datacenter within the same Availability Zone, without any manual intervention.
It's important to note that not all Azure regions support Availability Zones, so you'll need to make sure that the region you're using supports them. Additionally, you'll need to make sure that your VM is configured to use Availability Zones.
Hope that helps!