DP-900 Practice Question: Identify considerations for relational data on Azure
A retail company uses Azure SQL Database to store inventory data. They notice excessive blocking and deadlocks during peak hours. Which design change would best reduce these issues?
⚠ Common exam trap
Many candidates confuse scaling up (more resources) with performance tuning, but the DP-900 exam tests understanding that blocking and deadlocks are primarily caused by inefficient query execution, not insufficient hardware.
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
✓
Add appropriate indexes to reduce lock duration
Adding appropriate indexes reduces the number of rows scanned during queries, which shortens lock duration and lowers the chance of blocking and deadlocks. In Azure SQL Database, indexes help queries become more efficient by using seeks instead of scans, minimizing the time locks are held on resources.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Implement read replicas for reporting queries
Why it's wrong here
Read replicas in Azure SQL Database, such as read scale-out or geo-replicas, serve only read-only workloads by redirecting reporting queries to a secondary copy. They do not reduce lock contention on the primary replica because update transactions still serialize on the same row, page, or table locks there. Replicas also introduce replication lag, so they cannot resolve conflicts between concurrent writers or shorten lock duration in any way.
- ✗
Use the READ UNCOMMITTED isolation level
Why it's wrong here
Using the READ UNCOMMITTED isolation level (or the NOLOCK hint) bypasses shared locks and lets queries read uncommitted data, which avoids blocking but risks dirty reads, non-repeatable reads, and phantom rows. For an inventory system, this can cause applications to report stock levels that are later rolled back, violating accuracy and consistency. It is a tactical workaround, not a recommended solution for reducing update conflicts, because it addresses read-blocking rather than write-write contention.
- ✓
Add appropriate indexes to reduce lock duration
Why this is correct
Adding appropriate indexes, such as covering or composite indexes, lets queries locate and modify only the necessary rows without scanning large tables. This shortens the time that locks are held and reduces the number of locks acquired, lowering the chance of lock escalation and blocking between concurrent inventory updates. Proper index design is a direct, proactive way to reduce lock duration and is the best-practice response to update conflicts and transaction contention.
- ✗
Scale up to a higher service objective
Why it's wrong here
Scaling up to a higher service objective in Azure SQL Database adds more compute, memory, and I/O resources, which may improve throughput when queries are resource-bound. However, it does not change the lock manager behavior, transaction isolation, or the number of rows scanned per statement, so it does not specifically reduce lock duration or update conflicts. If the bottleneck is lock waits rather than CPU or I/O, a larger service objective often has little effect and wastes cost.
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Data
Data is raw, unprocessed information, like numbers, words, or measurements, that can be stored, processed, and analyzed by computers.
Key term
Azure SQL Database
Azure SQL Database is a fully managed relational database-as-a-service (DBaaS) in Microsoft Azure, based on the SQL Server engine, that handles scaling, backups, patching, and high availability automatically.
About these practice questions
This DP-900 question is part of Courseiva's 820-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-900 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-900 exam.