QuestionQ101
VerifiedSecure, optimize, and deploy database solutionsYou have a SQL database in Microsoft Fabric that uses the default settings for a newly created database and contains a table named Sales.Orders.
An application uses two stored procedures to access Sales.Orders.
While monitoring database activity, you discover:
sys.dm_exec_requestsshows multiple sessions in a suspended state withwait_type = LCK_M_X. All sessions have the samewait_resource, which maps toSales.Orders, and the same nonzeroblocking_session_id.sys.dm_exec_input_buffer(blocking_session_id, NULL)returns the last submitted commandBEGIN TRANSACTION UPDATE Sales.Orders.sys.dm_exec_sessionsfor the blocking session showsstatus = sleepingandopen_transaction_count = 1.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Yes or No
| Statements | Yes | No |
|---|---|---|
| The blocking is caused by an uncommitted explicit transaction in the blocking session that is holding locks. | ||
| While an UPDATE operation on Sales.Orders is occurring, SELECT statements will be blocked. | ||
| Joining sys.dm_tran_locks to sys.dm_exec_requests will show which session holds locks involved in the blocking chain. |
Community Discussion