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 XK0-005 Topic 3 Question 27 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 27
Topic #: 3
[All XK0-005 Questions]

While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running:

Which of the following commands should the administrator use to terminate all of the identified processes?

Show Suggested Answer Hide Answer
Suggested Answer: B

systemctl stop systemd-journald systemctl start systemd-journald is the best approach among the given options. Stopping and starting the systemd-journald service can help in managing the disk space used by journal logs without manually deleting log files or using more aggressive cleanup methods. This method ensures that log management is handled gracefully by the system's own services.


Contribute your Thoughts:

Iluminada
6 days ago
Hmm, I'm leaning towards option A. Killing those upload scripts with a -9 signal should do the trick nicely.
upvoted 0 times
...
Krystal
9 days ago
Whoa, that's a lot of suspicious processes! Time to terminate them all before they cause any more trouble.
upvoted 0 times
...
Mira
9 days ago
That makes sense too, killall could be a better option. Thanks for sharing your opinion, Gracia.
upvoted 0 times
...
Gracia
15 days ago
I disagree, I believe the correct answer is C) killall -9 -upload*.sh\' because it uses the killall command to terminate processes by name.
upvoted 0 times
...
Mira
26 days ago
I think the answer is A) pkill -9 -f \'upload*.sh\' because it uses the pkill command to terminate processes matching a specific pattern.
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