exam questions

Exam 300-610 All Questions

View all questions & answers for the 300-610 exam

Exam 300-610 topic 1 question 162 discussion

Actual exam question from Cisco's 300-610
Question #: 162
Topic #: 1
[All 300-610 Questions]

An engineer must develop a Python tool to automate software upgrades of both data center and non-data center devices. All devices offer a RESTful API and require a JSON or XML payload. Vendor-specific libraries must be avoided. Which library must the engineer choose?

  • A. requests
  • B. Nornir
  • C. Netmiko
  • D. ncclient
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chad0128
1 month, 2 weeks ago
Selected Answer: A
Several Python tools can automate software upgrades for data center and non-data center devices. A suitable approach would be to leverage the requests library for interacting with RESTful APIs, which are commonly used by network devices, and paramiko for SSH-based interactions. A Python-based tool can be developed to handle software upgrades across diverse environments. The tool would use the requests library to send API requests to devices that support RESTful APIs, and paramiko to establish SSH connections with devices lacking API support. It would then manage the upgrade process by transferring new software images, initiating the installation, and verifying the successful completion of the upgrade. To ensure versatility and avoid vendor-specific dependencies, the tool should be designed to parse configuration files that specify device connection parameters, upgrade procedures, and verification steps. Error handling and logging mechanisms are crucial for robust operation and troubleshooting.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...