300-635 practice question 5 of 15

Which two initial actions should be taken when exploring automation capabilities for ACI? (Choose Two)

Full set: 75 questions
Answer options
A: Write scripts that leverage the Python Standard Library
B: Look for an open-source package or SDK Correct answer
C: Use the API Inspector and test API Calls Correct answer
D: Develop an open-source package or SDK
E: Use the ncclient command to explore the NETCONF capabilities
Correct Answer:
B. Look for an open-source package or SDK; C. Use the API Inspector and test API Calls
Explanation

When beginning to explore automation for Cisco ACI, the most effective initial steps involve learning the API and leveraging existing tools. The APIC GUI includes an API Inspector, which shows the exact REST API calls generated by GUI actions. This is an invaluable tool for understanding the object model and API structure. Concurrently, exploring existing open-source SDKs, such as the Cisco ACI Cobra SDK (acicobra) or the ACI Toolkit, is highly recommended. These SDKs abstract the complexity of direct API calls, providing a more straightforward entry point for writing automation scripts.

Why Incorrect

A. Writing scripts from scratch using only the standard library is a more advanced step, undertaken after understanding the API, not as an initial exploratory action.
D. Developing a new SDK is a significant undertaking for expert users, not a starting point for someone exploring ACI automation capabilities.
E. While ACI may have some NETCONF support, its primary and feature-rich programmatic interface is the REST API, which should be the initial focus.

References

1. Cisco, Cisco APIC REST API Configuration Guide, Release 4.2(x), "Using the API Inspector". This section states, "You can use the API Inspector to see the managed objects (MOs) that are sent by the GUI to the APIC." This supports using the API Inspector as a primary learning tool.

2. Cisco DevNet, "ACI Programmability," Section: "ACI Python SDKs". This official resource introduces the Cobra SDK and ACI Toolkit as the primary tools for Python-based ACI automation, stating, "The ACI Cobra SDK...is the recommended tool for interacting with the ACI REST API." This supports looking for an SDK as an initial step.

3. Cisco Live Presentation, BRKACI-2222, "ACI Programming and Automation - Getting Started," 2019. The presentation outlines a learning path that starts with "Understand the Object Model" (using tools like the API Inspector) and "Leverage the SDKs" before moving to more advanced scripting.

Scroll to Top