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

    An administrator notices a website hosted on an httpd web server is not loading. Upon further inspection, the administrator learns there are no httpd processes running. When starting the service, the site operates correctly for a few minutes before the process disappears again.

    Which of the following should the administrator consider as the MOST likely possibility before troubleshooting the issue?

    A. The CPU has too much load, causing it to overheat, and the kernel is automatically killing the processes to keep the CPU cool.
    B. An external database to which the web server connects is offline, causing httpd to die due to execution errors.
    C. Shared libraries, which were recently updated, are causing compatibility issues and httpd to die due to version mismatch.
    D. The out-of-memory killer was activated due to low available memory, causing the kernel to kill the processes automatically.
    E. The server is intermittently losing access to the network, causing socket errors that trigger httpd to die.

  • Question 242:

    After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space.

    Which of the following is the correct sequence given only a terminal is available?

    A. 1. CTRL-C 2. bg 3. watch df /var 4. CTRL-C 5. fg 6. CTRL-Z
    B. 1. CTRL-C 2. fg 3. watch df /var 4. CTRL-Z 5. bg 6. CTRL-Z
    C. 1. CTRL-Z 2. bg 3. watch df /var 4. CTRL-C 5. fg 6. CTRL-C
    D. 1. CTRL-Z 2. bg 3. watch df /var 4. CTRL-Z 5. fg 6. CTRL-C

  • Question 243:

    The grub2-mXconfig command is used to generate a new GRUB2 configuration after:

    A. resizing the /best filesystem
    B. changing the/etc/default/grub file
    C. changing the /boat/grub2/grub.cfg file
    D. installing new software from a package

  • Question 244:

    A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionality?

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

  • Question 245:

    A junior administrator needs to display information for an RPM package that contains software from an external provider. Which of the following commands will display the package information?

    A. rpm -vp package.noarch.rpm
    B. rpm -qp package.noarch.rpm
    C. rpm -qf package.noarch.rpm
    D. rpm -qi package.noarch.rpm

  • Question 246:

    A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off-site use by the marketing department. Which of the following command lines accomplishes this task?

    A. mv /vm/mkgt.img | bzip2 /dev/hdb/mkgt.img.bz2
    B. bzip2 -c /vm/mktg.img | dd of=/dev/hdb
    C. cp /vm/mktg.img | bzip2 /dev/hdb/mktg.img.bz2
    D. cp -a -r /vm/mktg.img bzip2 /dev/hdb/mktg.img.zip

  • Question 247:

    A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications:

    1.

    x64 bit

    2.

    3.0GHz speed

    3.

    Minimum quad core

    The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat /proc/cpuinfo. The output of the command is as follows:

    Which of the following is the recommended course of action the administrator should take based on this output?

    A. Install the application, as the system meets the application requirements
    B. Procure new equipment that matches the recommended specifications
    C. Recompile the Linux kernel to support the installation.
    D. Reconfigure lib modules to support the new application.

  • Question 248:

    A Linux administrator needs to prevent the Postfix mail transfer agent from starting on boot. Which of the following commands will accomplish this task?

    A. systemctl stop postfix.service
    B. /etc/init.d/postfix stop
    C. systemctl disable postfix.service
    D. /etc/init.d/postfix disable

  • Question 249:

    A systems administrator wants to know the current status of a series of dd jobs that were started in the background three hours ago. Which of the following commands will achieve this task?

    A. sudo killall -HUP dd
    B. sudo killall dd
    C. sudo killall -TERM dd
    D. sudo killall -USR1 dd

  • Question 250:

    Which of the following allows communication over port 3389 to access GUI services?

    A. XRDP
    B. VNC
    C. Xfce
    D. KDE
    E. X-forwarding

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.