Free XK0-005 Exam Braindumps (page: 35)

Page 34 of 96

A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?

  1. rebase
  2. tag
  3. commit
  4. push

Answer(s): D



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. vgs
  2. lvs
  3. fdisk -1
  4. pvs

Answer(s): B



A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?

  1. pull -> push -> add -> checkout
  2. pull -> add -> commit -> push
  3. checkout -> push -> add -> pull
  4. pull -> add -> push -> commit

Answer(s): B



A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?

  1. mount /dev/sdb1 /media/usb
  2. mount /dev/sdb0 /media/usb
  3. mount /dev/sdb /media/usb
  4. mount -t usb /dev/sdb1 /media/usb

Answer(s): A






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

XK0-005 Exam Discussions & Posts