200-301 Question 459
Select 3A network engineer is tasked with automating the configuration of multiple network devices in a data center. The engineer plans to use a Python script and REST APIs to achieve this. Which of the following are essential components or tools the engineer should utilize to implement this solution?
- A
Network device API documentation
- B
A Python library such as requests or netmiko
- C
An SNMP-based monitoring tool
- D
A version control system like Git
- E
A compiled programming language such as C++
Show answer and explanation
Correct answers: A, B, D
Explanation
To automate network device configuration using REST APIs, the engineer must have access to the device's API documentation to understand how to interact with it, use a script-friendly language like Python along with relevant libraries, and employ a version control system for managing script changes. SNMP and C++ are not directly applicable in this scenario.
- A. Correct.
Network device API documentation is crucial to understand the correct API endpoints, request formats, and authentication methods required for automation.
- B. Correct.
A Python library like requests or netmiko is essential for interacting with REST APIs or network devices programmatically.
- C. Incorrect.
While SNMP is a useful protocol for monitoring, it is not directly relevant to automating the configuration of network devices using REST APIs.
- D. Correct.
A version control system like Git is important for tracking changes to the automation script and collaborating with others effectively.
- E. Incorrect.
C++ is not commonly used for network automation tasks due to its complexity and lack of built-in libraries for interacting with REST APIs compared to Python.