exam questions

Exam 70-762 All Questions

View all questions & answers for the 70-762 exam

Exam 70-762 topic 1 question 50 discussion

Actual exam question from Microsoft's 70-762
Question #: 50
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 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.
What should you do?

  • A. A. Create asys.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: B 🗳️
sys.dm_exec_sessions returns one row per authenticated session on SQL Server. sys.dm_exec_sessions is a server-scope view that shows information about all active user connections and internal tasks. This information includes client version, client program name, client login time, login user, current session setting, and more. Use sys.dm_exec_sessions to first view the current system load and to identify a session of interest, and then learn more information about that session by using other dynamic management views or dynamic management functions.
Examples of use include finding long-running cursors, and finding idle sessions that have open transactions.

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
Heisenberg008
Highly Voted 5 years, 4 months ago
I think C is correct
upvoted 15 times
rya
5 years, 3 months ago
i agree, C is correct
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. As an alternative, you can capture performance data in logs that you can review in the graphical interface or save to SQL Server tables for trend analysis.
upvoted 3 times
...
...
...
Andy7622
Most Recent 4 years, 8 months ago
And answer C doesn't say about directly about Performance Monitor . It says to create Performance Monitor Collector Sets.
upvoted 1 times
...
Andy7622
4 years, 8 months ago
Data Collector Sets enable you to schedule data collection, so that you can analyze the results and view reports later. How about the words "view reports later ". The question asking about real time activities!
upvoted 1 times
...
NickMane
4 years, 9 months ago
Seems like C
upvoted 1 times
...
Anette
5 years ago
I think its C
upvoted 1 times
...
gtc108
5 years, 2 months ago
"You must monitor the SQL Server instances in real time and optimize the server to maximize throughput, response time, and overall SQL performance." Performance Monitor is the only option listed that allows you to modify and select query plans in real time. Answer C:
upvoted 1 times
...
Postarion
5 years, 2 months ago
C is Correct accoring to JohnFan comment
upvoted 3 times
...
Nelly100
5 years, 2 months ago
I read all your answers but they are all wrong. The correct answer is B. The question is talking about monitoring in real time. sys.dm_exec_sessions returns one row per authenticated session on SQL Server. sys.dm_exec_sessions is a server-scope view that shows information about all active user connections and internal tasks. This information includes client version, client program name, client login time, login user, current session setting, and more. Use sys.dm_exec_sessions to first view the current system load and to identify a session of interest, and then learn more information about that session by using other dynamic management views or dynamic management functions. Examples of use include finding long-running cursors, and finding idle sessions that have open transactions.
upvoted 4 times
Nickname17
5 years, 2 months ago
You must monitor the SQL Server instances in real time and optimize the server to maximize throughput, response time, and overall SQL performance.
upvoted 1 times
...
Vijayglobal
5 years, 1 month ago
70-762 book - Page 348 - "Typically, you user performance counters to confirm the suspicion of a problem that you uncover by using wait statistics rather than a starting point." Also MS document: "Use sys.dm_exec_sessions to first view the current system load and to identify a session of interest, and then learn more information about that session by using other dynamic management views or dynamic management functions."
upvoted 1 times
...
...
SzalonyZielonyRobak
5 years, 3 months ago
C. Create a Performance Monitor - it has multiple statistics called "Performance counters" about SQL Server.
upvoted 4 times
maartynaa
5 years ago
Yes I agree
upvoted 2 times
...
...
414
5 years, 4 months ago
I think F is correct.
upvoted 1 times
lauferr
5 years, 1 month ago
It says multiple instances.
upvoted 1 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 ...