Exam Details

  • Exam Code
    :XK0-005
  • Exam Name
    :CompTIA Linux+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :396 Q&As
  • Last Updated
    :Mar 23, 2025

CompTIA CompTIA Certifications XK0-005 Questions & Answers

  • Question 81:

    A Linux administrator is configuring a new internal web server fleet. The web servers are up and running but can only be reached by users directly via IP address. The administrator is attempting to fix this inconvenience by requesting appropriate records from the DNS team. The details are: Hostname: devel.comptia.org

    IP address: 5.5.5.1, 5.5.5.2, 5.5.5.3, 5.5.5.4

    Name server: 5.5.5.254

    Additional names: dev.comptia.org, development.comptia.org

    Which of the following types of DNS records should the Linux administrator request from the DNS team? (Select three).

    A. MX

    B. NS

    C. PTR

    D. A

    E. CNAME

    F. RRSIG

    G. SOA

    H. TXT

    I. SRV

  • Question 82:

    A Linux administrator is alerted to a storage capacity issue on a server without a specific mount point or directory. Which of the following commands would be MOST helpful for troubleshooting? (Choose two.)

    A. parted

    B. df

    C. mount

    D. du

    E. fdisk

    F. dd

    G. ls

  • Question 83:

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

    A non-privileged user is attempting to use commands that require elevated account permissions, but the commands are not successful. Which of the following most likely needs to be updated?

    A. /etc/passwd

    B. /etc/shadow

    C. /etc/sudoers

    D. /etc/bashrc

  • Question 85:

    In which of the following filesystems are system logs commonly stored?

    A. /var

    B. /tmp

    C. /etc

    D. /opt

  • Question 86:

    An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should the administrator review?

    A. /etc/named.conf.rpmnew

    B. /etc/named.conf.rpmsave

    C. /etc/named.conf

    D. /etc/bind/bind.conf

  • Question 87:

    A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production. Which of the following should the Linux administrator choose for the new design?

    A. Docker

    B. On-premises systems

    C. Cloud-based systems

    D. Kubernetes

  • Question 88:

    After starting an Apache web server, the administrator receives the following error:

    Apr 23 localhost.localdomain httpd 4618] : (98) Address already in use: AH00072: make_sock: could not bind to address [: :]80

    Which of the following commands should the administrator use to further trou-bleshoot this issue?

    A. Ss

    B. Ip

    C. Dig

    D. Nc

  • Question 89:

    A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

    A. rpm -i wget

    B. rpm -qf wget

    C. rpm -F wget

    D. rpm -V wget

  • Question 90:

    A junior developer is unable to access an application server and receives the following output:

    The systems administrator investigates the issue and receives the following output:

    Which of the following commands will help unlock the account?

    A. Pam_tally2 --user=dev2 ---quiet

    B. pam_ tally2 --user=dev2

    C. pam_tally2 --user+dev2 ---quiet

    D. pam_tally2 --user=dev2 ---reset

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.