XK0-005 Exam Details

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

CompTIA XK0-005 Online Questions & Answers

  • Question 51:

    Which of the following directories is the mount point in a UEFI system?

    A. /sys/efi
    B. /boot/efi
    C. /efi
    D. /etc/efi

  • Question 52:

    A Linux administrator needs to check the content of a log file that is appending data as the file grows. Which of the following commands should the administrator use to accomplish this task?

    A. tail -f log.txt
    B. tail -v log.txt
    C. tail -c log.txt
    D. tail log.txt

  • Question 53:

    A DevOps engineer wants to work on a snapshot of 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 54:

    A Linux user reported the following error after trying to connect to the system remotely:

    ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable

    The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

    Which of the following commands will resolve this issue?

    A. firewall-cmd --zone=public --permanent --add-service=22
    B. systemct1 enable firewalld; systemct1 restart firewalld
    C. firewall-cmd --zone=public --permanent --add-service=ssh
    D. firewall-cmd --zone=public --permanent --add-port=22/udp

  • Question 55:

    A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?

    A. /etc/host.conf
    B. /etc/hostname
    C. /etc/services
    D. /etc/ssh/sshd_config

  • Question 56:

    A systems administrator notices the process list on a mission-critical server has a large number of processes that are in state "Z" and marked as "defunct." Which of the following should the administrator do in an attempt to safely remove these entries from the process list?

    A. Kill the process with PID 1.
    B. Kill the PID of the processes.
    C. Kill the parent PID of the processes.
    D. Reboot the server.

  • Question 57:

    Which of the following is the main purpose of SSO?

    A. To allow a user to authenticate once and have access to multiple applications or systems without having to log in again
    B. To add an extra layer of protection, reducing the risk of unauthorized access, requiring more than just a password to access
    C. To be an essential component for managing authentication, authorization, and identity information
    D. To serve as an information protection mechanism that protects identities with administrative access

  • Question 58:

    An administrator accidentally installed the httpd RPM package along with several dependencies. Which of the following options is the best way for the administrator to revert the package installation?

    A. dnf clean all
    B. rpm -e httpd
    C. apt-get clean
    D. yum history undo last

  • Question 59:

    At what point is the Internal Certificate Authority (ICA) created?

    A. During the primary Security Management Server installation process.
    B. Upon creation of a certificate.
    C. When an administrator decides to create one.
    D. When an administrator initially logs into SmartConsole.

  • Question 60:

    A Linux administrator encounters the following error in the Apache log files:

    css

    SQLSTATE[HY000] [2002] Permission denied

    Which of the following commands should the administrator run to safely fix this issue?

    A. chcon -c httpd_sys_content_t /home/apache
    B. setsebool -F httpd_can_network_connect_db on
    C. setenforce 0
    D. touch /.autorelabel

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.