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
Answer: A
Explanation:
The command rpm -qa | grep kernel lists all the installed kernel packages, and the command uname -a displays the current kernel version. These commands can help the administrator identify the correct version of the /boot/vmlinuz file, which is the kernel image file. The other options are not relevant or helpful for this task.
Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 8: Managing the Linux Boot Process, page 267.
Latest XK0-005 Dumps Valid Version with 136 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund