Microsoft Exam Questions

Note: This question is part of a series of questions that use the same or similar answer choices. An

Note: This question is part of a series of questions that use the same or similar answer choices. An Answer choice

may be correct for more than one question in the series. Each question independent of the other questions in this series. Information and details provided in a question apply only to that question.

You are a database developer for a company. The company h

as a server that has multiple physical disks. The disks are not part of a RAID array. The server hosts three Microsoft SQL Server instances. There are many SQL jobs that run during off-peak hours.

You must monitor the SQL Server instances in real time and

optimize the server to maximize throughput, response time, and overall SQL performance.

You need to collect query performance data while minimizing the performance impact on the SQL Server.

What should you do?

A. Create a sys.dm_os_waiting_tasks query.

B. Create a sys.dm_exec_sessions query.

C. Create a Performance Monitor Data CollectorSet.

D. Create a sys.dm_os_memory_objects query.

E. Create a sp_configure -max server memory- query.

F. Create a SQL Profiler trace.

G. Create a sys.dm_os_wait_stats que

ry.

H. Create an Extended Event.

Explanation:

SQL Server Data Collector is a feature for performance monitoring and tuning available in SQL Server Management Studio.

Integration Services packages transform and load the collected data into the M

icrosoft Data Warehouse database.

Collection sets are defined and deployed on a server instance and can be run independently of each other. Each collection set can be applied to a target that matches the target types of all the collector types that are

part of a

collection set. The collection set is run by a SQL Server Agent job or jobs, and data is uploaded to the management data warehouse on a predefined schedule.

Predefined data collection sets include:

The Query Statistics data collection set collec

ts information about query statistics, activity, execution plans and text on the SQL Server instance. It does not store all executed statements, only 10 worst performing ones.

Disk Usage data collection set collects information about disk space used by bot

h data and log files for all databases on the SQL Server instance, growth trends, and average day growth.

Etc.

References: http://www.sqlshack.com/sql-server-performance-monitoring-data-collector/