Question 660
A production Linux service requires a fix for this issue: A custom kernel module cannot be loaded because a dependency module is absent. What is the most appropriate targeted action?
Explanation
Correct Answer
The fix addresses the cause: direct insmod calls do not resolve module dependencies automatically. A suitable acceptance test is that the module and prerequisites are listed as loaded.
Incorrect Answers
That remedy is appropriate when after a NIC replacement, the new device is visible to lspci but not listed as a network interface. It targets pCI device enumeration does not establish that the matching network driver is loaded; here direct insmod calls do not resolve module dependencies automatically, so it does not directly repair the observed fault.
It would correct a separate failure, a kernel driver was updated on disk but a running workload continues using the old driver. In this environment, direct insmod calls do not resolve module dependencies automatically; the indicated alternative does not meet the acceptance test.
That remedy is appropriate when an administrator wants to check the parameters accepted by a storage module without inserting it. It targets modinfo reports module metadata and supported parameter definitions; here direct insmod calls do not resolve module dependencies automatically, so it does not directly repair the observed fault.





CompTIA Linux+ (XK0-006) Practice Tests