300-610 · Question #173
An engineer seeks a solution to retrieve routing information from Cisco Nexus switches. The data must be exported to a web application in a JSON or XML data format for monitoring and must be encrypted
The correct answer is C. NX-API. To retrieve encrypted routing information in JSON or XML format from Cisco Nexus switches for a web application, requiring simple implementation and minimal knowledge, NX-API is the most suitable technology.
Question
An engineer seeks a solution to retrieve routing information from Cisco Nexus switches. The data must be exported to a web application in a JSON or XML data format for monitoring and must be encrypted during transmission. The solution must not require extensive knowledge to support and should be simple to implement. Which technology accomplishes these goals?
Options
- Astreaming telemetry
- BCisco Tetration
- CNX-API
- DPython scripts
How the community answered
(30 responses)- A3% (1)
- B3% (1)
- C93% (28)
Why each option
To retrieve encrypted routing information in JSON or XML format from Cisco Nexus switches for a web application, requiring simple implementation and minimal knowledge, NX-API is the most suitable technology.
Streaming telemetry is designed for continuous, high-volume data collection using push mechanisms, which might be more complex and comprehensive than what is required for simple, on-demand routing information retrieval for a web application.
Cisco Tetration is a full-fledged data center security and analytics platform, offering far more extensive capabilities than merely retrieving routing information and requiring significantly more implementation and operational knowledge.
NX-API provides a direct RESTful or RPC programmatic interface to Cisco Nexus devices, allowing retrieval of routing information in JSON or XML format over HTTPS for encryption. Its design prioritizes simplicity for device interaction and automation, making it straightforward to implement for specific data retrieval tasks without requiring extensive knowledge or complex platforms.
Python scripts are a means of implementation, but the question asks for the underlying technology that accomplishes the goals; a Python script would utilize a library (like 'requests' for NX-API) to interact with the chosen technology.
Concept tested: Nexus programmatic APIs, network automation
Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_chapter_011.html
Topics
Community Discussion
No community discussion yet for this question.