Courseiva
Implement a secure environmenthardMultiple ChoiceObjective-mapped

DP-300 Implement a secure environment Practice Question

Your Azure SQL Database is configured with a failover group across two regions. You need to ensure that client connections automatically redirect to the secondary region during a regional outage, without changing the connection string. What should you implement?

⚠ Common exam trap

Many exam-takers confuse the failover group listener with a Traffic Manager profile or assume that private endpoints alone provide automatic cross-region failover, overlooking that the listener is the specific Azure feature designed for transparent, connection-string-free redirection during regional outages.

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 the failover group with a listener endpoint and use that in the connection string.

A failover group in Azure SQL Database provides a listener endpoint (e.g., `server.database.windows.net`) that automatically resolves to the primary or secondary region based on the current role. By using this listener in the connection string, client connections are redirected transparently during a regional outage without any manual changes to the connection string, as the DNS record is updated by the failover group to point to the secondary region.

Answer analysis

Option-by-option breakdown

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

  • Enable read scale-out and configure application retry logic.

    Why it's wrong here

    Read scale-out is for read-only replicas, not for write failover.

  • Deploy Azure Traffic Manager in front of the SQL Database and configure failover routing.

    Why it's wrong here

    Traffic Manager can work but is unnecessary; failover group listener is the recommended approach.

  • Configure the failover group with a listener endpoint and use that in the connection string.

    Why this is correct

    The listener endpoint automatically points to the current primary, enabling transparent failover.

  • Use private endpoints in both regions and configure DNS with a CNAME record.

    Why it's wrong here

    Private endpoints do not automatically failover; manual DNS update would be needed.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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 →

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.