Skip to content

AZ-305 · Domain 3: Design business continuity solutions · 18% of the exam

Task 3.2: Design for high availability

Availability zones, scale sets and multi-region designs for compute; zone redundancy, geo-replication and failover groups for relational data; and storage redundancy and Cosmos DB multi-region options.

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.

Question 1 · choose 1

A stateless web tier runs on six VMs in one region. It must keep serving if an entire datacenter in that region fails, with traffic spread automatically across the surviving VMs. What should you recommend?

  1. AAn availability set with three fault domains behind a Standard load balancer
  2. BA scale set spread across three availability zones behind a zone-redundant Standard load balancer
  3. CA proximity placement group that holds all six VMs
  4. DSix single VMs with premium SSD disks in the same zone
Show the answer and why
  • AAn availability set with three fault domains behind a Standard load balancer

    Incorrect

    A datacenter failure can still take every VM in the set down at once.

  • BA scale set spread across three availability zones behind a zone-redundant Standard load balancer

    Correct

    Zones are separate datacenters, so VMs in other zones keep serving, and a zone-redundant frontend survives the loss of a zone.

  • CA proximity placement group that holds all six VMs

    Incorrect

    A proximity placement group puts VMs close together for latency, which concentrates rather than spreads the risk.

  • DSix single VMs with premium SSD disks in the same zone

    Incorrect

    One zone is one failure domain, so a datacenter failure stops all of them.

Availability zones are physically separate groups of datacenters within a region, so VMs spread across zones survive the loss of one zone. A zone-redundant Standard Load Balancer frontend keeps distributing traffic when one zone is lost.

Question 2 · choose 1

An app uses three Azure SQL databases on one logical server in East US. During a regional outage, all three must fail over to West US together, and the app's connection strings must not change after failover. Which solution should you recommend?

  1. AActive geo-replication for each database to a server in West US
  2. BThe zone-redundant configuration turned on for each database in East US
  3. CA failover group with the three databases and a server in West US
  4. DGeo-restore of the databases into West US when needed
Show the answer and why
  • AActive geo-replication for each database to a server in West US

    Incorrect

    The app would have to connect to the secondary server's name after a failover, so connection strings would change.

  • BThe zone-redundant configuration turned on for each database in East US

    Incorrect

    It changes nothing for a full outage of East US, which is the failure the requirement covers.

  • CA failover group with the three databases and a server in West US

    Correct

    A failover group fails over its databases together and gives read-write and read-only listener endpoints that keep their names.

  • DGeo-restore of the databases into West US when needed

    Incorrect

    Geo-restore creates new databases from backups with data loss and new names, and takes time.

Failover groups manage geo-replication and failover of a group of databases. The listener endpoints stay the same after failover, so connection strings don't change.

Question 3 · choose 2

An Azure Cosmos DB account serves a global app with one write region in East US and read regions in Europe and Asia. Writes must stay in one region to avoid write conflicts. The account must survive a zone failure in East US and fail over its write region automatically if East US goes down. Which two settings should you configure? (Choose TWO.)

  1. AAvailability zone support on the East US region
  2. BMulti-region writes on the account
  3. CThe strong consistency level
  4. DService-managed failover with a failover priority list
  5. EPeriodic backup with geo-redundant backup storage
Show the answer and why
  • AAvailability zone support on the East US region

    Correct

    Zone support places replicas across zones in the region, so a zone failure doesn't interrupt the account.

  • BMulti-region writes on the account

    Incorrect

    Multiple write regions would accept writes everywhere and bring the conflicts the design avoids.

  • CThe strong consistency level

    Incorrect

    Consistency sets read guarantees; it doesn't fail over regions or survive a zone loss.

  • DService-managed failover with a failover priority list

    Correct

    Service-managed failover promotes a read region to write region when the write region becomes unavailable.

  • EPeriodic backup with geo-redundant backup storage

    Incorrect

    Backups help restore data later, not keep the account available during an outage.

Availability zone support keeps a region's replicas in separate zones. For single-write-region accounts, service-managed failover moves the write region to the next region in the priority list during a regional outage, without enabling multi-region writes.

Question 4 · choose 1

A latency-sensitive app needs an SSD (premium) Azure file share over SMB. The share must stay available if one availability zone in the region fails. Which redundancy should you choose?

  1. AZone-redundant storage (ZRS)
  2. BGeo-zone-redundant storage (GZRS)
  3. CLocally redundant storage (LRS)
  4. DGeo-redundant storage (GRS)
Show the answer and why
  • AZone-redundant storage (ZRS)

    Correct

    ZRS is supported for SSD file shares and copies data synchronously across zones in the region.

  • BGeo-zone-redundant storage (GZRS)

    Incorrect

    Geo-redundancy options aren't supported for SSD file shares; they apply to HDD SMB shares.

  • CLocally redundant storage (LRS)

    Incorrect

    LRS keeps all copies in one datacenter, so a zone failure can make the share unavailable.

  • DGeo-redundant storage (GRS)

    Incorrect

    GRS isn't offered for SSD file shares and uses LRS in the primary region anyway.

For Azure Files, ZRS is available for both SSD and HDD shares, while the geo-redundant options GRS and GZRS are only available for HDD SMB shares. ZRS keeps an SSD share available during a zone failure.

Question 5 · choose 1

A customer portal on App Service must keep running if one availability zone in its region fails, without adding a second region. It runs today on a Standard plan with one instance. What should you recommend?

  1. AThe Standard plan scaled out to three instances
  2. BA second app in the same region behind Azure Traffic Manager
  3. CDaily App Service backups restored to a new app after a failure
  4. DA Premium v3 plan with zone redundancy turned on and at least two instances
