CompTIA Linux+ (XK0-005) — Question 235
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?
Answer options
- A. modprobe kvm
- B. insmod kvm
- C. depmod kvm
- D. hotplug kvm
Correct answer: A
Explanation
The correct command is 'modprobe kvm' because it loads the specified module along with its dependencies. The 'insmod' command only inserts a single module without resolving dependencies, while 'depmod' is used for generating module dependency files and 'hotplug' is not a relevant command for loading kernel modules.