exam questions

Exam 70-762 All Questions

View all questions & answers for the 70-762 exam

Exam 70-762 topic 1 question 53 discussion

Actual exam question from Microsoft's 70-762
Question #: 53
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 create a baseline set of metrics to report how the computer running SQL Server operates under normal load. The baseline must include the resource usage associated with the server processes.
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 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 asys.dm_os_wait_stats query.
  • H. Create an Extended Event.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
sys.dm_os_memory_objects returns memory objects that are currently allocated by SQL Server. You can usesys.dm_os_memory_objects to analyze memory use and to identify possible memory leaks.
Example: The following example returns the amount of memory allocated by each memory object type.
SELECT SUM (pages_in_bytes) as 'Bytes Used', type

FROMsys.dm_os_memory_objects -

GROUP BY type -
ORDER BY 'Bytes Used' DESC;
GO

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
SzalonyZielonyRobak
Highly Voted 5 years, 3 months ago
C. Create a Performance Monitor Data Collector Set. This will allow you to collect "baseline set of metrics" - not only from SQL Server, but also from system (memory, CPU etc.)
upvoted 14 times
JohnFan
5 years, 3 months ago
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 2 times
...
...
Anette
Highly Voted 5 years ago
I think its C. From study guide: ...you can proactively monitor the health of SQL Server by collecting baseline metrics and then periodically comparing current system behavior. That way you can identify negative trends as early as possible. SQL Server includes a data collector to help you gather data and store it in the management data warehouse.
upvoted 8 times
blues198
4 years, 8 months ago
Indeed it's C, page 435 from the book.
upvoted 5 times
...
...
Andy7622
Most Recent 4 years, 8 months ago
To create a baseline is possible by using DMVs or Performance monitor . Only one DMV may not be enough for creating a baseline . So, looks like Performance Monitor is correct answer.
upvoted 2 times
...
JohnFan
5 years, 3 months ago
sys.dm_os_sys_memory View resource usage information for the server, including total physical and available memory and high or low memory state.
upvoted 1 times
...
AshleyLiang
5 years, 9 months ago
As the baseline must include the resource usage associated with the server processes, it appears to me that Performance Monitor is the appropriate tool.
upvoted 8 times
imran
5 years, 7 months ago
Please do not mis guide people if you are unsure
upvoted 9 times
Heisenberg008
5 years, 4 months ago
Ins't C correct? https://mjmcfalls.wordpress.com/2010/07/24/building-a-performance-baseline-with-data-collector-sets/
upvoted 5 times
rya
5 years, 4 months ago
C is correct. sys.dm_os_memory_objects does not appear to have anything to do with baselines
upvoted 5 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 ...