Show the answer and why
  • AThe Standard plan scaled out to three instances

    Incorrect

    Standard plans don't support zone redundancy, so the instances aren't guaranteed to be in different zones.

  • BA second app in the same region behind Azure Traffic Manager

    Incorrect

    Two apps in one region without zone redundancy can still share a zone, and it adds routing to manage.

  • CDaily App Service backups restored to a new app after a failure

    Incorrect

    Restoring a backup after an outage isn't staying available during it.

  • DA Premium v3 plan with zone redundancy turned on and at least two instances

    Correct

    Zone redundancy needs a Premium v2 to v4 plan and a minimum of two instances, which App Service spreads across zones.

App Service supports zone redundancy on Premium v2 to v4 plans in regions with availability zones. The plan must have at least two instances, and App Service distributes them across zones.

Question 6 · choose 1

A vendor app needs SQL Server on Azure VMs because it uses SQL Server features that PaaS doesn't offer. The database must keep running with automatic failover and no data loss if one datacenter in the region fails. What should you recommend?

  1. AAn Always On availability group with both SQL Server VMs placed in one availability set
  2. BA single VM with premium SSD disks and Azure Backup
  3. CLog shipping to a VM in another region
  4. DAn availability group with synchronous replicas in different availability zones
Show the answer and why
  • AAn Always On availability group with both SQL Server VMs placed in one availability set

    Incorrect

    Both VMs can still go down together when that datacenter is lost.

  • BA single VM with premium SSD disks and Azure Backup

    Incorrect

    A single VM restored from backup means downtime and data loss since the last backup.

  • CLog shipping to a VM in another region

    Incorrect

    Log shipping is asynchronous with manual failover, so it can lose data and doesn't fail over automatically.

  • DAn availability group with synchronous replicas in different availability zones

    Correct

    Zones protect against a datacenter failure, and synchronous replicas with automatic failover avoid data loss.

For SQL Server on Azure VMs, availability group replicas in different availability zones protect against the failure of an entire datacenter, and synchronous commit with automatic failover gives zero data loss.

Question 7 · choose 1

An app uses Azure Database for PostgreSQL flexible server. The database must survive the loss of an availability zone with automatic failover and no committed data lost. What should you configure?

  1. ASame-zone high availability
  2. BZone-redundant high availability, with the standby in another zone
  3. CA read replica in the same region
  4. DGeo-redundant backup storage
Show the answer and why
  • ASame-zone high availability

    Incorrect

    A standby in the same zone doesn't survive the loss of that zone.

  • BZone-redundant high availability, with the standby in another zone

    Correct

    The service keeps a warm standby in a second zone, replicates synchronously and fails over automatically.

  • CA read replica in the same region

    Incorrect

    Read replicas replicate asynchronously and don't fail over automatically, so committed data can be lost.

  • DGeo-redundant backup storage

    Incorrect

    Geo-redundant backups support restores in another region, not automatic failover within this one.

With zone-redundant high availability, Azure Database for PostgreSQL provisions a warm standby in a different availability zone, replicates changes synchronously for zero data loss and fails over automatically.

Question 8 · choose 1

A product image store in Blob Storage must stay available through a zone failure in the primary region. During a full regional outage, the app must keep reading images from the secondary region without waiting for any failover. Which redundancy should you choose?

  1. ARead-access geo-zone-redundant storage (RA-GZRS)
  2. BGeo-zone-redundant storage (GZRS)
  3. CRead-access geo-redundant storage (RA-GRS)
  4. DZone-redundant storage (ZRS)
Show the answer and why
  • ARead-access geo-zone-redundant storage (RA-GZRS)

    Correct

    RA-GZRS uses ZRS in the primary region and geo-replicates to a secondary region that is always readable.

  • BGeo-zone-redundant storage (GZRS)

    Incorrect

    GZRS has the zone and geo copies, but the secondary isn't readable until a failover.

  • CRead-access geo-redundant storage (RA-GRS)

    Incorrect

    RA-GRS keeps the primary copies in one datacenter with LRS, so a zone failure isn't covered.

  • DZone-redundant storage (ZRS)

    Incorrect

    ZRS has no secondary region to read from.

GZRS combines ZRS in the primary region with asynchronous copies to a secondary region; RA-GZRS adds read access to the secondary at all times, without a failover.

Question 9 · choose 2

A production AKS cluster must keep running workloads if one availability zone fails, and the business requires a financially backed uptime SLA for the Kubernetes API server. Which two settings should you choose? (Choose TWO.)

  1. AThe Free pricing tier with more nodes
  2. BNode pools spread across three availability zones
  3. CA proximity placement group for all node pools
  4. DThe Standard pricing tier for the cluster
  5. ESpot node pools for every workload
Show the answer and why
  • AThe Free pricing tier with more nodes

    Incorrect

    The Free tier has no uptime SLA, however many nodes it has.

  • BNode pools spread across three availability zones

    Correct

    Nodes in several zones keep pods running when one zone is lost.

  • CA proximity placement group for all node pools

    Incorrect

    Proximity placement keeps nodes close together, which works against spreading them across zones.

  • DThe Standard pricing tier for the cluster

    Correct

    The Standard tier adds the cluster uptime SLA that the Free tier lacks.

  • ESpot node pools for every workload

    Incorrect

    Spot nodes can be evicted at any time, which lowers availability.

Spreading AKS node pools across availability zones protects workloads from a zone failure. The Standard tier provides the financially backed uptime SLA for the cluster's control plane.

Practise domain 3 →Practise all domains →