Free XK0-005 Exam Braindumps (page: 37)

Page 36 of 96

A Linux systems administrator receives reports from various users that an application hosted on a server has stopped responding at similar times for several days in a row. The administrator logs in to the system and obtains the following output:
Output 1:
Output 2:
Output 3:
Which of the following should the administrator do to provide the BEST solution for the reported issue?


  1. Configure memory allocation policies during business hours and prevent the Java process from going into a zombie state while the server is idle.
  2. Configure a different nice value for the Java process to allow for more users and prevent the Java process from restarting during business hours.
  3. Configure more CPU cores to allow for the server to allocate more processing and prevent the Java process from consuming all of the available resources.
  4. Configure the swap space to allow for spikes in usage during peak hours and prevent the Java process from stopping due to a lack of memory.

Answer(s): D



A Linux administrator found many containers in an exited state. Which of the following commands will allow the administrator to clean up the containers in an exited state?

  1. docker rm --all
  2. docker rm $(docker ps -aq)
  3. docker images prune *
  4. docker rm --state exited

Answer(s): B



A Linux administrator reviews a set of log output files and needs to identify files that contain any occurrence of the word denied. All log files containing entries in uppercase or lowercase letters should be included in the list. Which of the following commands should the administrator use to accomplish this task?

  1. find . -type f -print | xrags grep -ln denied
  2. find . -type f -print | xrags grep -nv denied
  3. find . -type f -print | xrags grep -wL denied
  4. find . -type f -print | xrags grep -li denied

Answer(s): D



A cloud engineer needs to launch a container named web-01 in background mode. Which of the following commands will accomplish this task?

  1. docker builder -f --name web-01 httpd
  2. docker load --name web-01 httpd
  3. docker ps -a --name web-01 httpd
  4. docker run -d --name web-01 httpd

Answer(s): D






Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

XK0-005 Exam Discussions & Posts