XK0-005 Exam Details

  • Exam Code
    :XK0-005
  • Exam Name
    :CompTIA Linux+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :476 Q&As
  • Last Updated
    :May 25, 2026

CompTIA XK0-005 Online Questions & Answers

  • Question 381:

    Linux system users report that over the past few months, a server has stopped responding at least twice each day. Every time this happens, the users have to restart the server to recover it. A systems administrator diagnosing the issue collects the following outputs: csharp Output 1 [Tue Aug 31 16:36:42 2021] oom-killer invoked by java: gfp_mask=0x280da2 order=0, oom_score_adj=0 [Tue Aug 31 16:36:42 2021] java cpuset=/ mems_allowed=0 makefile Output 2 [root@server]# free -m total used free shared buff/cache available Mem: 15819 15026 174 92 619 134 Swap: 0 0 0 Which of the following is the best permanent resolution for the system?

    A. More memory resources
    B. More CPU resources
    C. More network bandwidth
    D. Extended root filesystem

  • Question 382:

    A DevOps engineer wants to implement a new feature on the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?

    A. git pull
    B. git push
    C. git branch
    D. git tag

  • Question 383:

    A Linux administrator is implementing a CI/CD process for the company's internal accounting web application. Which of the following best defines the purpose of this process?

    A. To automate the process of building, testing, and deploying application components
    B. To perform security penetration tests on deployed applications to identify vulnerabilities
    C. To formalize the approval process of application releases and configuration changes
    D. To leverage code to document the infrastructure, configurations, and dependencies

  • Question 384:

    A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running. Which of the following commands can accomplish this task?

    A. docker cp container_id/deployment.yaml deployment.yaml
    B. docker cp container_id:/deployment.yaml deployment.yaml
    C. docker cp deployment.yaml local://deployment.yaml
    D. docker cp container_id/deployment.yaml local://deployment.yaml

  • Question 385:

    A Linux administrator updated the configuration file for the httpd web service. The administrator needs to apply the updated changes to the service without interrupting any running sessions. Which of the following commands should the administrator run to accomplish this task?

    A. systemctl reload httpd
    B. systemctl restart httpd
    C. systemctl status httpd
    D. systemctl mask httpd

  • Question 386:

    In which of the following filesystems are system logs commonly stored?

    A. /var
    B. /tmp
    C. /etc
    D. /opt

  • Question 387:

    A Linux administrator needs to replace the content of the test1.sh file with the content of the test2.sh file. Which of the following commands will help accomplish this task?

    A. cat test2.sh >> test1.sh
    B. cat test2.sh > test1.sh
    C. cat test2.sh < test1.sh
    D. cat test2.sh ?test1.sh

  • Question 388:

    The MySQL database process that was running on a Linux server suddenly stopped, and the process was killed. Which of the following commands can help identify whether this issue was produced by the OOM killer?

    A. grep /proc/oom_score
    B. grep -ir "out of memory" /var/log
    C. cat /var/run/initramfs/overlayroot.log | grep "out of memory"
    D. cat /sys/block/loop0/events

  • Question 389:

    A Linux systems administrator is updating code. After completing the update, the administrator wants to publish the updated code without including the configuration files. Which of the following should the administrator use to accomplish this task?

    A. git clone
    B. git
    C. .gitignore
    D. git fetch

  • Question 390:

    A Linux systems administrator is troubleshooting an I/O latency on a single CPU server. The administrator runs a top command and receives the following output:

    %Cpu(s): 0.2 us, 33.1 sy, 0.0 ni, 0.0 id, 52.4 wa, 0.0 hi, 0.2 si, 0.0 st

    Which of the following is correct based on the output received from the exe-cuted command?

    A. The server's CPU is taking too long to process users' requests.
    B. The server's CPU shows a high idle-time value.
    C. The server's CPU is spending too much time waiting for data inputs.
    D. The server's CPU value for the time spent on system processes is low.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your XK0-005 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.