200-901 exam dumps

200-901 practice question 137 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 137

Single answer

You are tasked with automating the deployment of network devices in a data center using Cisco's infrastructure automation tools. You decide to use a Python script that leverages the Cisco DevNet-supported libraries. Which library would be most suitable for managing the configuration of network devices via NETCONF?

  1. A

    ncclient

  2. B

    paramiko

  3. C

    pyATS

  4. D

    Ansible

Show answer and explanation

Correct answer: A

Explanation

The ncclient library is specifically designed to interact with network devices using the NETCONF protocol, making it the most appropriate option for automating the deployment and configuration of network devices using NETCONF in a Python script.

  • A. Correct.

    ncclient is a Python library specifically designed for interacting with network devices using the NETCONF protocol, making it the most suitable choice for this scenario.

  • B. Incorrect.

    paramiko is a Python library for SSH connections and is more general-purpose. While it can be used for network device automation, it does not natively support NETCONF.

  • C. Incorrect.

    pyATS is a Cisco DevNet-supported testing framework for network automation but is not focused on NETCONF directly.

  • D. Incorrect.

    Ansible is an automation tool that can manage configurations, but it is not a Python library and does not interact with NETCONF natively in a Python scripting context.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam