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?
The DNS address has been commented out in the configuration file.
The search entry in the /etc/resolv.conf file is incorrect.
Wired connection 1 is offline.
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?
grub-install /dev/hda
grub-install /dev/sda
grub-install /dev/sr0
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?
systemctl isolate multi-user.target
systemctl isolate graphical.target
systemctl isolate network.target
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?
sudo useradd -e 2021-09-30 Project_user
sudo useradd -c 2021-09-30 Project_user
sudo modinfo -F 2021-09-30 Project_uses
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?