exam questions

Exam 70-762 All Questions

View all questions & answers for the 70-762 exam

Exam 70-762 topic 1 question 52 discussion

Actual exam question from Microsoft's 70-762
Question #: 52
Topic #: 1
[All 70-762 Questions]

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 has a server that has multiple physical disks. The disks are not part of a RAID array. The server hosts three 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. A. Create a sys.dm_os_waiting_tasks query.
  • B. Create a sys.dm_exec_sessions query.
  • C. Create a Performance Monitor Data Collector Set.
  • 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 query.
  • H. Create an Extended Event.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
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 Microsoft 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 collects 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 both 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/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gtc108
Highly Voted 5 years, 2 months ago
"ou need to collect query performance data while minimizing the performance impact on the SQL Server." For this reason, I would go with H.
upvoted 8 times
MarcusJB
4 years, 8 months ago
But in the course they say "Use extended events in a production system only if you have to" due to the performance impact. Because of this reason I would say that the correct answer stays C.
upvoted 3 times
...
...
414
Highly Voted 5 years, 4 months ago
I would go for H.
upvoted 7 times
JohnFan
5 years, 3 months ago
SQL Server includes a data collector to help you gather data and store it in the management data warehouse. This is a database that you use as centralized storage for many types of data, not just performance data. When you set up the management data warehouse, you specify which DMOs to query, which performance counters from the operating system and SQL Server to collect, and which SQL Trace events to capture. You can also use this infrastructure to capture other types of data that you might want to store centrally. Refer to “Create a Data Collector Set to Monitor Performance Counters” at https://technet.microsoft.com/en-us/library/cc722414.aspx to customize a set of performance counters to collect and configure alerts. Step-by-step instructions for saving performance counter data to SQL Server tables is available in “Capture PerfMon Statistics to SQL Server for Benchmarking, Baselining and Analysis,” a blog post by David Ames at http://www.amescode.com/capture-perfmon-statistics-to-sql-server-forbenchmarking- baselining-and-analysis/.
upvoted 3 times
Michael93
4 years, 9 months ago
So are you agreeing or disagreeing?
upvoted 1 times
NickMane
4 years, 8 months ago
You never know with JohnFan, he's just here to teach :-)
upvoted 5 times
...
DBA_newbie
4 years, 5 months ago
JohnFan just gives lectures and goes away
upvoted 1 times
...
...
...
...
Postarion
Most Recent 5 years, 2 months ago
I would also go with H, Performance Monitor Data Collector Set not equal a SQL Server Data Collector.
upvoted 4 times
...
SzalonyZielonyRobak
5 years, 3 months ago
C. Create a Performance Monitor Data Collector Set. The question states about "Query Performance Data" - it is C rather then Extended Events.
upvoted 4 times
JohnFan
5 years, 3 months ago
Performance Monitor, also known as PerfMon, is a tool provided with the Windows operating system that you can use to monitor operating system, application, and hardware performance in real time. You can even establish thresholds and receive alerts when thresholds are crossed.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...