nerdexam
Microsoft

AZ-204 · Question #41

You have implemented code that uses elastic transactions spanning across three different Azure SQL Database logical servers. Database administration report that some transactions take longer to…

The correct answer is B. Run the sys.dm_tran_active_transactions dynamic management view. Use Dynamic Management Views (DMVs) in SQL DB to monitor status and progress of your ongoing elastic database transactions. These DMVs are particularly useful: sys.dm_tran_active_transactions: Lists currently active transactions and their status. The UOW (Unit Of Work) column…

Submitted by femi9· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

You have implemented code that uses elastic transactions spanning across three different Azure SQL Database logical servers. Database administration report that some transactions take longer to complete than expected. You need to use the correct tool to monitor all the transactions originating from the elastic transaction implementation. Which tool should you use?

Options

  • AUse the dependencies section of Azure Applications Insights.
  • BRun the sys.dm_tran_active_transactions dynamic management view.
  • CRun the sys.dm_tran_current_snapshot dynamic management view.
  • DRun the sys.dm_tran_active_snapshot_database_transactions dynamic management view.

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    79% (19)
  • C
    13% (3)
  • D
    4% (1)

Explanation

Use Dynamic Management Views (DMVs) in SQL DB to monitor status and progress of your ongoing elastic database transactions. These DMVs are particularly useful: sys.dm_tran_active_transactions: Lists currently active transactions and their status. The UOW (Unit Of Work) column can identify the different child transactions that belong to the same distributed transaction. All transactions within the same distributed transaction carry the same sys.dm_tran_database_transactions: Provides additional information about transactions, such as placement of the transaction in the log. sys.dm_tran_locks: Provides information about the locks that are currently held by ongoing transactions References: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-transactions-overview

Topics

#elastic transactions#Azure SQL Database#DMV#transaction monitoring

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice