300-610 practice question 3 of 35

An architect must automate routine tasks within a data center The data center exclusively uses Cisco Nexus Series Switches The networking team lacks proper programming knowledge and prefers an automation solution that leverages NXOS commands Any configuration change must use HTTPS for transport due to a security compliance requirement. Which solution must the architect choose?

Full set: 277 questions
Answer options
A: NX-API Correct answer
B: Python-API
C: Chef
D: Terraform
Correct Answer:
A. NX-API
Explanation

The requirements are to automate a Nexus environment using existing NX-OS commands, for a team without programming skills, over a secure HTTPS transport. The Cisco NX-API is the ideal solution. It is a REST-like API native to NX-OS that allows administrators to send CLI commands encapsulated in an HTTP/HTTPS POST request. The switch executes the commands and returns the output. This directly leverages the team's existing CLI knowledge without requiring them to learn a new programming language (like Python or Ruby) or a declarative framework (like Terraform), and it operates over HTTPS as required for security compliance.

Why Incorrect

B. The Python-API involves writing and executing Python scripts directly on the switch, which explicitly contradicts the requirement that the team lacks programming knowledge.
C. Chef is a configuration management tool that uses a declarative model and requires writing "recipes" in Ruby, which is a form of programming and does not directly use NX-OS commands.
D. Terraform is an Infrastructure as Code tool that uses a declarative language (HCL). This requires learning a new framework and does not directly leverage familiar imperative NX-OS commands.

References

1. Cisco, Cisco Nexus 9000 Series NX-OS Programmability Guide, Release 10.2(x), "About the Cisco NX-API," Chapter: Getting Started with Cisco NX-API. "Cisco NX-API... is a web-based API that works over HTTP or HTTPS... You can use NX-API to send CLI commands to the switch... This feature is useful for network administrators who are not programmers."

2. Cisco DevNet, NX-API Sandbox, "NX-API allows you to interact with the switch using a simple HTTP/S POST request with the commands you want to run."

3. Cisco, Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x), "Configuring the NX-API Feature," Section: Enabling HTTPS for NX-API. This section details how to enable HTTPS transport for NX-API to meet security requirements.

Scroll to Top