Free XK0-005 Exam Braindumps (page: 22)

Page 22 of 43

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,D



Page 22 of 43



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

RF commented on September 06, 2024
Awesome resource
UNITED STATES
upvote

M commented on August 09, 2024
Great questions
Anonymous
upvote

Bob Igor commented on March 14, 2024
Question 11 is B not A because the ports are reversed on A
UNITED STATES
upvote

soheib commented on July 24, 2023
question: 78 the right answer i think is d not a
Anonymous
upvote

Lola commented on August 28, 2023
Good so far
Anonymous
upvote

soheib commented on July 24, 2023
Question: 78 the right answer i think is d not a
Anonymous
upvote

Gurunath commented on June 18, 2023
I just wanted to let you know I passed my exam today. The updated version you provided is on spot. Thank you.
INDIA
upvote

Nito commented on April 21, 2023
These questions are valid.
CANADA
upvote

Ortiz commented on November 07, 2022
I am certified now. You study packages helped me a lot. Your site is the best!
MEXICO
upvote