Question 865 of 953

Quick Answer

The correct answer is that the read-only endpoint will not automatically redirect connections after failover. This is because the readOnlyEndpoint failoverPolicy is explicitly set to Disabled, meaning the read-only listener remains static and does not follow the primary replica to the new region after a failover event. On the Microsoft Azure Database Administrator Associate DP-300 exam, this configuration tests your understanding of how failover groups manage read-only traffic separately from read-write traffic, a common trap being that candidates assume all endpoints fail over automatically. The key distinction is that the read-write endpoint always fails over automatically, but the read-only endpoint’s behavior depends on its policy setting. A useful memory tip: “Disabled read-only means it stays put, so your read traffic won’t reroute.”

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.

Exhibit

{
  "properties": {
    "partnerServers": [
      {
        "id": "/subscriptions/.../resourceGroups/rg2/providers/Microsoft.Sql/managedInstances/mi2",
        "location": "westus",
        "replicationRole": "Secondary"
      }
    ],
    "readWriteEndpoint": {
      "failoverPolicy": "Automatic",
      "failoverWithDataLossGracePeriodMinutes": 60
    },
    "readOnlyEndpoint": {
      "failoverPolicy": "Disabled"
    }
  }
}

Refer to the exhibit. You are reviewing the configuration of a failover group for an Azure SQL Managed Instance. Which statement is correct about this configuration?

Question 1easymultiple choice
Full question →

Exhibit

{
  "properties": {
    "partnerServers": [
      {
        "id": "/subscriptions/.../resourceGroups/rg2/providers/Microsoft.Sql/managedInstances/mi2",
        "location": "westus",
        "replicationRole": "Secondary"
      }
    ],
    "readWriteEndpoint": {
      "failoverPolicy": "Automatic",
      "failoverWithDataLossGracePeriodMinutes": 60
    },
    "readOnlyEndpoint": {
      "failoverPolicy": "Disabled"
    }
  }
}

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

The read-only endpoint will not automatically redirect connections after failover.

Option A is correct. The readOnlyEndpoint failoverPolicy is Disabled, meaning the read-only listener will not automatically redirect connections after failover. Option B (automatic failover with data loss) is correct but not the best answer; the read-only endpoint behavior is the key point. Option C (read-write endpoint) is automatic. Option D (read-only endpoint) is disabled, so it does not affect read-write connections.

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.

  • The read-write endpoint will not automatically redirect connections after failover.

    Why it's wrong here

    The readWriteEndpoint failoverPolicy is Automatic.

  • The read-only endpoint will not automatically redirect connections after failover.

    Why this is correct

    The readOnlyEndpoint failoverPolicy is Disabled.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The failover group will automatically fail over with data loss if the primary is unavailable for more than 60 minutes.

    Why it's wrong here

    While automatic failover is enabled, the grace period allows data loss; but the read-only endpoint is disabled.

  • The read-only endpoint is used for read-write connections after failover.

    Why it's wrong here

    The read-only endpoint is for read-only connections only.

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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

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: The read-only endpoint will not automatically redirect connections after failover. — Option A is correct. The readOnlyEndpoint failoverPolicy is Disabled, meaning the read-only listener will not automatically redirect connections after failover. Option B (automatic failover with data loss) is correct but not the best answer; the read-only endpoint behavior is the key point. Option C (read-write endpoint) is automatic. Option D (read-only endpoint) is disabled, so it does not affect read-write connections.

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

2 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. Refer to the exhibit. You have an Azure SQL Database failover group configured with the ARM template snippet shown. You need to ensure that read-only queries are routed to the secondary region when the primary is healthy. What should you modify?

medium
  • A.Set the readWriteEndpoint failoverPolicy to Manual.
  • B.Set the readOnlyEndpoint failoverPolicy to Enabled.
  • C.Add the database to the partnerServers array.
  • D.Change the failoverGracePeriodMinutes to 0.

Why B: Option D is correct because the read-only endpoint failover policy is currently Disabled; you need to enable it to allow read-only routing to the secondary. Option A is wrong because the grace period does not affect read-only routing. Option B is wrong because adding databases is unrelated. Option C is wrong because the read-only endpoint is separate from the read-write endpoint.

Variation 2. You have an Azure SQL Database in the Premium tier configured with a failover group to a secondary region. The secondary region is not readable. You need to ensure that the secondary database is readable for reporting purposes without compromising the failover group's DR capabilities. Which TWO actions should you take? (Select two.)

easy
  • A.Configure active geo-replication in addition to the failover group.
  • B.Enable read scale-out on the primary database.
  • C.Add a zone-redundant replica to the secondary region.
  • D.Change the secondary database's service tier to Business Critical.
  • E.Set the failover group's secondary type to readable.

Why C: Option A is correct because adding a zone-redundant replica makes the secondary readable without changing the failover group. Option D is correct because setting the failover group's secondary type to readable enables read-only access. Option B is wrong because active geo-replication is separate and would create a different relationship. Option C is wrong because enabling read scale-out on the primary does not affect the secondary. Option E is wrong because changing the secondary to Premium tier is not necessary; it already is Premium.

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.