XK0-005 · Question #488
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…
The correct answer is A. rpm -qa | grep kernel; uname -a. 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…
Question
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?
Options
- Arpm -qa | grep kernel; uname -a
- Byum -y update; shutdown -r now
- Ccat /etc/centos-release; rpm -Uvh --nodeps
- Dtelinit 1; restorecon -Rv /boot
How the community answered
(45 responses)- A84% (38)
- B2% (1)
- C9% (4)
- D4% (2)
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.
Topics
Community Discussion
No community discussion yet for this question.