JNCIS-DevOps: Juniper Networks Certified Specialist – DevOps — Question 11

You need to reset all Junos systems in your lab to their factory-default state and then push a new configuration to the device.
Which two Ansible modules would your playbook use to accomplish this task? (Choose two)

Answer options

Correct answer: B, D

Explanation

The correct modules for this task are junos_zeroize and junos_install_config. junos_zeroize is used to reset the device to its factory defaults, while junos_install_config is utilized to push the new configuration. The other options, junos_system_services and junos_get_facts, do not specifically address the requirements of resetting and applying a configuration.