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

    A systems administrator wants to disable the Linux Kernel WatchDog Timer Driver for security purposes. Which of the following will accomplish this task?

    A. Add blacklist watchdog to the /etc/modprobe.d/blacklist file.
    B. Rename the /etc/modprobe.d/watchdog file to watchdog.off instead.
    C. Remove the watchdog=1 from the /usr/modules/watchdog.conf file.
    D. Add watchdog=0 to the /etc/modprobe.conf file.

  • Question 312:

    Which of the following is the template for the grub.cfg file?

    A. /etc/default/grub
    B. /etc/grub2.cfg
    C. /etc/sysct1.conf
    D. /boot/efi

  • Question 313:

    A Linux administrator is helping the security team troubleshoot an SELinux policy violation incident. Which of the following would be the BEST utility command to display SELinux violation and AVC denial messages?

    A. journalctl | grep sealert
    B. sealert -a /var/log/audit/audit.log
    C. aureport | grep AVC
    D. cat /var/log/messages | grep selinux

  • Question 314:

    An administrator wants to use a Linux server's GUI remotely but is limited by security to using TCP ports 5900--5999. Which Of the following is the BEST choice for installation on the Linux server to enable this functionality?

    A. VNC
    B. rdesktop
    C. XRDP
    D. SPICE

  • Question 315:

    Which of the following should a systems administrator use to run the uptime command every ten seconds?

    A. crontab -n10 uptime
    B. watch -n10 uptime
    C. uptime -s10
    D. cron -s10 uptime
    E. time -x10 uptime

  • Question 316:

    A user cannot access the application server from a laptop. The user does not know the name of the application's process but does know the port number. Which of the following commands would BEST help the user to investigate the issue whe

    A. last
    B. netatat
    C. nslookup
    D. route
    E. lsblk

  • Question 317:

    A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?

    A. chkconfig on
    B. systemctl bootup
    C. service enable
    D. crontab install

  • Question 318:

    An administrator has been able to run the uptime command on several Linux servers at once. The orchestration software that issues the command is installed on the administrator's workstation and functions without an agent. Which of the following is required on each host?

    A. SNMP community strings must be set to public
    B. The firewall must be disabled on each host
    C. The SSH daemon must be running and accessible
    D. A client must be installed on each host from the orchestration vendor

  • Question 319:

    A Linux administrator is migrating a physical server to a virtual instance.

    Which of the following commands would allow the administrator to create a new initial RAM disk to use in the boot process?

    A. mkinitrd
    B. grub-install
    C. grub2-mkconfig
    D. initramfs

  • Question 320:

    The dracut command is used to:

    A. create initial RAMDisk images for preloading modules.
    B. compile the Linux kernel images used to boot the OS.
    C. create the bootloader executable files.
    D. create the Boot Manager configuration files.

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.