You are asked to update a PyEZ script that will check for errors when connecting or loading configurations on a Junos device.
Which two command statements should be added to the script to accomplish this task? (Choose two.)
A . elseifstatement
B . try statement
C . else statement
D . exceptstatement
Answer: BD
Explanation:
Reference: https://www.juniper.net/documentation/en_US/junos-pyez/topics/example/junos-pyez-programÂconfiguration-data-loading-from-file.html