XK0-004 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 XK0-004 Online Questions & Answers

  • Question 371:

    A company wants to provide internal identity verification services for networked devices. Which of the following servers should be installed?

    A. SSH
    B. VPN
    C. CA
    D. DHCP
    E. DNS

  • Question 372:

    A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?

    A. free, fack, partprobe
    B. lsof, lvcreate, mdadm
    C. df, du, rmmod
    D. fdisk, mkswap, swapon -a

  • Question 373:

    A junior administrator needs to unload an older video kernel module. Which of the following commands would BEST accomplish this task?

    A. modprobe
    B. insmod
    C. rmmod
    D. chmod
    E. depmod

  • Question 374:

    An administrator wrote the following script, but it failed:

    Which of the following is MOST likely the error in the script?

    A. Line 1 should read: #!/bin/sh
    B. Line 4 should read: for line in $ { FILES}
    C. Line 6 should read: OWNER-'ls -1 ${LINE} I cut -d " " -f 1'
    D. Line 7 should read: echo '$(line) - S{OWNER)'

  • Question 375:

    A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?

    A. Runlevel 3
    B. Runlevel 4
    C. Runlevel 5
    D. Runlevel 6

  • Question 376:

    A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?

    A. systemctl service on
    B. systemctl enable .service
    C. systemctl service enable
    D. systemctl on .service

  • Question 377:

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

    An administrator installs a popular virtualization hypervisor on a Linux workstation. The softwareruns but generates a lot of AVC errors in the var/log/audit/audit .log file Rather than address each AVC error as it appears, which of the following should the admnisstrator run to locate and enable a comprehensive setting to allow use of the virtualization software?

    A. Getsebool
    B. Setfacl
    C. Getenforce
    D. Getfacl
    E. Setenforce
    F. Setsebool

  • Question 379:

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

    A user submitted a ticket stating that the development environment is reporong the device does not have any space left. The user's application creates a lot of small files and does not remove these files when the application crashes. Given the following output:

    Which of the following is the MOST likely cause for the error message indicating a lack of space?

    A. There are no free nodes
    B. SELmux is runrwig
    C. The appfccabon output is too large
    D. Directory permssions are too restrictive

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.