JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 19
Which two statements about Junos PyEZ RPC(s) are correct? (Choose two.)
Answer options
- A. PyEZ RPCs return XML data
- B. PyEZ RPCs can be used to view only the interface configuration
- C. PyEZ RPCs can be used to view the active device configuration
- D. PyEZ RPCs return CSV data
Correct answer: A, B
Explanation
Option A is correct because PyEZ RPCs indeed return data in XML format, which is standard for many network automation tasks. Option B is also correct, as PyEZ RPCs are specifically designed to view interface configurations; however, options C and D are incorrect as they either misstate the capabilities of PyEZ RPCs or the format of the returned data.