Question 20
A production Linux service requires a fix for this issue: After hot-plugging a device, an administrator needs the kernel's immediate device error messages. Which change BEST addresses the root cause?
Explanation
Correct Answer
Ordinary user application logs may not include kernel-level enumeration failures. This action corrects the relevant condition. Verify that the relevant hardware or driver error is visible with event time.
Incorrect Answers
This change addresses during early boot, a storage device is recognized after the initramfs has already attempted to mount root. The present problem is different: ordinary user application logs may not include kernel-level enumeration failures. Applying the alternative would leave the key cause unresolved.
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, ordinary user application logs may not include kernel-level enumeration failures; the indicated alternative does not meet the acceptance test.
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 ordinary user application logs may not include kernel-level enumeration failures, so it does not directly repair the observed fault.





CompTIA Linux+ (XK0-006) Practice Tests