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
2 months 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
Amie
12 days ago
Definitely going with A to terminate those processes. Can't be too careful with compromised systems.
upvoted 0 times
...
Pa
13 days ago
Yeah, A seems like the most straightforward command to use in this situation.
upvoted 0 times
...
Moira
21 days ago
I think A is the best option too. Let's go with that.
upvoted 0 times
...
Gladis
22 days ago
I agree, 'skill' seems like a sneaky option. A seems like the safest choice.
upvoted 0 times
...
...
Glendora
2 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
1 months ago
Let's go with Option A and clean up the system quickly.
upvoted 0 times
...
Tyisha
2 months ago
I agree, Option A is the most efficient way to get rid of those unwanted scripts.
upvoted 0 times
...
Rima
2 months ago
A) pkill -9 -f \'upload*.sh\' is definitely the best choice for terminating those processes.
upvoted 0 times
...
...
Wilda
3 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
1 months ago
D) skill -9 \'upload*.sh\'
upvoted 0 times
...
Veronika
2 months ago
C) killall -9 -upload*.sh\'
upvoted 0 times
...
Fernanda
2 months ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Elvera
2 months ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Iluminada
3 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
2 months 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
2 months ago
I'm not sure about option B, using kill with -9 might not target all the processes correctly.
upvoted 0 times
...
Vallie
2 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
3 months ago
I agree, option A seems like the best choice to terminate those processes quickly.
upvoted 0 times
...
...
Krystal
3 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
2 months ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Garry
2 months ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Mira
3 months ago
That makes sense too, killall could be a better option. Thanks for sharing your opinion, Gracia.
upvoted 0 times
...
Gracia
3 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
4 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