- A
sys.dm_exec_requests
Why wrong: Shows requests but not lock details or waiting tasks.
- B
sys.dm_tran_locks and sys.dm_os_waiting_tasks
These DMVs together provide lock information and waiting tasks to identify blocking.
- C
sys.dm_exec_query_stats
Why wrong: Provides aggregated query performance, not current blocking.
- D
sys.dm_tran_active_snapshot_database_transactions
Why wrong: Used for snapshot isolation transactions, not blocking chains.
Quick Answer
The answer is to query sys.dm_tran_locks and sys.dm_os_waiting_tasks together. This is correct because identifying a blocking chain in Azure SQL Managed Instance requires both lock metadata and wait information: sys.dm_tran_locks shows which resources (such as RID, KEY, PAGE, or OBJECT) are locked and by which session, while sys.dm_os_waiting_tasks reveals which sessions are blocked and the blocking session ID, allowing you to trace the chain from the blocked query back to the root blocker. On the DP-300 exam, this tests your ability to diagnose performance degradation caused by lock contention, a common scenario in managed database environments. A frequent trap is querying only one DMV—sys.dm_tran_locks alone shows locks but not the blocking relationship, and sys.dm_os_waiting_tasks alone shows waits but not the locked resource. For a memory tip, think “locks for the what, waits for the who”—locks identify the resource, waits identify the chain.
DP-300 Plan and implement data platform resources Practice Question
This DP-300 practice question tests your understanding of plan and implement data platform resources. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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.
You have an Azure SQL Managed Instance that is experiencing performance degradation. You suspect a query is causing excessive blocking. You need to identify the blocking chain and the resource holding the lock. Which DMV should you query?
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
sys.dm_tran_locks and sys.dm_os_waiting_tasks
To identify the blocking chain and the specific resource holding the lock, you need to combine lock metadata with wait information. sys.dm_tran_locks shows current locks and their resource types (e.g., RID, KEY, PAGE, OBJECT), while sys.dm_os_waiting_tasks reveals which sessions are waiting on those locks and the blocking session ID. Together, these DMVs allow you to trace the blocking chain from the blocked session back to the blocker and pinpoint the exact resource causing contention.
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.
- ✗
sys.dm_exec_requests
Why it's wrong here
Shows requests but not lock details or waiting tasks.
- ✓
sys.dm_tran_locks and sys.dm_os_waiting_tasks
Why this is correct
These DMVs together provide lock information and waiting tasks to identify blocking.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
sys.dm_exec_query_stats
Why it's wrong here
Provides aggregated query performance, not current blocking.
- ✗
sys.dm_tran_active_snapshot_database_transactions
Why it's wrong here
Used for snapshot isolation transactions, not blocking chains.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often pick sys.dm_exec_requests (Option A) because it shows wait_type and blocking_session_id, but it lacks the granular lock resource information (e.g., RID, KEY) that sys.dm_tran_locks provides, which is essential for identifying the exact resource holding the lock.
Trap categories for this question
Command / output trap
Shows requests but not lock details or waiting tasks.
Detailed technical explanation
How to think about this question
Under the hood, sys.dm_tran_locks exposes lock_owner_address and resource_description columns that can be joined with sys.dm_os_waiting_tasks via the wait_resource field to map a waiting session to the exact lock being held. In a real-world scenario, you might join these DMVs with sys.dm_exec_requests and sys.dm_exec_sql_text to get the blocking query text, but the core identification of the blocking chain and lock resource requires the pair in Option B. A subtle behavior: sys.dm_os_waiting_tasks includes a blocking_session_id column, but for parallel queries, a single session can have multiple tasks waiting on different locks, so you must aggregate carefully.
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.
TExam Day Tips
- 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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Plan and implement data platform resources — study guide chapter
Learn the concepts, then practise the questions
- →
Plan and implement data platform resources practice questions
Targeted practice on this topic area only
- →
All DP-300 questions
953 questions across all exam domains
- →
Microsoft Azure Database Administrator Associate DP-300 study guide
Full concept coverage aligned to exam objectives
- →
DP-300 practice test guide
How to use practice tests most effectively before exam day
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.
Plan and configure a high availability and disaster recovery environment practice questions
Practise DP-300 questions linked to Plan and configure a high availability and disaster recovery environment.
Plan and implement data platform resources practice questions
Practise DP-300 questions linked to Plan and implement data platform resources.
Monitor, configure, and optimize database resources practice questions
Practise DP-300 questions linked to Monitor, configure, and optimize database resources.
Configure and manage automation of tasks practice questions
Practise DP-300 questions linked to Configure and manage automation of tasks.
Plan and configure high availability and disaster recovery practice questions
Practise DP-300 questions linked to Plan and configure high availability and disaster recovery.
Implement a secure environment practice questions
Practise DP-300 questions linked to Implement a secure environment.
DP-300 fundamentals practice questions
Practise DP-300 questions linked to DP-300 fundamentals.
DP-300 scenario practice questions
Practise DP-300 questions linked to DP-300 scenario.
DP-300 troubleshooting practice questions
Practise DP-300 questions linked to DP-300 troubleshooting.
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 implement data platform resources — This question tests Plan and implement data platform resources — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: sys.dm_tran_locks and sys.dm_os_waiting_tasks — To identify the blocking chain and the specific resource holding the lock, you need to combine lock metadata with wait information. sys.dm_tran_locks shows current locks and their resource types (e.g., RID, KEY, PAGE, OBJECT), while sys.dm_os_waiting_tasks reveals which sessions are waiting on those locks and the blocking session ID. Together, these DMVs allow you to trace the blocking chain from the blocked session back to the blocker and pinpoint the exact resource causing contention.
What should I do if I get this DP-300 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
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 →
Last reviewed: Jun 24, 2026
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.
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.
Sign in to join the discussion.