Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

A worked example

Single answer

Contoso runs an Always On availability group on SQL Server 2022 Enterprise on Windows Server in its on-premises data center. The two on-premises replicas use synchronous commit. For disaster recovery, you will add a third replica on SQL Server on Azure Virtual Machines. The replica connects through a site-to-site VPN.

Periods of high network latency between the data center and Azure are expected.

Which synchronization setting should you use for the Azure availability group replica?

Choose one answer
Why

Hybrid HADR designs should allow for periods of high latency between the on-premises network and Azure. Use asynchronous commit for the Azure replica so that commits at the primary can proceed without waiting for that remote replica. High-performance and high-safety modes apply to database mirroring.

  • Not correct: High-safety mode. High-safety mode belongs to database mirroring rather than availability groups.
  • Not correct: Synchronous commit. Synchronous commit on the Azure replica would expose primary commit latency to delays across the VPN.
  • Correct: Asynchronous commit. Asynchronous commit allows the primary to commit without waiting for the Azure replica to harden the log.
  • Not correct: High-performance mode. High-performance mode is a database mirroring setting.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free