Review 477 XK0-005 practice questions with answer explanations and community insights.
Question 1
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?
rpm -qa | grep kernel; uname -a
yum -y update; shutdown -r now
cat /etc/centos-release; rpm -Uvh --nodeps
telinit 1; restorecon -Rv /boot
Question 2
A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?
/etc/host.conf
/etc/hostname
/etc/services
/etc/ssh/sshd_config
Question 3
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?
git reflog
git pull
git status
git push
Question 4
A Linux administrator needs to redirect all HTTP traffic temporarily to the new proxy server 192.0.2.25 on port 3128. Which of the following commands will accomplish this task?
Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1. Which of the following commands should the administrator run to achieve this goal?