JNCIA-Junos: Juniper Networks Certified Associate – Junos (2024) — Question 87
You have configured some interfaces on a Junos device; however, you have not yet committed the configuration.
What happens if you issue the rollback 0 command in this scenario?
Answer options
- A. The messages.log file is deleted.
- B. The interface changes you made are discarded.
- C. The factory default configuration is loaded.
- D. The Junos device is rebooted.
Correct answer: B
Explanation
Executing rollback 0 will revert the device configuration to the last committed state, which means any uncommitted changes, including the interface modifications, will be discarded. The other options describe actions that do not occur as a result of this command: the messages.log file is not deleted, the factory default configuration is not loaded, and the device does not reboot.