Courseiva
mediumMultiple ChoiceObjective-mapped

200-901 Practice Question: A developer is writing a Python script to…

A developer is writing a Python script to interact with a Cisco device using NETCONF. Which library is most appropriate?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

ncclient

The most appropriate library for NETCONF operations in Python is ncclient (option D). ncclient is a Python library that provides a client for NETCONF, allowing interaction with network devices via NETCONF protocol. Option A (netmiko) is used for SSH/Telnet connections to network devices but does not natively support NETCONF. Option B (requests) is for HTTP requests, not NETCONF. Option C (paramiko) is a pure Python SSH implementation, which is not suitable for NETCONF. Therefore, ncclient is the correct choice.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • netmiko

    Why it's wrong here

    netmiko simplifies SSH connections to network devices but does not support NETCONF natively.

  • requests

    Why it's wrong here

    requests is an HTTP library and does not implement the NETCONF protocol.

  • paramiko

    Why it's wrong here

    paramiko is an SSH library and does not support NETCONF.

  • ncclient

    Why this is correct

    ncclient is a Python library that provides an API for NETCONF operations on network devices.

About these practice questions

Courseiva writes every 200-901 question from scratch — 989 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.