Exam Details

  • Exam Code
    :XK0-004
  • Exam Name
    :CompTIA Linux+ Certification
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :516 Q&As
  • Last Updated
    :Aug 23, 2023

CompTIA CompTIA Certifications XK0-004 Questions & Answers

  • Question 171:

    Which of the following is used on the client to boot a Linux system from a TFTP server?

    A. HTTP

    B. GRUB

    C. EFI

    D. PXE

  • Question 172:

    A directory called /employee is shared with many employees in a company. New hardware was acquired, and the systems administrator needs to back up all files in /employee before the server is replaced. Which of the following commands should be used to back up all the files and compress them to use little space in the filesystem?

    A. tar -zcvf backup.tar.gz /employee

    B. tar -zxvf backup.tar.gz /employee

    C. tar -Cvf backup.tar.gz /employee

    D. tar -Tpf backup.tar.gz /employee

  • Question 173:

    When logging in, an administrator must use a temporary six-digit code that is displayed on a key fob. Which of the following has been implemented?

    A. Biometrics

    B. HOTP

    C. PKI

    D. Software token

  • Question 174:

    A customer reports a Linux production server is randomly suffering degraded performance. The administrator verifies that the sysstat package is installed and enabled on the server. Which of the following would BEST determine what is causing the impact on performance?

    A. Create a cron job that runs uptime every 15 minutes to collect historical data of the load average of the system.

    B. Leave a ping running overnight from a laptop to the server to catch any latency encountered.

    C. Analyze the data in /var/log/sa using the sar command.

    D. Open a screen session and run top inside of it. Let it run over night and collect the data.

  • Question 175:

    A Linux administrator is developing a Bash script to close specific ports on a server firewall. The administrator is not certain of the default port for the Internet Message Access Protocol. Which of the following files should the administrator check to determine the default port?

    A. /etc/network

    B. /etc/default/ufw

    C. /etc/resolv.conf

    D. /etc/services

  • Question 176:

    Which of the following commands allow an administrator to determine if the current system is a virtual machine?

    A. lspci

    B. mdadm

    C. vmstat

    D. vgdisplay

  • Question 177:

    A systems administrator wants to disable the isofs module on the server.

    Which of the following will allow the administrator to check if the isofs module is currently in use?

    A. modprobe

    B. insmod

    C. rmmod

    D. lsmod

  • Question 178:

    A user cannot write files to the /home/user directory. The junior Linux administrator runs the following commands:

    Which of the following BEST represents why the user cannot write files?

    A. The filesystem is out of inodes.

    B. The filesystem is out of file space.

    C. The filesystem is not configured for the user to write to it.

    D. The filesystem does not have a group write permission.

  • Question 179:

    Which of the following BEST describes the difference between a container and a VM?

    A. Containers share host OS libraries and a kernel, while VMs have their own libraries and kernel.

    B. Containers are larger than VMs.

    C. VMs share host libraries and a kernel, while containers have their own libraries and kernel.

    D. VMs are larger than containers.

  • Question 180:

    A systems administrator wants to verify the DNS information of a system that is in production. Which of the following will provide this information?

    A. nmap -R 10.10.20.21 10.10.1.10

    B. whois -r -h 10.10.1.10 10.10.20.21

    C. dig -x 10.10.20.21 @10.10.1.10

    D. route 10.10.20.21 gw 10.10.1.10

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-004 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.