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 171:

    Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?

    A. Kubernetes
    B. Ansible
    C. Podman
    D. Terraform

  • Question 172:

    A systems administrator wants to delete app . conf from a Git repository. Which of the following commands will delete the file?

    A. git tag app. conf
    B. git commit app . conf
    C. git checkout app . conf
    D. git rm app. conf

  • Question 173:

    A Linux administrator is creating a directory called CompTIA_doc and needs to switch to another location to perform some system-related tasks. Which of the following commands should the administrator use for this task?

    A. mkdir CompTIA doc and cd CompTIA doc
    B. mkdir CompTIA_doc > cd CompTIA_doc
    C. mkdir CompTIA_doc || cd CompTIA_doc
    D. mkdir CompTIA_doc andand cd CompTIA_doc

  • Question 174:

    A Linux administrator has physically added a new RAID adapter to a system. Which of the following commands should the Linux administrator run to confirm that the device has been recognized? (Select TWO).

    A. rmmod
    B. Is -11 /etc
    C. Ishw --class disk
    D. pvdisplay
    E. rmdir /dev
    F. dmesg

  • Question 175:

    A Linux administrator is troubleshooting connectivity issues and receives the following outputs:

    $ ping comptia.org

    ping: comptia.org: Temporary failure in name resolution

    $ ping 104.18.17.29

    64 bytes from 104.18.17.29: icmp_seq=1 ttl=63 time=31.4 ms

    ...

    Which of the following describes the issue?

    A. A DNS has not been configured in the /etc/resolv.conf file
    B. A name server IP address has not been added in the /etc/protocols file
    C. The network interface is disabled
    D. A gateway IP address has not been configured on the network interface's configuration file

  • Question 176:

    A Linux administrator changed a systemd configuration. However, the change was not applied after the system was restarted. Which of the following commands is required to apply the change?

    A. systemctl enable
    B. [Option missing]
    C. systemctl daemon-reload
    D. systemctl restart

  • Question 177:

    After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account. Which of the following commands will accomplish this task?

    A. chgrp system accountname
    B. passwd -s accountname
    C. chmod -G system account name
    D. chage -E -1 accountname

  • Question 178:

    A Linux administrator is changing the default system umask. The newly created files should have the -rw-r----- permission, and the newly created directories should have the drwxr----- permission. Which of the following commands should the administrator use?

    A. umask 0035
    B. umask 0036
    C. umask 0037
    D. umask 0038

  • Question 179:

    The application team is having issues accessing their data in their /app filesystem. Given the following outputs:

    Which of the following is the reason for this issue?

    A. The fllesystem was mounted incorrectly.
    B. The /etc/fstab configuration is wrong.
    C. A physical volume is missing.
    D. The data has been deleted.

  • Question 180:

    A systems administrator is implementing a new service task with systems at startup and needs to execute a script entitled test.sh with the following content: The administrator tries to run the script after making it executable with chmod +x; however, the script will not run. Which of the following should the administrator do to address this issue? (Choose two.)

    A. Add #!/bin/bash to the bottom of the script.
    B. Create a unit file for the new service in /etc/systemd/system/ with the name helpme.service in the location.
    C. Add #!//bin/bash to the top of the script.
    D. Restart the computer to enable the new service.
    E. Create a unit file for the new service in /etc/init.d with the name helpme.service in the location.
    F. Shut down the computer to enable the new service.

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.