Go Back on XK0-005 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

XK0-005 Practice Test


Page 6 out of 73 Pages

A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?

 


A.

partprobe
vgcreate
lvextend


B.

lvcreate
fdisk
partprobe


C.

fdisk
partprobe
mkfs


D.

fdisk
pvcreate
vgextend





D.
  

fdisk
pvcreate
vgextend



An administrator needs to make some changes in the IaC declaration templates. Which of the following commands would maintain version control?


A.

git clone https://github.com/comptia/linux+-.git
git push origin


B.

git clone https://qithub.com/comptia/linux+-.git
git fetch New-Branch


C.

git clone https://github.com/comptia/linux+-.git
git status


D.

git clone https://github.com/comptia/linuxt+-.git
git checkout -b <new-branch>





D.
  

git clone https://github.com/comptia/linuxt+-.git
git checkout -b <new-branch>



A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?


A.

chown -s 755 devops


B.

chown 1755 devops


C.

chmod -s 755 devops


D.

chmod 1755 devops





D.
  

chmod 1755 devops



A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?


A.

nslookup


B.

rsyn


C.

netstat


D.

host





A.
  

nslookup



A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received:

Which of the following commands can be used to resolve this issue?


A.

chgrp -R 755 data/


B.

chmod -R 777 data/


C.

chattr -R -i data/


D.

chown -R data/





C.
  

chattr -R -i data/




Page 6 out of 73 Pages
Previous