LPIC-2 Exam 201 (Linux Engineer) — Question 49
What is the purpose of the command udevadm monitor?
Answer options
- A. It listens to kernel events produced by a udev rule and prints information to the console
- B. It monitors the /dev/ directory for new devices
- C. It monitors the udev process and prints performance statistics to the console
- D. It communicates with D-Bus to setup new devices
Correct answer: A
Explanation
The command udevadm monitor is specifically designed to listen to kernel events related to udev rules and provide relevant information to the console, making option A the correct choice. Options B, C, and D describe functions that are not part of what udevadm monitor does, as it does not monitor the /dev/ directory, track performance statistics, or communicate with D-Bus.