A user reports that their Windows 10 PC is running slowly and they suspect a background process is consuming too much memory. You need to identify the process and its memory usage without installing any additional tools. Which command-line tool should you use?
The `tasklist` command-line utility is the correct tool because it provides a detailed list of all running processes on a local or remote Windows system, including their Process ID (PID), session name, and crucial memory usage statistics. This utility is highly effective for identifying which applications or background services are consuming excessive RAM or other resources, directly contributing to a slow or unresponsive PC. By analyzing its output, a technician can quickly pinpoint resource-intensive tasks that may need to be terminated or investigated further.
Why this answer
B is correct because the `tasklist` command displays a list of all currently running processes on a Windows system, including their memory usage (in kilobytes) under the 'Mem Usage' column. This built-in command-line tool allows you to identify which process is consuming excessive memory without installing any third-party software, directly addressing the user's need to diagnose a slow PC.
Exam trap
The trap here is that candidates may confuse `tasklist` with `ipconfig` or `sfc` because they are all common Windows command-line tools, but only `tasklist` is designed to display process information and memory usage.
How to eliminate wrong answers
Option A is wrong because `ipconfig` is used to display network configuration details (e.g., IP address, subnet mask, default gateway) and has no capability to list running processes or their memory usage. Option C is wrong because `chkdsk` checks the file system and disk for errors and bad sectors, but it does not provide any information about running processes or memory consumption. Option D is wrong because `sfc /scannow` scans and repairs protected system files, but it does not list processes or report memory usage.