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

    A systems administrator is tasked with configuring a repository on an RPM-based Linux system. Which of the following need to be reviewed and modified? (Select two).

    A. /etc/yum.conf
    B. /etc/apt/sources.list.d
    C. /etc/pam.d
    D. /etc/apt.conf
    E. /etc/yum.repos.d
    F. /etc/ssh/ssh_config

  • Question 222:

    A systems administrator is working on an SFTP server configuration.

    Which of the following commands will best enable the connectivity to that service from the 10.10.0.0/24 network?

    A. sudo ufw allow from 10.10.0.0/24 to any port 22
    B. sudo ufw allow in on eth0 to any port 22
    C. sudo ufw allow from 10.10.0.0/24
    D. sudo ufw allow 0:22/tcp from 10.10.0.0

  • Question 223:

    An administrator is provisioning an Apache web server. When the administrator visits the server website, the browser displays a message indicating the website cannot be reached. Which of the following commands should the administrator use to verify whether the service Is running?

    A. systemctlstatus httpd
    B. systemctlmask httpd
    C. systemctlreload httpd
    D. systemctlrestart httpd

  • Question 224:

    An administrator has source code and needs to rebuild a kernel module. Which of the following command sequences is most commonly used to rebuild this type of module?

    A. ./configure make make install
    B. wget gcc cp
    C. tar xvzf build cp
    D. build install configure

  • Question 225:

    A server administrator has scheduled a cron job to run YUM updates on all servers without manual intervention, but kernel packages must be excluded from the updates at all times. Which of the following configuration files needs to be modified to make these changes persistent?

    A. /etc/yum.conf
    B. /etc/dnf/dnf.conf
    C. /etc/yum/pluginconf.d/packages.conf
    D. /etc/yum.repo.d/kernel.repo

  • Question 226:

    An organization's business office needs to collaborate on quarterly reports and asks the systems administrator to create a finance group. The administrator creates the following directory:

    drwxrwxr-x Business Business 4096 Oct 15 16:40 Q1

    Which of the following commands will allow all members of the finance group to have group ownership of all files created in the Q1 directory while ensuring that members of the business group preserve access? (Select two).

    A. chgrp Finance Q1/
    B. chmod g+s Q1/
    C. chmod u+s Q1/
    D. chmod a+x Q1/
    E. chown Finance Q1/
    F. chmod g+x Q1/

  • Question 227:

    A Linux administrator needs to check extended permissions applied to the directory test. Which of the following commands should the administrator use to help with this task?

    A. getsebool test/
    B. getenforce test/
    C. getfacl test/
    D. ls -al test/

  • Question 228:

    A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to complete this requirement?

    A. hostnamectl status --no-ask-password
    B. hostnamectl set-hostname "$(perl -le "print" "A" x 86)"
    C. hostnamectl set-hostname Comptia-WebNode -H [email protected]
    D. hostnamectl set-hostname Comptia-WebNode --transient

  • Question 229:

    Which of the following best describes the function of Linux inodes?

    A. To manage a list of filesystem ACLs
    B. To store data using copy-on-write
    C. To store encrypted file data
    D. To track file metadata

  • Question 230:

    Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?

    A. Centos Linux
    B. Gaia embedded
    C. Gaia
    D. Red Hat Enterprise Linux version 5

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.