A system administrator manages a server with a pre-configured NetworkManager connection profile named "CorpNet" that is associated with the enp0s3 network interface. After a reboot, the administrator confirms the interface is not active. Which of the following commands must the administrator run to activate the existing "CorpNet" connection profile?
The correct command to activate an existing NetworkManager connection profile by its name is nmcli con up CorpNet. The nmcli tool is used to control NetworkManager from the command line. The con object refers to connections, and the up action activates a specified connection. The command nmcli dev connect enp0s3 is incorrect because it instructs NetworkManager to find a suitable connection for the enp0s3 device and activate it, or create a new one if necessary, rather than specifically activating the existing "CorpNet" profile. The netplan apply command is used to apply network configurations from YAML files in /etc/netplan/ and is not the correct tool for interactively activating a specific NetworkManager connection. The command nmconnect up CorpNet is incorrect as nmconnect is not a standard Linux command for managing NetworkManager connections in this way; it appears to be related to other technologies like Oracle WebLogic's Node Manager.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is NetworkManager in Linux?
Open an interactive chat with Bash
What does `nmcli con up CorpNet` do?
Open an interactive chat with Bash
What is the difference between `nmcli con up` and `nmcli dev connect`?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access