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

    An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the consoles needed?

    A. Kickstart script

    B. Ghost image on a distribution server

    C. Hard disk duplicator

    D. Hard disk duplicator

    E. Ubiquity script

  • Question 262:

    A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the "dba" group and preserve existing group memberships?

    A. usermod -a -G dba jsmith

    B. usermod -g dba jsmith

    C. useradd -g dba jsmith

    D. groupmod dba -u jsmith

  • Question 263:

    A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfig is as follows:

    Which of the following commands BEST describes how the administrator should re-enable the network service?

    A. chkconfig --level 0 network on

    B. chkconfig --level 0-6 network on

    C. chkconfig --level 6 network on

    D. chkconfig --level 12 network on

    E. chkconfig --level 345 network on

  • Question 264:

    An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script's function. Which of the following commands should the administrator use to minimize the script's impact on system resources?

    A. renice

    B. kill

    C. bg

    D. nohup

  • Question 265:

    A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?

    A. lsmod -i bluetooth

    B. insmod bluetooth

    C. modprobe -r bluetooth

    D. depmod -i bluetooth

  • Question 266:

    Which of the following are Linux desktop managers? (Choose two.)

    A. KDE

    B. GNOME

    C. GUI

    D. VNC

    E. X11

    F. SPICE

  • Question 267:

    A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?

    A. cd /etc ln -s /usr/share/zoneinfo/US/Pacific localtime

    B. cd /usr/local ln -s /usr/share/zoneinfo/US/Pacific zoneinfo

    C. cd /etc/local ln -s /usr/share/zoneinfo/US/Pacific localtime

    D. cd /usr/share/local ln -s /usr/share/zoneinfo/US/Pacific localectl

  • Question 268:

    A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled.

    Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?

    A. rmmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko

    B. modinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko

    C. depmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko

    D. insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb- storage.ko

  • Question 269:

    A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?

    A. # hostnamectl set-hostname "192.168.1.100 production.company.com"

    B. # grep -i IP "${ip addr show} production.company.com" > /etc/resolv.conf

    C. # ip addr add 192.168.1.100/24 dev eth0 andand rndc reload production.company.com

    D. # echo "192.168.1.100 production.company.com" >> /etc/hosts

  • Question 270:

    An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?

    A. kill -HUP

    B. init 0

    C. service start

    D. renice -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.