QuestionQ28

VerifiedPython/PyEZ

Select the Exhibit button.

Question Image

With reference to the exhibit, which two statements concerning the script are correct?

Choose two
Explanation

The filter_xml="interfaces" argument retrieves the interfaces configuration hierarchy, and options={"format": "json"} requests JSON-formatted configuration data. The loop accesses each interface entry and prints its name field, so it prints the name of every configured interface rather than all interface details.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!