nerdexam
Juniper

JN0-220 · Question #69

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…

The correct answer is B. try statement D. except statement. configuration-data-loading-from-file.html

Python

Question

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.)

Options

  • Aelseif statement
  • Btry statement
  • Celse statement
  • Dexcept statement

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    79% (22)
  • C
    7% (2)

Explanation

configuration-data-loading-from-file.html

Topics

#PyEZ#error handling#try/except#exception handling

Community Discussion

No community discussion yet for this question.

Full JN0-220 Practice