CertSanctuary

AZ-900

Azure regions, availability zones and region pairs

How Azure regions, availability zones, region pairs and sovereign regions fit together, and which failures each one protects against, for AZ-900.

Regions

An Azure region is a geographic area containing one or more datacenters connected by a low-latency network. When you create most resources, you pick a region, such as East US or West Europe.

Region choice affects three things: latency to your users, which services and VM sizes are available, and price. It also affects compliance, because some laws require data to stay in a certain country. Not every service is offered in every region, so checking availability is part of planning.

Availability zones

Availability zones are physically separate locations inside a single region. Each zone has one or more datacenters with independent power, cooling and networking. Regions that support zones have at least three of them.

The point of zones is surviving a datacenter-level failure without leaving the region. If you run two VMs in different zones behind a load balancer and a fire takes out one zone, the other VM keeps serving traffic.

Not every region supports availability zones. Exam questions sometimes test this by asking what to do in a region without them; the answer is usually another resilience method, such as availability sets or a second region.

Zonal, zone-redundant and non-regional services

Azure services use zones in three different ways:

Region pairs

Many Azure regions are paired with another region in the same geography, usually hundreds of miles away. East US and West US form a pair, for example. Pairing exists so that a large disaster affecting one region is unlikely to hit its partner.

Region pairs give three benefits on the exam:

More on pairs

Some services use the pair automatically. Geo-redundant storage (GRS) copies your data to the paired region, so it survives the loss of the primary region.

Pairing is not universal. Some newer regions have no pair and rely on availability zones for resilience instead, and a few pairs are one-directional, such as Brazil South replicating to South Central US. For the exam, remember the benefits; don't memorize the list.

Sovereign regions

Sovereign regions are isolated instances of Azure for specific legal needs. Azure Government serves US government agencies and their partners, with physically separate datacenters and screened personnel. Azure operated by 21Vianet serves mainland China, where Microsoft does not operate the datacenters directly.

If a question mentions US federal, state or local government compliance needs, think Azure Government.

Putting it together

Each layer protects against a bigger failure. A single datacenter fails: availability zones keep you running. A whole region fails: a paired or second region keeps you running. A government or national rule applies: a sovereign region is the answer.

A good way to check your understanding is to ask what a design survives. Two VMs in one zone survive a host failure but not a zone failure. Zone-redundant storage survives a zone failure but not a region failure. Geo-redundant storage survives a region failure.

Practice questions

  1. Which two benefits do Azure region pairs provide? (Choose two.)

    1. Both regions of the pair share one set of datacenters to lower latency
    2. Resources in one region are automatically copied to the other at no cost
    3. Virtual machines move between the two regions without any configuration
    4. After a widespread outage, one region of each pair is prioritized for recovery
    5. Planned platform updates are rolled out to one region of the pair at a time
    Answer

    E, D. Microsoft updates paired regions one after the other and prioritizes one region of each pair for restoration after a broad outage. Replication between the regions is not automatic for every service; the customer usually has to configure it and pay for it.

    AZ-900 question 50

  2. A company plans to run resources on virtual networks in two Azure regions. Which statement is true?

    1. Virtual networks are not tied to regions, so one network covers any location
    2. Each virtual network exists in one region, so a virtual network is needed in each region
    3. One virtual network automatically spans every region in the subscription
    4. A virtual network can be used in a second region only by moving it there
    Answer

    B. A virtual network is scoped to a single region. To work in two regions, you create a virtual network in each and can connect them with peering.

    AZ-900 question 155

  3. An architect notices that the same virtual machine size has a different hourly price in two Azure regions. What explains this?

    1. Prices for a service can vary from region to region
    2. Tags are priced differently in each region
    3. Resource groups are billed at regional rates
    4. Each region applies its own resource locks
    Answer

    A. Region is one of the factors that affect cost, because the cost of running a service differs between locations. Locks, tags and resource groups are free management features and do not change the price of a resource.

    AZ-900 question 88

  4. A company's data must remain available if one datacenter in its region goes offline, but the data must not leave that region. Which redundancy option meets both needs?

    1. Zone-redundant storage (ZRS)
    2. Locally redundant storage (LRS)
    3. Geo-redundant storage (GRS)
    4. Geo-zone-redundant storage (GZRS)
    Answer

    A. ZRS copies data across availability zones in the primary region, so it survives the loss of a datacenter while staying in the region. LRS keeps everything in one datacenter, and the geo options also copy data to a second region.

    AZ-900 question 72

Practice AZ-900 All topics