nerdexam
Microsoft

70-473 · Question #39

You have Microsoft SQL Server 2014 installed on a Microsoft Azure virtual machine. One of the databases on the virtual machine supports a highly active Online Transaction Processing (OLTP) application

The correct answer is C. dynamic management views D. SQL Server Extended Events. To identify the longest running queries on a SQL Server 2014 instance within an Azure VM, you should use tools that provide detailed query execution statistics and real-time performance monitoring.

Monitor and manage an Azure data platform solution

Question

You have Microsoft SQL Server 2014 installed on a Microsoft Azure virtual machine. One of the databases on the virtual machine supports a highly active Online Transaction Processing (OLTP) application. Users report abnormally long wait times when they submit data in the application. Which two tools can you use to identify the longest running queries? Each correct answer presents a complete solution.

Options

  • Athe Job Activity Monitor
  • BDatabase Engine Tuning Advisor
  • Cdynamic management views
  • DSQL Server Extended Events
  • ESQL metrics in Azure Diagnostics for the virtual machine

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    86% (25)
  • E
    7% (2)

Why each option

To identify the longest running queries on a SQL Server 2014 instance within an Azure VM, you should use tools that provide detailed query execution statistics and real-time performance monitoring.

Athe Job Activity Monitor

The Job Activity Monitor is used to monitor the status of SQL Server Agent jobs, not to identify long-running user queries within an application.

BDatabase Engine Tuning Advisor

The Database Engine Tuning Advisor is used to recommend indexing strategies to improve query performance, but it is not primarily a tool for identifying specific long-running queries in real-time.

Cdynamic management viewsCorrect

Dynamic Management Views (DMVs) provide real-time performance information about SQL Server, including query execution statistics and wait statistics, allowing identification of long-running queries and bottlenecks directly from the database engine. DMVs like sys.dm_exec_query_stats and sys.dm_exec_requests can be queried to find expensive or long-running statements.

DSQL Server Extended EventsCorrect

SQL Server Extended Events is a lightweight, powerful monitoring system that allows users to collect granular data about SQL Server activity, including query execution plans, duration, CPU time, and logical reads for specific queries, making it ideal for pinpointing long-running or problematic queries with minimal performance impact. You can configure sessions to capture events related to query completion or statement execution to find queries exceeding a certain duration.

ESQL metrics in Azure Diagnostics for the virtual machine

SQL metrics in Azure Diagnostics for the virtual machine primarily collect host-level metrics for the VM itself, not detailed, query-specific performance data from within the SQL Server instance.

Concept tested: SQL Server performance monitoring tools

Source: https://learn.microsoft.com/sql/relational-databases/system-dynamic-management-views/system-dynamic-management-views?view=sql-server-2014

Topics

#SQL Server performance#Long-running queries#Dynamic Management Views#Extended Events

Community Discussion

No community discussion yet for this question.

Full 70-473 Practice