Plan and configure a high availability and disaster recovery environment →hardMultiple ChoiceObjective-mapped
DP-300 Practice Question: Plan and configure a high availability and disaster recovery environment
You have a SQL Server on Azure VM running SQL Server 2022 with a Distributed availability group (DAG) for disaster recovery across two Azure regions. You need to ensure that the secondary replica can become the primary without data loss if the primary region fails. What setting must be configured?
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
✓
Synchronous commit mode on the distributed AG
To ensure no data loss during a failover in a distributed availability group (AG), you must configure synchronous commit mode on the distributed AG. In this mode, a transaction is committed only after it has been hardened on both the primary replica and the primary forwarder (the primary of the local AG). This guarantees that all committed data is available on the secondary side. Option A is incorrect because backup preference does not affect data loss. Option B is incorrect because asynchronous commit can allow data loss if the primary fails before the data is replicated. Option D is incorrect because automatic seeding is only used for initial data synchronization, not for ongoing data protection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Backup preference set to secondary
Why it's wrong here
Backup preference does not affect data loss.
- ✗
Asynchronous commit mode on the distributed AG
Why it's wrong here
Asynchronous commit can lead to data loss on failover.
- ✓
Synchronous commit mode on the distributed AG
Why this is correct
Synchronous commit ensures no data loss on failover.
- ✗
Automatic seeding enabled
Why it's wrong here
Automatic seeding is for initial data synchronization.
Visual reference
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
SQL Server on Azure VM
SQL Server on Azure VM is a cloud service that lets you run Microsoft SQL Server software inside a virtual machine in Microsoft Azure, giving you full control over the database environment just like you would have on your own physical server.
About these practice questions
One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.