nerdexam
Cisco

350-501 · Question #552

Which fact about programmable APIs should an engineering team consider when planning for a new network with Cisco devices

The correct answer is B. JSON works with the REST API to support network management. When planning a new network with Cisco devices and programmable APIs, an engineering team should consider that JSON is widely used and compatible with the REST API for network management.

Automation and Assurance

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

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    87% (34)
  • C
    3% (1)
  • D
    5% (2)

Why each option

When planning a new network with Cisco devices and programmable APIs, an engineering team should consider that JSON is widely used and compatible with the REST API for network management.

AProtobuf allows for efficient data transfer

Protobuf (Protocol Buffers) does allow for efficient data transfer, especially for machine-to-machine communication, but the statement 'Protobuf allows for efficient data transfer' is too general and doesn't capture its primary advantage over other data formats in all contexts or its specific role with REST, which often uses JSON or XML.

BJSON works with the REST API to support network managementCorrect

JSON (JavaScript Object Notation) is a lightweight, human-readable data-interchange format that is widely adopted for data representation in web services and APIs, including REST (Representational State Transfer) APIs. Its compatibility with REST API makes it a very common and effective choice for network management and automation on Cisco devices.

CYAML provides serialization

YAML (YAML Ain't Markup Language) provides data serialization, similar to JSON, and is often used for configuration files. However, the statement 'YAML provides serialization' is a fundamental characteristic and doesn't highlight its specific advantage or primary consideration for network management APIs as broadly as JSON with REST.

DAvro most effectively compacts binary transmission to reduce bandwidth load

While Avro is a data serialization system that can effectively compact binary transmission, it is not as universally or commonly associated with general programmable APIs for network management on Cisco devices as JSON and REST are. Its use for reducing bandwidth load is a specific benefit, but not the most overarching consideration for typical API planning.

Concept tested: Programmable APIs - REST and JSON

Source: https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/prog/73x/b-programmability-cg-ncs5500-73x/b-programmability-cg-ncs5500-73x_chapter_010.html

Topics

#Programmable APIs#REST API#JSON#Network Automation

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice