Administering a SQL Database Infrastructure — Question 13

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?

Answer options

Correct answer: B

Explanation

The correct answer is B, sp_who3, as it specifically provides information about active processes associated with users and sessions in SQL Server. The other options either do not provide detailed process information or are not focused on non-idle processes.