350-401 · Question #1022
Which Python library is used to work with YANG data models via NETCONF?
The correct answer is A. ncclient. The question asks for the specific Python library used to programmatically interact with network devices using NETCONF and YANG data models.
Question
Options
- Ancclient
- Brequests
- CcURL
- DPostman
How the community answered
(29 responses)- A86% (25)
- B3% (1)
- C3% (1)
- D7% (2)
Why each option
The question asks for the specific Python library used to programmatically interact with network devices using NETCONF and YANG data models.
ncclient is a popular Python library that provides a client-side implementation of the NETCONF protocol, enabling developers to configure and manage network devices using YANG data models programmatically.
The `requests` library is a general-purpose Python library for making HTTP requests, commonly used for REST APIs, not specifically for NETCONF.
`cURL` is a command-line tool and library for transferring data using various protocols, but it is not a Python library specifically for NETCONF.
`Postman` is an API development environment used for testing and managing APIs, primarily RESTful ones, and is not a Python library.
Concept tested: Python libraries for NETCONF and YANG
Source: https://developer.cisco.com/docs/ncclient/
Topics
Community Discussion
No community discussion yet for this question.