XK0-006 Practice Test

XK0-006 Practice Test practice questions, page 6 of 7, with answer review and explanations.

Question 26

Following the completion of monthly server patching, a Linux administrator receives reports that a critical application is not functioning. Which of the following commands should help the administrator determine which packages were installed?

  1. dnf history
  2. dnf list
  3. dnf info
  4. dnf search

Question 27

A Linux administrator wants to make the ENABLE_AUTH variable set to 1 and available to the environment of subsequently executed commands. Which of the following should the administrator use for this task?

  1. let ENABLE_AUTH=1
  2. ENABLE_AUTH=1
  3. ENABLE_AUTH=$(echo $ENABLE_AUTH)
  4. export ENABLE_AUTH=1

Question 28

A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?

  1. Using copy and paste when possible
  2. Generating monolithic code
  3. Linting generated code
  4. Merging CI/CD pipelines

Question 29

Which of the following passwords is the most complex?

  1. H3sa1dt01d
  2. he$@ID$heTold
  3. H3s@1dSh3t0|d
  4. HeSaidShetold

Question 30

An administrator receives the following output while attempting to unmount a filesystem: umount /data1: target is busy. Which of the following commands should the administrator run next to determine why the filesystem is busy?

  1. ps -f /data1
  2. du -sh /data1
  3. top -d /data1
  4. lsof | grep /data1