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

    Which of the following configuration files should be modified to disable Ctrl+Alt+Del in Linux?

    A. /etc/inittab
    B. ~/.bash_profile
    C. /etc/securetty
    D. /etc/security/limits.conf

  • Question 262:

    A junior Linux administrator receives a request to add a user, Ann, to the secondary group "cashiers". Ann is also a member of the secondary group, "managers". The administrator issues the following command:

    usermod -G cashiers Ann

    Later, Ann reports that she is unable to access any of the files or directories in "managers".

    Which of the following commands should the administrator issue to resolve Ann's group memberships?

    A. usermod -G cashiers,managers Ann
    B. usermod -g cashiers,managers Ann
    C. groupmod -G Ann cashiers,managers
    D. groupmod -ga Ann cashiers,managers

  • Question 263:

    A systems administrator notices several intensive tasks executing from users Joe and Ann. These processes are impacting server operations but must be allowed to continue running. Which of the following commands should the systems administrator run to reduce the impact on the server?

    A. pkill -u joe ann
    B. renice 11 -u joe ann
    C. nohup -u joe ann
    D. strace -u joe ann

  • Question 264:

    Which of the following server roles would assign a host IP address?

    A. DHCP
    B. NTP
    C. DNS
    D. SSH

  • Question 265:

    A Lunix administrator added storage to an XFS-formatted filesystem at /dev/mapper/vgSlash-lvLog device using the LVM tools. However the additional space does not show up when the administrator runs the df -h command. Which of the following commands should the adiministrator run to resolve thrs issue?

    A. Xfs-growfs/dev/mapper/vgSlash-lvLog
    B. dd if=dev/zero of=/dev/mapper/vgSlash-IvLog bs=IN
    C. resize2fs /dev/mapper/vgSlash-IvLog
    D. Ivextend 璶 IvLog VgSlash 璍+10G

  • Question 266:

    After restoring a user's files from backup, a technician begins troubleshooting the following error message:

    Which of the following is MOST likely fix this issue?

    A. chown user:users /home/user
    B. chmod o+rw /etc/ssh/ssh_config
    C. chmod u+x /home/john
    D. chmod 700 /home/user/.ssh

  • Question 267:

    Which of the following techniques would BEST ensure the setup and desired state of a server are consistently maintained?

    A. Configuration management
    B. Network automation
    C. Test automation
    D. Change control management

  • Question 268:

    A systems administrator needs to connect to a remote Linux machine to run system updates from within a graphical interface. Which of the following should the administrator use?

    A. MATE
    B. Wayland
    C. VNC
    D. Unity

  • Question 269:

    A Linux administrator tries to ping a hostname in a network but receives the message: hostname not found. The administrator is sure the name exists on the network and wants to verify if the DNS server is correctly configured on the client. Which of the following files should the administrator use to verify this information?

    A. /etc/named.conf
    B. /etc/resolv.conf
    C. /etc/nsswitch.conf
    D. /etc/network

  • Question 270:

    Joe, a user, reports that he is no longer able to write files to his home directory. Upon inspection, the Linux administrator discovers that attempting to create a new file gives the following error: No space left on device. However, the disk and partition are not full. Which of the following commands would be BEST for the administrator to use to continue troubleshooting this problem?

    A. rm -Rf ~/.*
    B. fsck -y /dev/sda1
    C. df -i
    D. fdisk /dev/sda

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.