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:

Bettyann
27 days ago
Wait, did I just see 'skill' as an option? Looks like someone's trying to pull a fast one on us! Nice try, but I'm sticking with A.
upvoted 0 times
...
Glendora
1 months ago
Gotta love a good ol' process purge. Option A seems like the way to go, get those nasty scripts out of there!
upvoted 0 times
Kelvin
2 days ago
Let's go with Option A and clean up the system quickly.
upvoted 0 times
...
Tyisha
11 days ago
I agree, Option A is the most efficient way to get rid of those unwanted scripts.
upvoted 0 times
...
Rima
13 days ago
A) pkill -9 -f \'upload*.sh\' is definitely the best choice for terminating those processes.
upvoted 0 times
...
...
Wilda
1 months ago
Ooh, look at those sneaky upload scripts! I bet the administrator's gonna have a field day shutting those down.
upvoted 0 times
Joanna
3 days ago
D) skill -9 \'upload*.sh\'
upvoted 0 times
...
Veronika
9 days ago
C) killall -9 -upload*.sh\'
upvoted 0 times
...
Fernanda
12 days ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Elvera
17 days ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Iluminada
2 months ago
Hmm, I'm leaning towards option A. Killing those upload scripts with a -9 signal should do the trick nicely.
upvoted 0 times
Tennie
23 days ago
I've used pkill before and it worked well, so I also think option A is the way to go.
upvoted 0 times
...
Lashanda
30 days ago
I'm not sure about option B, using kill with -9 might not target all the processes correctly.
upvoted 0 times
...
Vallie
1 months ago
I think option C might work too, using killall with the -9 signal could also do the job effectively.
upvoted 0 times
...
Staci
1 months ago
I agree, option A seems like the best choice to terminate those processes quickly.
upvoted 0 times
...
...
Krystal
2 months ago
Whoa, that's a lot of suspicious processes! Time to terminate them all before they cause any more trouble.
upvoted 0 times
Meghann
25 days ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Garry
1 months ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Mira
2 months ago
That makes sense too, killall could be a better option. Thanks for sharing your opinion, Gracia.
upvoted 0 times
...
Gracia
2 months 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
2 months 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