Let’s Get Certified
Module 16 / 16 · Plan and configure a high availability and disaster recovery environment

Validate replica readiness and failover routing

Match regional replication, listeners, instance availability and delayed standby to requirements.

Validate replica readiness and failover routing

Work through the decision

A managed database changes roles successfully. Existing application connections fail and new requests still point at an old server name. The replica dashboard is green. Has the recovery exercise passed?

Check your reasoning

Check whether the application uses the supported read/write listener, how DNS and connection pools update, and whether access, networking and credentials work from the recovery region. Test a new write. Replication health and client recovery answer different questions.

Watch the source lesson at 3:00:30

Compare the choices

Active geo-replication
Maintain supported database-level secondaries across regions. Track asynchronous lag and validate read routing and role changes.
Failover group
Use coordinated failover and supported listener endpoints across eligible primary and secondary servers or instances. Test application reconnect behavior.
Failover cluster instance
Protect the SQL Server instance on supported clustered VMs, with suitable shared storage and quorum. Include storage resilience in the design.
Log shipping
Periodically back up, copy and restore transaction logs to a standby. Monitor all three jobs and plan manual promotion and client redirection.

Test the decision

For SQL Server on VMs, distinguish a database availability group from a shared-storage failover cluster instance. Log shipping supplies a restore-based standby with different failover and read characteristics. Select mechanisms from the required unit of failover and data-loss tolerance.

Practice the guide skills

  1. Maintain a readable secondary in another region for one Azure SQL database. Watch 3:00:30
    Check your answer

    Evaluate active geo-replication, configure the peer and permissions, and observe replication lag and client routing before an exercise.

  2. Who operates availability groups on a managed instance versus SQL Server VMs? Watch 3:07:28 · Continue at 3:08:22 · Continue at 3:08:57
    Check your answer

    Azure manages internal high availability on Managed Instance. On supported VMs the team configures cluster, replicas, synchronization, quorum and listener. Use the supported MI link where applicable for hybrid replication.

  3. Fail over several databases together while preserving a stable application endpoint. Watch 3:01:08 · Continue at 3:01:21
    Check your answer

    Configure a supported failover group, choose policy and grace period, and test the read/write listener, DNS and reconnect behavior.

  4. A legacy application depends on instance-level objects and one active SQL instance. Watch 3:09:49 · Continue at 3:10:13
    Check your answer

    Evaluate a supported failover cluster instance on Azure VMs with suitable shared storage, network name and quorum. Validate storage availability separately.

  5. A standby can tolerate scheduled log transfer and manual recovery. Watch 3:10:41
    Check your answer

    Configure backups, copy and restore jobs for log shipping. Monitor thresholds and test the manual activation and client redirect procedure.

  6. An availability dashboard says the secondary is connected. What else matters? Watch 3:05:33 · Continue at 3:12:16
    Check your answer

    Inspect send and redo queues, synchronization state, last successful apply, endpoint and listener health. Compare observed lag with the recovery point objective.

  7. Applications cannot connect after a reported successful failover. Watch 3:12:16 · Continue at 3:12:37
    Check your answer

    Verify replica role, database state, listener DNS, network access, identity and application retry behavior. Test a read/write transaction and record the actual time to service.

Official objectives for this lesson

Related lesson · Prove a backup restore and a regional failover

Knowledge check

Validate replica readiness and failover routing quiz

Answer 3 questions. Check each answer for an explanation.