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

    Which of the following should be used to verify the integrity of a file?

    A. sha256sum
    B. fsck
    C. gpg --d
    D. hashcat

  • Question 72:

    An administrator made a change to a system's network configuration.

    Which of the following best represents what the administrator should do to have the new configuration take effect?

    A. systemctl restart networkd
    B. systemctl enable networkd
    C. systemctl status networkd
    D. systemctl isolate networkd

  • Question 73:

    A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?

    A. docker run -ti app /bin/sh
    B. podman exec -ti app /bin/sh
    C. podman run -d app /bin/bash
    D. docker exec -d app /bin/bash

  • Question 74:

    A Linux systems administrator receives a notification that one of the server's filesystems is full. Which of the following commands would help the administrator to identify this filesystem?

    A. lsblk
    B. fdisk
    C. df -h
    D. du -ah

  • Question 75:

    A Linux administrator wants to verify the runtime parameters of a container's ENTRYPOINT process. Which of the following commands will allow the administrator to achieve this goal?

    A. docker inspect container
    B. docker ls container
    C. docker ps container
    D. docker logs container

  • Question 76:

    A Linux administrator was informed that the server time zone is incorrect.

    Which of the following commands should the administrator use to correct the time zone?

    A. timedatectl set-timezone America/New_York
    B. systemd-timezone set Asia/Tokyo
    C. systemctl configure-timezone Africa/Nairobi
    D. tzconfig configure Europe/London

  • Question 77:

    A Linux systems administrator needs to compress a file named passwords.txt. The compressed file should be saved as passwords.txt.gz. Which of the following commands should the administrator use to accomplish this task?

    A. gzip -c passwords.txt > passwords.txt.gz
    B. gzip -d passwords.txt | passwords.txt.gz
    C. gzip -n passwords.txt > passwords.txt.gz
    D. gzip -n passwords.txt < passwords.txt.gz

  • Question 78:

    A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a reposito-ry to share with the systems team. A junior Linux administrator needs to re-trieve the scripts and make them available on a local workstation. Which of the following Git commands should the junior Linux administrator use to accom-plish this task?

    A. fetch
    B. checkout
    C. clone
    D. branch

  • Question 79:

    Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided:

    Which of the following commands should the administrator use to diagnose the issue?

    A. df -i /oracle1
    B. fdisk -1 /dev/sdb1
    C. lsblk /dev/sdb1
    D. du -sh /oracle1

  • Question 80:

    A systems administrator is checking the system logs. The administrator wants to look at the last 20 lines of a log. Which of the following will execute the command?

    A. tail -v 20
    B. tail -n 20
    C. tail -c 20
    D. tail -l 20

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.