Exam Details

  • Exam Code
    :XK0-005
  • Exam Name
    :CompTIA Linux+
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :396 Q&As
  • Last Updated
    :

CompTIA CompTIA Certifications XK0-005 Questions & Answers

  • Question 91:

    A Linux administrator needs to obtain a list of all volumes that are part of a volume group. Which of the following commands should the administrator use to accomplish this task?

    A. vgs

    B. lvs

    C. fdisk -1

    D. pvs

  • Question 92:

    A user reported issues when trying to log in to a Linux server. The following outputs were received:

    Given the outputs above. which of the following is the reason the user is una-ble to log in to the server?

    A. User1 needs to set a long password.

    B. User1 is in the incorrect group.

    C. The user1 shell assignment incorrect.

    D. The user1 password is expired.

  • Question 93:

    The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs:

    Which of the following is the reason that the administrator is unable to perform the assigned duties?

    A. The administrator needs a password reset.

    B. The administrator is not a part of the correct group.

    C. The administrator did not update the sudo database.

    D. The administrator's credentials need to be more complex.

  • Question 94:

    A systems administrator received a notification that a system is performing slowly. When running the top command, the systems administrator can see the following values:

    Which of the following commands will the administrator most likely run NEXT?

    A. vmstat

    B. strace

    C. htop

    D. lsof

  • Question 95:

    A Linux user is trying to execute commands with sudo but is receiving the following error:

    $ sudo visudo

    >>> /etc/sudoers: syntax error near line 28 <<<

    sudo: parse error in /etc/sudoers near line 28

    sudo: no valid sudoers sources found, quitting

    The following output is provided:

    # grep root /etc/shadow

    root :* LOCK *: 14600 ::::::

    Which of the following actions will resolve this issue?

    A. Log in directly using the root account and comment out line 28 from /etc/sudoers.

    B. Boot the system in single user mode and comment out line 28 from /etc/sudoers.

    C. Comment out line 28 from /etc/sudoers and try to use sudo again.

    D. Log in to the system using the other regular user, switch to root, and comment out line 28 from /etc/sudoers.

  • Question 96:

    A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?

    A. scp -p /data remote:/backup/data

    B. ssh -i /remote:/backup/ /data

    C. rsync -a /data remote:/backup/

    D. cp -r /data /remote/backup/

  • Question 97:

    A Linux administrator was notified that a virtual server has an I/O bottleneck. The Linux administrator analyzes the following output:

    Given there is a single CPU in the sever, which of the following is causing the slowness?

    A. The system is running out of swap space.

    B. The CPU is overloaded.

    C. The memory is exhausted.

    D. The processes are paging.

  • Question 98:

    A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the administrator to load the KVM module as well as any related dependencies?

    A. modprobe kvm

    B. insmod kvm

    C. depmod kvm

    D. hotplug kvm

  • Question 99:

    DRAG DROP

    As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:

    Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.

    INSTRUCTIONS

    Fill the blanks to build a script that performs the actual compression of rotated log files.

    If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

    Select and Place:

  • Question 100:

    DRAG DROP

    You have been asked to parse a log file of logins to determine various information about who is logging in and when.

    INSTRUCTIONS

    Open and inspect the Login log file.

    Drag and drop the correct commands onto the output that was generated from that

    command.

    Tokens can be used only once and not all will be used.

    If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

    Select and Place:

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-005 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.