LPIC-1 Exam 102 v5 (Linux Administrator) — Question 29
What is true about the following command?
nmcli device wifi connect WIFIoI
Answer options
- A. NetworkManager opens a new public hotspot with the SSID WIFIoI.
- B. NetworkManager creates an unconfigured new virtual network interface named WIFIoI.
- C. NetworkManager creates a new wifi connection WIFIoI and activates it.
- D. NetworkManager returns an error in case the connection WIFIoI does not exist.
- E. NetworkManager returns an error because WIFIoI is an invalid wifi device.
Correct answer: D
Explanation
Option D is correct because nmcli will return an error if the specified connection WIFIoI does not exist. Options A, B, C, and E are incorrect as they describe actions that do not occur with this command; it does not create a hotspot, generate a virtual interface, or initiate a connection if it is not present.