EC-Council
312-50V9 · Question #30
312-50V9 Question #30: Real Exam Question with Answer & Explanation
The correct answer is C: Sc query. The sc query command without additional parameters returns all currently active (running) services on a Windows system.
Question
At a Windows Server command prompt, which command could be used to list the running services?
Options
- ASc query type= running
- BSc query \servername
- CSc query
- DSc config
Explanation
The sc query command without additional parameters returns all currently active (running) services on a Windows system.
Common mistakes.
- A.
sc query type= runningis a more explicit filter but requires the correct spacing syntax; the basicsc queryalready shows running services and is the simpler accepted answer here. - B.
sc query \\servernamequeries services on a remote machine specified by name, not the local system's running services. - D.
sc configis used to modify or configure service properties such as start type and display name; it does not list services.
Concept tested. Windows SC command for listing running services
Reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sc-query
Community Discussion
No community discussion yet for this question.