350-501 · Question #574
350-501 Question #574: Real Exam Question with Answer & Explanation
The correct answer is B: JSON works with the REST API to support network management. When planning for network programmability with Cisco devices, an engineering team should consider that JSON is widely used with REST APIs to support network management. This combination provides a flexible and well-understood approach for interacting with network infrastructure.
Question
Which fact about programmable APIs should an engineering team consider when planning for a new network with Cisco devices?
Options
- AProtobuf allows for efficient data transfer.
- BJSON works with the REST API to support network management
- CYAML provides serialization
- DAvro most effectively compacts binary transmission to reduce bandwidth load
Explanation
When planning for network programmability with Cisco devices, an engineering team should consider that JSON is widely used with REST APIs to support network management. This combination provides a flexible and well-understood approach for interacting with network infrastructure.
Approach. JSON (JavaScript Object Notation) is the widely adopted data-interchange format, and REST (Representational State Transfer) is a common architectural style for web services and APIs. Cisco's network devices extensively support REST APIs (e.g., RESTCONF, NX-OS REST API) that use JSON as their primary data format for configuration, monitoring, and overall network management, making this a fundamental consideration for network programmability.
Common mistakes.
- A. Protocol Buffers (Protobuf) is an efficient binary serialization format often used with gRPC, but JSON with REST is a more ubiquitous and generally applicable combination for network management APIs across a wider range of Cisco devices.
- C. YAML (YAML Ain't Markup Language) is a human-readable data serialization format often used for configuration files, but JSON is more commonly used for real-time data exchange with REST APIs in network management contexts.
- D. Avro is a data serialization system with capabilities for compact binary transmission, but it is not as universally adopted or central to the general network management API strategy on Cisco devices as JSON used with REST.
Concept tested. Network programmability APIs (JSON/REST)
Reference. https://developer.cisco.com/learning/lab/explore-restconf/step/1
Topics
Community Discussion
No community discussion yet for this question.