DP-300 Configure and manage automation of tasks Practice Question
You have an Azure SQL Database configured with active geo-replication. You need to automate the failover process in the event of a regional outage, ensuring minimal data loss and automatic failback when the primary region recovers. What should you implement?
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 an auto-failover group with a grace period of 1 hour.
Azure SQL Database auto-failover groups provide automated failover and failback with a grace period for data loss tolerance. Option B is wrong because it does not automate failover. Option C is wrong because manual failover does not provide automatic failback. Option D is wrong because ScheduledExecutorService is a manual workaround that does not integrate with Azure failover groups.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure an auto-failover group with a grace period of 1 hour.
Why this is correct
Auto-failover groups automate failover and failback, and the grace period allows for data loss tolerance.
- ✗
Set up a PowerShell script that checks primary database health and initiates failover.
Why it's wrong here
A script would require manual scheduling and does not provide automatic failover.
- ✗
Use a ScheduledExecutorService in a Java application to monitor and failover.
Why it's wrong here
This approach is complex and not a built-in Azure feature.
- ✗
Enable geo-replication and manually trigger failover when needed.
Why it's wrong here
Manual failover requires human intervention and does not automate failback.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Performance Tuning
Azure SQL Performance Tuning is the process of optimizing the speed and efficiency of queries and database operations in Microsoft Azure SQL Database or SQL Managed Instance to reduce latency and improve throughput.
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 →
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.