Red Hat Certified Architect (RHCA) Certification 2025 – 400 Free Practice Questions to Pass the Exam

Disable ads (and more) with a premium pass for a one time $4.99 payment

Question: 1 / 150

Which command can be used to check the status of network devices?

nmcli dev status

The command "nmcli dev status" is used to check the status of network devices in a system that employs NetworkManager. This command provides a concise overview of all network interfaces managed by NetworkManager, including their connectivity status (connected, disconnected), the type of connection, and any associated details that help in understanding the network settings in use.

Using "nmcli" is particularly beneficial in modern Linux distributions that utilize NetworkManager because it handles network connections dynamically, allowing for easier configuration and management of network devices. This approach is especially useful in environments with complex networking requirements, making it a preferred tool for checking device status comprehensively.

While other commands can display information about network interfaces, they do not provide the same level of detail in the context of NetworkManager. For instance, "ifconfig" is a traditional command that displays network interface configurations but has been largely deprecated in favor of the "ip" command, which provides a more extensive set of networking management features. On the other hand, "ip link show" offers low-level information about interfaces but lacks the connectivity status context that "nmcli dev status" delivers. "systemctl status" is focused on managing system services and won't provide specific device connectivity information.

Thus, "nmcli dev status

Get further explanation with Examzify DeepDiveBeta

ifconfig

ip link show

systemctl status

Next

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy