Which Python library is used to work with YANG data models via NETCONF?
Choose an answer
Tap an option to check your answer.
Correct answer: ncclient.
Why this is the answer
ncclient is a Python library specifically designed for interacting with NETCONF-enabled devices. It provides a programmatic interface to establish NETCONF sessions, send RPCs (Remote Procedure Calls) like get, get-config, edit-config, and commit, and parse the XML responses, making it ideal for automating network configuration and monitoring using YANG data models. Requests is a general-purpose HTTP library, not specific to NETCONF. cURL is a command-line tool for transferring data with URLs, also not NETCONF-specific. Postman is an API development environment, primarily for REST APIs, and does not directly support NETCONF.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed