Question
An administrator updates the network configuration on a server but wants to ensure the change will not cause an outage if something goes wrong. Which of the following commands allows the administrator to accomplish this goal?
- A. netplan try Correct
- B. netplan rebind
- C. netplan ip
- D. netplan apply
Explanation
netplan try applies the new configuration and rolls it back automatically unless the administrator confirms it before the timeout, which is 120 seconds by default. If the change cuts off access, the old configuration comes back without manual work. netplan apply makes the change permanent with no rollback, netplan rebind re-binds interfaces, and netplan ip shows IP leases; neither of those last two tests a change safely.