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

    DRAG DROP

    The lead Linux has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.

    Select and Place:

  • Question 402:

    A systems administrator needs to append output of ls -lha /opt command to the contents of a test.txt file. Which of the following commands will accomplish this?

    A. ls -lha /opt > test.txt
    B. ls -lha /opt < test.txt
    C. ls -lha /opt >> test.txt
    D. ls -lha /opt

  • Question 403:

    An administrator reviews the following configuration file provided by a DevOps engineer:

    Which of the following would the application parsing this file MOST likely have to support?

    A. YAML B. AJAX
    C. JSON
    D. SOAP

  • Question 404:

    Which of the following would allow remote users to access a corporate server? (Choose two.)

    A. VPN server
    B. SMTP server
    C. NTP server
    D. SSH server
    E. DHCP server
    F. File server

  • Question 405:

    Joe, a user, asks a systems administrator to schedule the daily execution of a custom script. Which of the following commands will allow the systems administrator to set up Joe's cron job?

    A. crontab -r -u joe
    B. crontab -e -u joe
    C. crontab -n -u joe
    D. crontab -l -u joe

  • Question 406:

    A user is unable to write data to an NFS datastore at /mnt/storage. A df command indicates 50% free inodes. Which of the following commands should the user attempt NEXT to diagnose the situation?

    A. df -h /mnt/storage
    B. du -sh /mnt
    C. fdisk -l /mnt/storage
    D. df -i /mnt/storage

  • Question 407:

    The following tools help maintain consistency across different systems in an infrastructure:

    SUSE Manager

    Red Hat Satellite

    Spacewalk

    If a system file is changed, the tools roll back the file to a predefined configuration.

    Which of the following concepts BEST describes this behavior?

    A. Build automation
    B. Infrastructure as code
    C. Automated configuration management
    D. Agentless system management

  • Question 408:

    A systems administrator notices a large number of autoloaded device modules are no longer needed and decides to do a cleanup of them. Which of the following commands will accomplish this task?

    A. rmmod -c
    B. depmod -r
    C. insmod -c
    D. modprobe -r

  • Question 409:

    Users in the sales department are unable to create new files in the shared directory /Sales. A junior Linux administrator determines the permissions on the /Sales directory are set to rwxr-----, and sales is the group owner of the directory. Which of the following is the BEST command for the junior administrator to issue to allow the users to create new files?

    A. umask 002
    B. chmod 770 /Sales
    C. chmod g+s /Sales
    D. chmod 777 /Sales

  • Question 410:

    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

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.