XK0-005 Practice Test

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

Question 91

A systems administrator is investigating why one of the servers has stopped connecting to the internet. Which of the following is causing the issue?

  1. The DNS address has been commented out in the configuration file.
  2. The search entry in the /etc/resolv.conf file is incorrect.
  3. Wired connection 1 is offline.
  4. No default route is defined.

Question 92

A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive. Which of the following commands will help the administrator accomplish this task?

  1. grub-install /dev/hda
  2. grub-install /dev/sda
  3. grub-install /dev/sr0
  4. grub-install /dev/hd0,0

Question 93

A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment. Which of the following commands would ensure the server is set to runlevel 5?

  1. systemctl isolate multi-user.target
  2. systemctl isolate graphical.target
  3. systemctl isolate network.target
  4. systemctl isolate basic.target

Question 94

A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?

  1. sudo useradd -e 2021-09-30 Project_user
  2. sudo useradd -c 2021-09-30 Project_user
  3. sudo modinfo -F 2021-09-30 Project_uses
  4. sudo useradd -m -d 2021-09-30 Project_user

Question 95

A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git. Which of the following commands will achieve this goal?

  1. git clone https://git.company.com/admin/project.git
  2. git checkout https://git.company.com/admin/project.git
  3. git pull https://git.company.com/admin/project.git
  4. git branch https://git.company.com/admin/project.git