exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 16 discussion

Actual exam question from Microsoft's 70-764
Question #: 16
Topic #: 1
[All 70-764 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 is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You are examining information about users, sessions, and processed in an on-premises Microsoft SQL Server Database Engine instance.
You need to return information about processes that are not idle, that belong to a specific user, or that belong to a specific session.
What should you use?

  • A. Activity Monitor
  • B. sp_who3
  • C. SQL Server Management Studio (SSMS) Object Explorer
  • D. SQL Server Data Collector
  • E. SQL Server Data Tools (SSDT)
  • F. SQL Server Configuration Manager
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Use sp_who3 to first view the current system load and to identify a session of interest. You should execute the query several times to identify which session id is most consuming teh system resources.

Parameters -
sp_who3 null - who is active;
sp_who3 1 or 'memory' - who is consuming the memory;
sp_who3 2 or 'cpu' - who has cached plans that consumed the most cumulative CPU (top 10); sp_who3 3 or 'count' - who is connected and how many sessions it has; sp_who3 4 or 'idle' - who is idle that has open transactions; sp_who3 5 or 'tempdb' - who is running tasks that use tempdb (top 5); and, sp_who3 6 or 'block' - who is blocking.

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
Chandra111
4 years, 4 months ago
Correct Answer is SP_WHO2 or Select * from sys.sysprocesses where spid > 52.as per above answers, Activity Monitor is coorect.
upvoted 1 times
...
rohithravindran
4 years, 9 months ago
its B : sp_who3
upvoted 1 times
...
KC
4 years, 10 months ago
It's almost word for word for MSSQL 2016: https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-who-transact-sql?view=sql-server-2016
upvoted 1 times
...
CommanderBigMac
4 years, 10 months ago
Can't find much info on sp_who3, but even if it is indeed depricated in newer versions of sql, the exam is based on sql2016, thus sp_who3 would have to be the answer in this instance, even if it is no longer in use in newer versions.
upvoted 1 times
...
flashed
5 years, 3 months ago
I'm using SQL SMS 18 and i'm getting the following error: Msg 2812, Level 16, State 62, Line 1 Could not find stored procedure 'sp_who3'. This sp is deprecated... Answer should be A.
upvoted 1 times
...
MSSucks
5 years, 4 months ago
I also think "Activity Monitor" is correct. Because sp_who3 is no SQL Server integrated Stored Procedure but external code that need to be downloaded from GitHub.
upvoted 3 times
...
rodgon
5 years, 4 months ago
I think the same. "activity monitor must be the correct answer because sp_who3 doesn't exists anymore"
upvoted 1 times
...
mrn0107
5 years, 5 months ago
Can someone put a link about sp_who3 as Microsoft documetation. I can not find it anywhere. sp_who i sp_who2 can be correct answer, but sp_who3 is wrong.
upvoted 1 times
...
TheSwedishGuy
5 years, 5 months ago
It's sp_who, Activity Monitor typically has plenty of idle processes
upvoted 1 times
jolsca
4 years, 9 months ago
You need to return information about processes that are not idle (sp_who active)
upvoted 1 times
...
...
DBA1
5 years, 7 months ago
sp_who2 should be the option and answer because sp_who3 does not exists anymore.
upvoted 2 times
...
Manish3658
5 years, 10 months ago
i think activity monitor must be the correct answer because sp_who3 doesn't exists anymore
upvoted 4 times
...
Spicy2312
5 years, 10 months ago
sp_who3 is the correct answer
upvoted 4 times
...
DS
5 years, 11 months ago
Is this answer collect??
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 ...