350-401 exam dumps

350-401 practice question 307 of 631

Implementing Cisco Enterprise Network Core Technologies. Professional level, Cisco. Free question with the correct answer and a full explanation.

350-401 Question 307

Single answer

A network engineer is tasked with automating device configuration updates across an enterprise network. The engineer wants to use a Python script that interacts with network devices via NETCONF to push configurations. Which library would be the most appropriate to use in this scenario?

  1. A

    Paramiko

  2. B

    ncclient

  3. C

    Ansible

  4. D

    NAPALM

Show answer and explanation

Correct answer: B

Explanation

NETCONF is a protocol designed for managing and configuring network devices. ncclient is a Python library built specifically to handle NETCONF operations, making it the most appropriate choice for a Python script that interacts with devices via NETCONF. The other options either serve broader purposes or are not tailored to NETCONF.

  • A. Incorrect.

    Paramiko is a Python library used for SSH-based communication. While it can be used to interact with network devices, it is not specifically designed for NETCONF operations.

  • B. Correct.

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

  • C. Incorrect.

    Ansible is an automation tool that can manage configurations and devices, but it is not a Python library specifically for NETCONF. While it supports NETCONF modules, it is not the best answer for writing a Python script.

  • D. Incorrect.

    NAPALM is a Python library for network automation and supports multiple methods of device interaction but is not specifically dedicated to NETCONF.

Timed practice exam

Take a 350-401 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