New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-300 Exam - Topic 3 Question 3 Discussion

Actual exam question for Microsoft's DP-300 exam
Question #: 3
Topic #: 3
[All DP-300 Questions]

You need to identify the cause of the performance issues on SalesSQLDb1.

Which two dynamic management views should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: A, E

SalesSQLDb1 experiences performance issues that are likely due to out-of-date statistics and frequent blocking queries.

A: Use sys.dm_pdw_nodes_tran_locks instead of sys.dm_tran_locks from Azure Synapse Analytics (SQL Data Warehouse) or Parallel Data Warehouse.

E: Example:

The following query will show blocking information.

SELECT

t1.resource_type,

t1.resource_database_id,

t1.resource_associated_entity_id,

t1.request_mode,

t1.request_session_id,

t2.blocking_session_id

FROM sys.dm_tran_locks as t1

INNER JOIN sys.dm_os_waiting_tasks as t2

ON t1.lock_owner_address = t2.resource_address;

Note: Depending on the system you're working with you can access these wait statistics from one of three locations:

sys.dm_os_wait_stats: for SQL Server

sys.dm_db_wait_stats: for Azure SQL Database

sys.dm_pdw_nodes_os_wait_stats: for Azure SQL Data Warehouse

Incorrect Answers:

F: sys.dm_tran_locks returns information about currently active lock manager resources in SQL Server 2019 (15.x). Each row represents a currently active request to the lock manager for a lock that has been granted or is waiting to be granted.

Instead use sys.dm_pdw_nodes_tran_locks.


https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-tran-locks-transact-sql

Contribute your Thoughts:

0/2000 characters
Vicki
4 months ago
B seems irrelevant for performance issues, right?
upvoted 0 times
...
Henriette
4 months ago
Totally agree with C! It’s a must-check.
upvoted 0 times
...
Izetta
4 months ago
Wait, are we sure about E? Seems off.
upvoted 0 times
...
Geraldine
5 months ago
I think A and C are better choices.
upvoted 0 times
...
Elke
5 months ago
I’d go with C and E for sure.
upvoted 0 times
...
Evangelina
5 months ago
I practiced a similar question, and I think sys.dm_pdw_nodes_os_wait_stats is definitely one of the views we should consider for performance issues.
upvoted 0 times
...
Nettie
5 months ago
I feel like sys.dm_exec_compute_node_errors could be relevant too, especially if there are errors impacting the compute nodes.
upvoted 0 times
...
Arlen
5 months ago
I'm not entirely sure, but I remember something about sys.dm_pdw_nodes_os_wait_stats being useful for identifying wait times that could affect performance.
upvoted 0 times
...
Milly
5 months ago
I think we might need to look at sys.dm_exec_requests to see what queries are currently running and if they're causing the performance issues.
upvoted 0 times
...
Mozell
5 months ago
Hmm, this question seems to be asking about the key features of the Metadata API. I'll need to think carefully about the options and make sure I understand the differences between them.
upvoted 0 times
...
Ruthann
5 months ago
Okay, I think I've got a handle on this. The key is to understand what "reduced IT burden" means and how that would impact the different aspects of the IT enterprise. Let me work through this systematically.
upvoted 0 times
...
Tawna
5 months ago
Okay, let me think this through step-by-step. The IETF seems like the most likely choice based on what I know about internet standards organizations. I'll eliminate the other options and go with IETF.
upvoted 0 times
...

Save Cancel