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

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77