ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 413 - PT0-002 discussion

Report
Export

After successfully compromising a remote host, a security consultant notices an endpoint protection software is running on the host. Which of the following commands would be best for the consultant to use to terminate the protection software and its child processes?

A.
taskkill /PID <PID> /T /F
Answers
A.
taskkill /PID <PID> /T /F
B.
taskkill /PID <PID> /IM /F
Answers
B.
taskkill /PID <PID> /IM /F
C.
taskkill /PID <PID> /S /U
Answers
C.
taskkill /PID <PID> /S /U
D.
taskkill /PID <PID> /F /P
Answers
D.
taskkill /PID <PID> /F /P
Suggested answer: A

Explanation:

The taskkill command is used in Windows to terminate tasks by process ID (PID) or image name (IM). The correct command to terminate a specified process and any child processes which were started by it uses the /T flag, and the /F flag is used to force terminate the process. Therefore, taskkill /PID <PID> /T /F is the correct syntax to terminate the endpoint protection software and its child processes.

The other options listed are either incorrect syntax or do not accomplish the task of terminating the child processes:

* /IM specifies the image name but is not necessary when using /PID.

* /S specifies the remote system to connect to and /U specifies the user context under which the command should execute, neither of which are relevant to terminating processes.

* There is no /P flag in the taskkill command.

asked 02/10/2024
Guillermo Fontaine
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first