exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 84 discussion

Actual exam question from CompTIA's XK0-005
Question #: 84
Topic #: 1
[All XK0-005 Questions]

A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:

Which of the following commands would address the issue?

  • A. top -p 8321
  • B. kill -9 8321
  • C. renice -10 8321
  • D. free 8321
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Towjumper
Highly Voted 6 months ago
Selected Answer: B
Question like this are why people despise CompTIA and their ridiculously worded questions.
upvoted 7 times
...
DRVision
Most Recent 11 months ago
Selected Answer: B
obviously b, lowering the nice value from the default 0 and increasing the priority would dedicate more resources
upvoted 2 times
zionjr
5 months, 1 week ago
A nice value of 10 indicates a process with lower priority than the default (0). so it can actually free up some memory
upvoted 1 times
...
...
Damon54
1 year, 2 months ago
Selected Answer: B
No, corroge I think B is actually better as an answer
upvoted 1 times
...
Damon54
1 year, 2 months ago
Selected Answer: C
renice -10 lowers the priority of the process with PID 8321 by changing its nice value. A lower nice value means the process will have a higher priority, which can help prevent it from consuming too much CPU and memory resources. This command won't kill the process but will make it less aggressive in resource consumption.
upvoted 1 times
Zimendrakon
1 year, 1 month ago
A lower priority value means the process demands more resources, possibly denying those resources to processes that are "nicer".
upvoted 1 times
Zimendrakon
1 year, 1 month ago
A Linux administrator is troubleshooting a memory-related issue- but what is the issue that the process needs more memory or that we need to free memory ?
upvoted 2 times
...
...
...
Jacobmy98
1 year, 6 months ago
Selected Answer: B
b is it
upvoted 1 times
...
linux_admin
1 year, 8 months ago
Selected Answer: B
B. kill -9 8321 If a process is causing memory issues, it may be necessary to terminate the process. The "kill" command is used to send signals to processes, and the -9 option sends the SIGKILL signal, which terminates the process immediately. By using the command "kill -9 8321", the administrator can terminate the process causing memory issues.
upvoted 3 times
...
MissAllen
2 years ago
Answer B is correct. The renice command speeds up or slows down processes in regards to CPU access. Killing the process would free up the memory.
upvoted 3 times
TheRealManish
1 year, 11 months ago
this question is ridiculous. 1/2 of the total memory is listed as available.. there is not memory problem here.. but yes.. B is the only way to free up memory out of these anwers..
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago