nerdexam
Cisco

300-610 · Question #148

An engineer develops a framework for automatic repetitive tasks needed to manage a Cisco Nexus 9000 Series Switch. The engineer plans to use a programmatic interface and must keep these considerations

The correct answer is D. NX-API. To automate Cisco Nexus 9000 Series Switches with authentication, HTTP transport, and XML/JSON message formats, Cisco NX-API is the most suitable solution.

Automation

Question

An engineer develops a framework for automatic repetitive tasks needed to manage a Cisco Nexus 9000 Series Switch. The engineer plans to use a programmatic interface and must keep these considerations in mind.

  • The customer’s environment requires the script to authenticate before

executing further actions.

  • The customer’s security requirements mandate the use of HTTP

transport.

  • The automation team is familiar with parsing messages encoded in XML

or JSON format. Which solution meets these requirements?

Options

  • ASNMPv3
  • BgRPC
  • CRESTCONF
  • DNX-API

How the community answered

(49 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    6% (3)
  • D
    90% (44)

Why each option

To automate Cisco Nexus 9000 Series Switches with authentication, HTTP transport, and XML/JSON message formats, Cisco NX-API is the most suitable solution.

ASNMPv3

SNMPv3 supports authentication and encryption but is primarily a monitoring protocol with limited programmatic configuration capabilities, and its data format (ASN.1) is not XML or JSON.

BgRPC

gRPC is a high-performance RPC framework that uses HTTP/2 for transport and typically Protocol Buffers for message serialization, which does not align with the requirement for XML or JSON format familiarity.

CRESTCONF

RESTCONF is a RESTful protocol for network device configuration that supports HTTP(S) and XML/JSON. While it meets several criteria, NX-API is Cisco's native API for Nexus OS, offering potentially broader and more optimized access to Nexus features than a generic RESTCONF implementation.

DNX-APICorrect

Cisco NX-API is a purpose-built web-based API for managing Cisco Nexus switches that natively supports HTTP(S) for transport, requires authentication for secure operations, and can encode messages in both XML and JSON formats. This solution directly satisfies all the customer's requirements for programmatic automation and ease of parsing by the automation team.

Concept tested: Cisco Nexus NX-API for 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_010.html

Topics

#Cisco Nexus 9000#network automation#NX-API#REST API

Community Discussion

No community discussion yet for this question.

Full 300-610 Practice