Courseiva

DP-300 Practice Question: Plan and configure a high availability and disaster recovery environment

You manage an Azure SQL Database that uses active geo-replication with a secondary in a paired region. During a planned maintenance, you need to fail over to the secondary with zero data loss. What should you do?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Execute a planned failover (graceful failover) using Transact-SQL or PowerShell

A planned failover (graceful failover) synchronizes all transactions between the primary and secondary before switching, ensuring zero data loss. Option A uses a standard failover that may allow data loss if the secondary is not fully synchronized. Option B causes data loss by taking the primary offline abruptly. Option D explicitly allows data loss, which is not acceptable for this requirement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Azure portal to 'Failover' without specifying data loss tolerance

    Why it's wrong here

    The portal option defaults to forced failover with data loss.

  • Take the primary offline, then promote the secondary

    Why it's wrong here

    Taking the primary offline without synchronization can cause data loss.

  • Execute a planned failover (graceful failover) using Transact-SQL or PowerShell

    Why this is correct

    Planned failover synchronizes the secondary before promoting it, ensuring zero data loss.

  • Execute a forced failover allowing data loss

    Why it's wrong here

    Forced failover may cause data loss if transactions are not replicated.

About these practice questions

This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.