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

    A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?

    A. Cloud-init
    B. Bash
    C. Docker
    D. Sidecar

  • Question 352:

    Which of the following describes how a user's public key is used during SSH authentication?

    A. The user's public key is used to hash the password during SSH authentication.
    B. The user's public key is verified against a list of authorized keys. If it is found, the user is allowed to log in.
    C. The user's public key is used instead of a password to allow server access.
    D. The user's public key is used to encrypt the communication between the client and the server.

  • Question 353:

    A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?

    A. chown web:web /home/web
    B. chmod -R 400 /home/web
    C. echo "umask 377" >> /home/web/.bashrc
    D. setfacl read /home/web

  • Question 354:

    An administrator wants to execute a long-running script in the terminal while troubleshooting another issue. Which of the following options will achieve this goal?

    A. bash script.sh and
    B. source script.sh
    C. sh script.sh | jobs
    D. nice -10 ./script.sh

  • Question 355:

    A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish this task?

    A. xargs -f cat toDelete.txt -rm
    B. rm -d -r -f toDelete.txt
    C. cat toDelete.txt | rm -frd
    D. cat toDelete.txt | xargs rm -rf

  • Question 356:

    Which of the following actions is required to establish a passwordless SSH authentication?

    A. Copy the private SSH key to the remote server.
    B. Copy the public and private keys to the remote server.
    C. Generate public and private keys on the remote server.
    D. Copy the public SSH key to the remote server.

  • Question 357:

    A systems administrator is encountering performance issues. The administrator runs 3 commands with the following output

    The Linux server has the following system properties

    CPU: 4 vCPU Memory: 50GB

    Which of the following accurately describes this situation?

    A. The system is under CPU pressure and will require additional vCPUs
    B. The system has been running for over a year and requires a reboot.
    C. Too many users are currently logged in to the system
    D. The system requires more memory

  • Question 358:

    A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?

    A. chmod 775
    B. umask. 002
    C. chactr -Rv
    D. chown -cf

  • Question 359:

    A Linux administrator is tasked with moving files in a database server. The administrator must not overwrite any existing files. Which of the following commands would indicate that the file already exists?

    A. mv-ifilename/tmp/backup
    B. mv-bfilename/tmp/backup
    C. mv-nfilename/tmp/backup
    D. mv-ffilename/tmp/backup

  • Question 360:

    A Linux systems administrator needs to add additional code to code that resides within a repository without changing the original code. Once completed, the additional code will be merged into the main branch. Which of the following commands should the administrator use first?

    A. git push
    B. git rebase
    C. git tag
    D. git clone

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.