300-610 · Question #215
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 autom
The correct answer is A. NX-API. For automating Cisco Nexus switches using NXOS commands over HTTPS, NX-API is the ideal solution, as it allows direct command execution via a REST interface.
Question
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?
Options
- ANX-API
- BPython-API
- CChef
- DTerraform
How the community answered
(22 responses)- A91% (20)
- C5% (1)
- D5% (1)
Why each option
For automating Cisco Nexus switches using NXOS commands over HTTPS, NX-API is the ideal solution, as it allows direct command execution via a REST interface.
NX-API is a REST-based API available natively on Cisco Nexus switches that allows programmatic interaction using standard HTTP/HTTPS protocols. It enables sending NX-OS CLI commands in structured formats like JSON or XML, directly meeting the requirements of leveraging NXOS commands over HTTPS with minimal programming knowledge for the end-user.
Python-API typically implies writing Python scripts directly, which contradicts the requirement for a solution that doesn't require in-depth programming knowledge from the networking team.
Chef is a configuration management tool that uses a Ruby-based DSL and often requires agents or more complex setup, moving away from directly leveraging raw NXOS commands in the preferred manner.
Terraform is an Infrastructure-as-Code tool that uses HCL (HashiCorp Configuration Language) and focuses on declarative state management, which is different from executing direct NXOS commands.
Concept tested: Cisco Nexus NX-API automation
Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/prog_guide/b_NX-OS_Programmability_Guide_7x/b_NX-OS_Programmability_Guide_7x_chapter_010.html
Topics
Community Discussion
No community discussion yet for this question.