Question 147 of 953

Quick Answer

The correct choice is to configure a failover group between the primary and secondary managed instances. This is because failover groups for Azure SQL Managed Instance provide automatic failover to a secondary region with a synchronization mode that prioritizes data durability, ensuring minimal data loss, while also allowing the secondary database to be readable for reporting workloads. On the Microsoft Azure Database Administrator Associate DP-300 exam, this question tests your understanding of the specific disaster recovery features available for managed instances versus single databases or elastic pools—a common trap is confusing geo-replication (which only works for single databases and pools) with failover groups. Remember that for managed instances, failover groups are the only built-in solution that combines automatic failover, a readable secondary, and minimal data loss. A helpful memory tip: “Managed Instance? Think Failover Group—not geo-rep, not log shipping.”

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

This DP-300 practice question tests your understanding of plan and configure a high availability and disaster recovery environment. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Your company has an Azure SQL Managed Instance in the West US region. You need to configure a disaster recovery solution that provides automatic failover to a secondary region with minimal data loss. The solution must also allow read-only access to the secondary database for reporting purposes. Which option should you use?

Question 1mediummultiple choice
Full question →

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

Configure a failover group between the primary and secondary managed instances.

Option A is correct because failover groups support Azure SQL Managed Instance and provide automatic failover, a readable secondary, and minimal data loss with a synchronization mode that prioritizes data durability. Option B (geo-replication) is for single databases and elastic pools, not managed instances. Option C (auto-failover groups with active geo-replication) is redundant wording; failover groups are the feature. Option D (log shipping) is not built-in for managed instances and does not provide automatic failover or readable secondary.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Create an auto-failover group with active geo-replication.

    Why it's wrong here

    This is not a distinct feature; failover groups already include the required capabilities.

  • Configure a failover group between the primary and secondary managed instances.

    Why this is correct

    Failover groups provide automatic failover, readable secondary, and minimal data loss for managed instances.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use log shipping to a secondary managed instance.

    Why it's wrong here

    Log shipping is not a built-in feature of Azure SQL Managed Instance and does not support automatic failover.

  • Enable active geo-replication on the database.

    Why it's wrong here

    Active geo-replication is for single databases and elastic pools, not managed instances.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Detailed technical explanation

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which DP-300 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

Related practice questions

Related DP-300 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DP-300 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DP-300 question test?

Plan and configure a high availability and disaster recovery environment — This question tests Plan and configure a high availability and disaster recovery environment — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configure a failover group between the primary and secondary managed instances. — Option A is correct because failover groups support Azure SQL Managed Instance and provide automatic failover, a readable secondary, and minimal data loss with a synchronization mode that prioritizes data durability. Option B (geo-replication) is for single databases and elastic pools, not managed instances. Option C (auto-failover groups with active geo-replication) is redundant wording; failover groups are the feature. Option D (log shipping) is not built-in for managed instances and does not provide automatic failover or readable secondary.

What should I do if I get this DP-300 question wrong?

Identify which DP-300 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

3 more ways this is tested on DP-300

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Your company has an Azure SQL Managed Instance in the UK South region. You need to implement a disaster recovery solution that provides automatic failover to a secondary region and allows read-only workloads to use the secondary replica. The solution must minimize data loss. What should you configure?

medium
  • A.Deploy a second managed instance and use auto-failover groups
  • B.Create an availability group in the secondary region and configure automatic failover
  • C.Configure a failover group between two managed instances
  • D.Enable active geo-replication and configure auto-failover using PowerShell

Why A: Option D is correct because a failover group for Azure SQL Managed Instance provides automatic failover and a readable secondary. Option A is for SQL Server on VMs. Option B is for Azure SQL Database, not Managed Instance. Option C is incorrect because automatic failover is a feature of failover groups, not a separate configuration.

Variation 2. You have an Azure SQL Managed Instance configured with a failover group across two regions. The primary region experiences a complete outage. You perform a manual failover to the secondary region. After the primary region is restored, you need to bring the original primary back into the failover group. What is the correct order of actions?

medium
  • A.Remove the original primary from the failover group and then add it back as a secondary.
  • B.Perform a planned failover back to the original primary region.
  • C.Create a new SQL Managed Instance in the original region and add it to the failover group.
  • D.Perform a forced failover to the original primary region.

Why A: Option C is correct because after a manual failover, the original primary becomes a secondary. To bring it back, you must first remove it from the failover group (if it's still listed), then re-add it as a secondary. Option A is wrong because automatic failover is not configured. Option B is wrong because you should not create a new instance. Option D is wrong because you should perform a planned failover to restore the original primary, but only after re-adding it.

Variation 3. You have an Azure SQL Managed Instance configured with a failover group for disaster recovery. The primary instance is in the East US region and the secondary is in West US. You need to perform a planned failover for maintenance with zero data loss. What is the correct sequence of steps?

hard
  • A.Take the primary instance offline, then failover.
  • B.Use the Azure portal to perform a planned failover for the failover group.
  • C.Scale down the primary to reduce cost, then failover.
  • D.Remove the failover group, perform maintenance, then recreate the failover group.

Why B: Option A is correct because to perform a planned failover with zero data loss, you should first trigger a failover from the primary to the secondary. The failover group will automatically ensure no data loss. After the failover, the secondary (now primary) is online. During maintenance, you can perform the maintenance on the former primary (now secondary). After maintenance, you can fail back. Option B is incorrect because you should not remove the failover group. Option C is incorrect because you should not scale down. Option D is incorrect because you should not take the primary offline before failover.

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.