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

    Which of the following files holds the system configuration for journal when running systemd?

    A. /etc/systemd/journald.conf
    B. /etc/systemd/systemd-journalctl.conf
    C. /usr/lib/systemd/journalctl.conf
    D. /etc/systemd/systemd-journald.conf

  • Question 42:

    A developer wants to ensure that all files and folders created inside a shared folder named /GroupOODEV inherit the group name of the parent folder. Which of the following commands will help achieve this goal?

    A. chmod g+X / GroupOODEV/
    B. chmod g+W / GroupOODEV/
    C. chmod g+r / GroupOODEV/
    D. chmod g+s / GroupOODEV/

  • Question 43:

    A Linux user would like the shell changed to /bin/bash. Which of the following commands will accomplish this task?

    A. usermod -g /bin/bash user
    B. usermod -s /bin/bash user
    C. usermod -p /bin/bash user
    D. usermod -d /bin/bash user

  • Question 44:

    Which of the following technologies can be used as a central repository of Linux users and groups?

    A. LDAP
    B. MFA
    C. SSO
    D. PAM

  • Question 45:

    A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?

    A. route -e get to 192.168.1.40 from 10.0.2.15
    B. ip route get 192.163.1.40 from 10.0.2.15
    C. ip route 192.169.1.40 to 10.0.2.15
    D. route -n 192.168.1.40 from 10.0.2.15

  • Question 46:

    Users are experiencing high latency when accessing a web application served by a Linux machine. A systems administrator checks the network interface counters and sees the following: Which of the following is the most probable cause of the observed latency?

    A. The network interface is disconnected.
    B. A connection problem exists on the network interface.
    C. No IP address is assigned to the interface.
    D. The gateway is unreachable.

  • Question 47:

    A systems administrator wants to upgrade /bin/ someapp to a new version, but the administrator does not know the package name. Which of the following will show the RPM package name that provides that binary file?

    A. rpm --qf /bin/ someapp
    B. rpm --Vv / bin/ someapp
    C. rpm - P / bin/ some app
    D. rpm --i / bin/ someapp

  • Question 48:

    A systems administrator needs to create a new service unit file. This new unit file is required to start when all services are running with the command-line interface only. Which of the following options should the administrator use to accomplish this task?

    A. WantedBy=basic.target
    B. WantedBy=network-online.target
    C. WantedBy=multi-user.target
    D. WantedBy=graphical.target

  • Question 49:

    After trying to install an RPM package unsuccessfully, a systems administrator verifies the integrity of the package's database. The administrator discovers that the database is corrupted and needs to be recreated. Which of the following commands will help accomplish this task?

    A. rpmdb -D rebuild
    B. rpmdb --initdb
    C. rpmdb --rebuilddb
    D. rpmdb --exportdb

  • Question 50:

    An application requires a configuration file be placed in each user's home directory when an account is created. In which of the following locations should the administrator place the configuration file?

    A. /etc/ske1
    B. /etc/sysconfig
    C. /etc/ssh
    D. /etc/rc.local

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.