Free XK0-005 Exam Braindumps (page: 31)

Page 30 of 96

A Linux system is failing to boot. The following error is displayed in the serial console:
[[1;33mDEPEND[Om] Dependency failed for /data.
[[1;33mDEPEND[Om] Dependency failed for Local File Systems
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or type Control-D to continue}
Which of the following files will need to be modified for this server to be able to boot again?

  1. /etc/mtab
  2. /dev/sda
  3. /etc/fstab
  4. /ete/grub.conf

Answer(s): C



A systems administrator frequently connects to a remote host via SSH and a non-standard port. The systems administrator would like to avoid passing the port parameter on the command line every time. Which of the following files can be used to set a different port value for that host?

  1. /etc/ssh/sshd_config
  2. /etc/ssh/moduli
  3. ~/.ssh/config
  4. ~/.ssh/authorized_keys

Answer(s): C



A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?

  1. systemctl stop sshd
  2. systemctl mask sshd
  3. systemctl reload sshd
  4. systemctl start sshd

Answer(s): C



A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?

  1. ifconfig hw eth1
  2. netstat -r eth1
  3. ss -ti eth1
  4. ip link show eth1

Answer(s): D






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

XK0-005 Exam Discussions & Posts