Plan and configure a high availability and disaster recovery environment →mediumMultiple ChoiceObjective-mapped
DP-300 Practice Question: Plan and configure a high availability and disaster recovery environment
Exhibit
Refer to the exhibit. The following is a snippet of an Azure CLI script used to configure geo-replication: az sql db replica create \ --resource-group myRG \ --server primaryServer \ --name myDB \ --partner-server secondaryServer \ --secondary-type Geo \ --family Gen5 \ --capacity 2
After running the above Azure CLI command, you notice that the secondary database is not readable. What is the most likely reason?
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 '--secondary-type' parameter is set to 'Geo' instead of 'Readable'
The '--secondary-type' parameter controls the secondary's readability. Setting it to 'Geo' creates a geo-replicated secondary that is not readable. To enable readable secondaries, you must specify '--secondary-type Readable' (or 'Named'). Option A is incorrect because Azure SQL Database geo-replication does support readable secondaries when configured correctly. Option B is incorrect: while a low DTU might affect performance, it does not prevent readability; the secondary can still be read even with 2 DTUs. Option D is incorrect because Gen5 hardware generation supports readable secondaries.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Geo-replication does not support readable secondaries by default
Why it's wrong here
Geo-replication supports readable secondaries when configured with the correct secondary type.
- ✗
The secondary database capacity is set to 2 DTUs, which is too low
Why it's wrong here
The capacity parameter sets vCores, not DTUs, and does not affect readability.
- ✓
The '--secondary-type' parameter is set to 'Geo' instead of 'Readable'
Why this is correct
Setting secondary-type to 'Geo' disables read access; use 'Readable' to allow reads.
- ✗
The hardware generation is Gen5, which does not support readable secondaries
Why it's wrong here
Gen5 supports readable secondaries.
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.