Free XK0-005 Exam Braindumps (page: 23)

Page 22 of 96

A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state. Which of the following commands will list and remove the correspondent packages?

  1. dnf list and dnf remove last
  2. dnf remove and dnf check
  3. dnf info and dnf upgrade
  4. dnf history and dnf history undo last

Answer(s): D



An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output:
Which of the following commands would resolve the issue?

  1. restorecon .ssh/authorized_keys
  2. ssh_keygen -t rsa -o .ssh/authorized_keys
  3. chown root:root .ssh/authorized_keys
  4. chmod 600 .ssh/authorized_keys

Answer(s): A



A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?

  1. docker images prune -a
  2. docker push images -a
  3. docker rmi -a images
  4. docker images rmi --all

Answer(s): A



A Linux system is failing to boot with the following error:
Which of the following actions will resolve this issue? (Choose two.)

  1. Execute grub-install --root-directory=/mnt and reboot.
  2. Execute grub-install /dev/sdX and reboot.
  3. Interrupt the boot process in the GRUB menu and add rescue to the kernel line.
  4. Fix the partition modifying /etc/default/grub and reboot.
  5. Interrupt the boot process in the GRUB menu and add single to the kernel line.
  6. Boot the system on a LiveCD/ISO.

Answer(s): B,F






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

XK0-005 Exam Discussions & Posts