ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 222 - XK0-005 discussion

Report
Export

A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the administrator to load the KVM module as well as any related dependencies?

A.
modprobe kvm
Answers
A.
modprobe kvm
B.
insmod kvm
Answers
B.
insmod kvm
C.
depmod kvm
Answers
C.
depmod kvm
D.
hotplug kvm
Answers
D.
hotplug kvm
Suggested answer: A

Explanation:

This command will load the KVM module as well as any related dependencies, such as kvm-intel or kvm-amd, depending on the processor type. The modprobe command is a Linux utility that reads the /etc/modules.conf file and adds or removes modules from the kernel. It also resolves any dependencies between modules, so that they are loaded in the correct order.

The other options are incorrect because:

B) insmod kvm

This command will only load the KVM module, but not any related dependencies. The insmod command is a low-level Linux utility that inserts a single module into the kernel. It does not resolve any dependencies between modules, so they have to be loaded manually.

C) depmod kvm

This command will not load the KVM module at all, but only create a list of module dependencies for modprobe to use. The depmod command is a Linux utility that scans the installed modules and generates a file called modules.dep that contains dependency information for each module.

D) hotplug kvm

This command is invalid and does not exist. The hotplug mechanism is a feature of the Linux kernel that allows devices to be added or removed while the system is running. It does not have anything to do with loading modules.

asked 02/10/2024
H Barral Vila
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first