exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 1 discussion

Actual exam question from CompTIA's XK0-005
Question #: 1
Topic #: 1
[All XK0-005 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BENTECHY
2 months, 2 weeks ago
Selected Answer: A
rpm and grep commands allow the Admin to establish the installed kernel packages while the uname with the option (-a) displays information about the current version of kernel on /boot/kernel file.
upvoted 2 times
...
ericsrz
5 months ago
A. query and grep kernel; information
upvoted 1 times
...
linux_admin
1 year, 2 months ago
A. rpm -qa | grep kernel; uname -a The administrator can use the command "rpm -qa | grep kernel" to identify the installed kernel packages on the system, and "uname -a" to display information about the current running kernel. The output of these commands can be used to determine the correct version of the /boot/vmlinuz file that needs to be restored.
upvoted 3 times
...
bjornborg
1 year, 6 months ago
A correct....see what's installed, and see what's running
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago