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?
systemctl status systemd-resolved.service
systemctl enable systemd-resolved.service
systemctl mask systemd-resolved.service
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?
rpm -s
rрm -d
rpm -q
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?
fsck.ext4 /dev/sda1
partprobe /dev/sda1
fdisk /dev/sda1
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?