XK0-005 Practice Test

XK0-005 Practice Test practice questions, page 5 of 19, with answer review and explanations.

Question 21

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

  1. git clone https://github.com/comptia/linux+-.git git push origin
  2. git clone https://qithub.com/comptia/linux+-.git git fetch New-Branch
  3. git clone https://github.com/comptia/linux+-.git git status
  4. git clone https://github.com/comptia/linuxt+-.git git checkout -b <new-branch>

Question 22

An administrator attempts to rename a file on a server but receives the following error. The administrator then runs a few commands and obtains the following output: Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?

  1. chgrp reet files
  2. chacl -R 644 files
  3. chown users files
  4. chmod -t files

Question 23

Which of the following commands will display the operating system?

  1. uname -n
  2. uname -s
  3. uname -o
  4. uname -m

Question 24

A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app. Which of the following is the correct list of commands to achieve this goal?

Question 25

A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?

  1. unzip -v
  2. bzip2 -z
  3. gzip
  4. funzip