Free XK0-005 Exam Braindumps

Pass your CompTIA Linux+ Certification Exam exam with these free Questions and Answers

Page 6 of 36
QUESTION 21

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?

  1. A. vgs
  2. B. lvs
  3. C. fdisk -1
  4. D. pvs

Correct Answer: D

QUESTION 22

A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?

  1. A. chmod 4744 dev_team.txt
  2. B. chmod 744 --setuid dev_team.txt
  3. C. chmod -c 744 dev_team.txt
  4. D. chmod -v 4744 --suid dev_team.txt

Correct Answer: A

QUESTION 23

A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job. Given the following:
XK0-005 dumps exhibit
The Linux administrator attempts to start the timer service but receives the following error message:
XK0-005 dumps exhibit
Which of the following is MOST likely the reason the timer will not start?

  1. A. The checkdiskspace.timer unit should be enabled via systemctl.
  2. B. The timers.target should be reloaded to get the new configuration.
  3. C. The checkdiskspace.timer should be configured to allow manual starts.
  4. D. The checkdiskspace.timer should be started using the sudo command.

Correct Answer: C

QUESTION 24

An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct
version of this file?

  1. A. rpm -qa | grep kernel; uname -a
  2. B. yum -y update; shutdown -r now
  3. C. cat /etc/centos-release; rpm -Uvh --nodeps
  4. D. telinit 1; restorecon -Rv /boot

Correct Answer: A

QUESTION 25

Users have reported that the interactive sessions were lost on a Linux server. A Linux administrator verifies the server was switched to rescue.target mode for maintenance. Which of the following commands will restore the server to its usual target?

  1. A. telinit 0
  2. B. systemctl reboot
  3. C. systemctl get-default
  4. D. systemctl emergency

Correct Answer: B

Page 6 of 36

Post your Comments and Discuss CompTIA XK0-005 exam with other Community members: