Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam PT0-002 Topic 1 Question 54 Discussion

Actual exam question for CompTIA's PT0-002 exam
Question #: 54
Topic #: 1
[All PT0-002 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

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.


Contribute your Thoughts:

Rene
11 months ago
I'm not sure, but I think C) taskkill /PID /S /U could work as well.
upvoted 0 times
...
Herman
11 months ago
I disagree, I believe option D) taskkill /PID /F /P would be more effective.
upvoted 0 times
...
Latanya
11 months ago
I think the best command to use would be A) taskkill /PID /T /F.
upvoted 0 times
...
Deonna
12 months ago
Hmm, you may be right. Let's try both commands to be safe.
upvoted 0 times
...
Olene
12 months ago
Are you sure about that? I think B) taskkill /PID /IM /F might be more effective.
upvoted 0 times
Ernestine
11 months ago
Agreed. A) taskkill /PID /T /F it is.
upvoted 0 times
...
Carol
12 months ago
Alright, let's go with A) then. It seems like the safest choice.
upvoted 0 times
...
Albina
12 months ago
I think A) taskkill /PID /T /F is the best option in this situation.
upvoted 0 times
...
Shenika
12 months ago
That's a good point. Maybe A) would be more thorough in terminating everything.
upvoted 0 times
...
Kandis
12 months ago
But wouldn't A) taskkill /PID /T /F terminate all child processes as well?
upvoted 0 times
...
Desiree
12 months ago
No, I disagree. B) taskkill /PID /IM /F is better.
upvoted 0 times
...
Candida
12 months ago
A) taskkill /PID /T /F
upvoted 0 times
...
...
Deonna
12 months ago
I think the best command to use would be A) taskkill /PID /T /F.
upvoted 0 times
...

Save Cancel