Go Back on XK0-005 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

XK0-005 Practice Test


Page 9 out of 73 Pages

A developer reported an incident involving the application configuration file /etc/httpd/conf/httpd.conf that is missing from the server. Which of the following identifies the RPM package that installed the configuration file?


A.

rpm -qf /etc/httpd/conf/httpd.conf


B.

rpm -ql /etc/httpd/conf/httpd.conf


C.

rpm —query /etc/httpd/conf/httpd.conf


D.

rpm -q /etc/httpd/conf/httpd.conf





A.
  

rpm -qf /etc/httpd/conf/httpd.conf



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?


A.

systemctl status systemd-resolved.service


B.

systemctl enable systemd-resolved.service


C.

systemctl mask systemd-resolved.service


D.

systemctl show systemd-resolved.service





A.
  

systemctl status systemd-resolved.service



Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:

A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?


A.

cp /home/tmp/tempa /home/tmp/temp


B.

mv /home/tmp/tempa /home/tmp/temp


C.

cd /temp/tmp/tempa


D.

ls /home/tmp/tempa





B.
  

mv /home/tmp/tempa /home/tmp/temp



A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running. Which of the following commands can accomplish this task?


A.

docker cp container_id/deployment.yaml deployment.yaml


B.

docker cp container_id:/deployment.yaml deployment.yaml


C.

docker cp deployment.yaml local://deployment.yaml


D.

docker cp container_id/deployment.yaml local://deployment.yaml





A.
  

docker cp container_id/deployment.yaml deployment.yaml



A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/f stab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?


A.

Sync the mount units.


B.

Mount the filesystem manually.


C.

Create a mount unit and enable it to be started at boot.


D.

Remount all the missing filesystems





C.
  

Create a mount unit and enable it to be started at boot.




Page 9 out of 73 Pages
Previous