ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 14 - XK0-005 discussion

Report
Export

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
Answers
A.
rpm -qa | grep kernel; uname -a
B.
yum -y update; shutdown -r now
Answers
B.
yum -y update; shutdown -r now
C.
cat /etc/centos-release; rpm -Uvh --nodeps
Answers
C.
cat /etc/centos-release; rpm -Uvh --nodeps
D.
telinit 1; restorecon -Rv /boot
Answers
D.
telinit 1; restorecon -Rv /boot
Suggested 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.

asked 02/10/2024
Christian Galea
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first