CompTIA Linux+ XK0-005 – Question001

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?

A.
rpm -qa | grep kernel; uname -a
B. yum -y update; shutdown -r now
C. cat /etc/centos-release; rpm -Uvh –nodeps
D. telinit 1; restorecon -Rv /boot

Correct Answer: A