XK0-005 Practice Test

XK0-005 Practice Test practice questions, page 12 of 19, with answer review and explanations.

Question 56

A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?

  1. systemctl status systemd-resolved.service
  2. systemctl enable systemd-resolved.service
  3. systemctl mask systemd-resolved.service
  4. systemctl show systemd-resolved.service

Question 57

SIMULATION - Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache. INSTRUCTIONS - Install Apache and start the service. Verify that the Apache service is running with the defaults. Typing “help” in the terminal will show a list of relevant event commands. If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Question 58

A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?

  1. rpm -s
  2. rрm -d
  3. rpm -q
  4. rpm -e

Question 59

A Linux system fails to start and delivers the following error message: Which of the following commands can be used to address this issue?

  1. fsck.ext4 /dev/sda1
  2. partprobe /dev/sda1
  3. fdisk /dev/sda1
  4. mkfs.ext4 /dev/sda1

Question 60

Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below. To which of the following configuration files will the required changes need to be made?

  1. /etc/login.defs
  2. /etc/security/limits.conf
  3. /etc/default/useradd
  4. /etc/profile