New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA XK0-005 Exam - 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:

0/2000 characters
Graciela
3 months ago
I thought skill was a typo at first, lol!
upvoted 0 times
...
Rupert
3 months ago
killall is not the right command for this, just saying.
upvoted 0 times
...
Elden
3 months ago
Wait, can you really use wildcards like that with pkill?
upvoted 0 times
...
Dianne
4 months ago
Definitely agree, pkill -9 -f is the way to go!
upvoted 0 times
...
Cathrine
4 months ago
I think pkill is the right choice here.
upvoted 0 times
...
Kathrine
4 months ago
I’m confused about the options; I don’t think skill is a valid command, right? That one seems off.
upvoted 0 times
...
Gladis
4 months ago
I feel like I’ve seen a question similar to this, and I think killall might be the one, but I can’t recall the exact syntax.
upvoted 0 times
...
Carmen
4 months ago
I think pkill -9 -f 'upload*.sh' is the right choice since it can match the process name pattern.
upvoted 0 times
...
Sabrina
5 months ago
I remember practicing with pkill and killall commands, but I'm not sure which one is more appropriate here.
upvoted 0 times
...
Helga
5 months ago
I'm a little confused by the different options here. I'll need to double-check the syntax and behavior of each command to make sure I select the correct one.
upvoted 0 times
...
Hector
5 months ago
Okay, I've got this! The key is to use a command that will terminate all the processes matching the 'upload*.sh' pattern. I think option A is the way to go.
upvoted 0 times
...
Long
5 months ago
Hmm, I'm a bit unsure about this one. The processes have weird names, so I'll need to think carefully about the right command to use.
upvoted 0 times
...
Tamala
5 months ago
This looks like a straightforward Linux process termination question. I'll carefully review the options and choose the one that best matches the scenario.
upvoted 0 times
...
Edwin
5 months ago
I'm leaning towards "Write Cache" too, but the garbage collection part is a bit fuzzy for me. It seems like it might not apply directly to the system drive.
upvoted 0 times
...
Terrilyn
5 months ago
Okay, I've seen questions like this before. I think the key is understanding the difference between creating a new user and creating a new group.
upvoted 0 times
...
Dean
5 months ago
Okay, I think the key is to make sure we've answered all the questions listed at the end - about model performance, hypothesis testing, data needs, and domain expert feedback. That will help us determine if the model is robust enough.
upvoted 0 times
...
Eve
5 months ago
Creating access points in closer regions sounds like it could be a solution, but I might be mixing up access points with something else I studied.
upvoted 0 times
...
Bettyann
9 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
8 months ago
Definitely going with A to terminate those processes. Can't be too careful with compromised systems.
upvoted 0 times
...
Pa
8 months ago
Yeah, A seems like the most straightforward command to use in this situation.
upvoted 0 times
...
Moira
8 months ago
I think A is the best option too. Let's go with that.
upvoted 0 times
...
Gladis
8 months ago
I agree, 'skill' seems like a sneaky option. A seems like the safest choice.
upvoted 0 times
...
...
Glendora
10 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
9 months ago
Let's go with Option A and clean up the system quickly.
upvoted 0 times
...
Tyisha
9 months ago
I agree, Option A is the most efficient way to get rid of those unwanted scripts.
upvoted 0 times
...
Rima
9 months ago
A) pkill -9 -f \'upload*.sh\' is definitely the best choice for terminating those processes.
upvoted 0 times
...
...
Wilda
10 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
9 months ago
D) skill -9 \'upload*.sh\'
upvoted 0 times
...
Veronika
9 months ago
C) killall -9 -upload*.sh\'
upvoted 0 times
...
Fernanda
9 months ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Elvera
9 months ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Iluminada
10 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
9 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
9 months ago
I'm not sure about option B, using kill with -9 might not target all the processes correctly.
upvoted 0 times
...
Vallie
10 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
10 months ago
I agree, option A seems like the best choice to terminate those processes quickly.
upvoted 0 times
...
...
Krystal
10 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
9 months ago
B) kill -9 \'upload*.sh\'
upvoted 0 times
...
Garry
10 months ago
A) pkill -9 -f \'upload*.sh\'
upvoted 0 times
...
...
Mira
10 months ago
That makes sense too, killall could be a better option. Thanks for sharing your opinion, Gracia.
upvoted 0 times
...
Gracia
11 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
11 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