nerdexam
Cisco

300-170 · Question #35

Which tool can you use to convert XML/JSON REST code to Python code?

The correct answer is C. Arya. Arya is a specific Cisco ACI tool that can convert existing ACI configurations, often captured in XML or JSON from the APIC's API Inspector, into runnable Python code using the Cobra SDK.

Automation and Orchestration

Question

Which tool can you use to convert XML/JSON REST code to Python code?

Options

  • APostman
  • BCobra
  • CArya
  • DAPI Inspector

How the community answered

(40 responses)
  • B
    5% (2)
  • C
    93% (37)
  • D
    3% (1)

Why each option

Arya is a specific Cisco ACI tool that can convert existing ACI configurations, often captured in XML or JSON from the APIC's API Inspector, into runnable Python code using the Cobra SDK.

APostman

Postman is an API development environment used for testing and sending API requests, but it does not convert XML/JSON REST code into Python code.

BCobra

Cobra is the Python SDK (Software Development Kit) for interacting with the ACI API, providing classes and methods, but it is not a tool that converts existing XML/JSON into Python code.

CAryaCorrect

Arya is a Cisco-developed tool specifically designed to convert XML or JSON API responses from the ACI APIC, often obtained via the API Inspector, into Python code that utilizes the Cobra SDK for automation.

DAPI Inspector

API Inspector is a feature within the ACI APIC GUI that displays the underlying API calls (in XML or JSON) for actions performed in the GUI, but it does not convert them into Python code.

Concept tested: ACI Automation Tools - Arya

Source: https://www.cisco.com/c/en/us/td/docs/dcn/aci/apic/5x/programmability/cisco-aci-programmability-guide-5x/cisco-aci-programmability-guide-5x_chapter_011.html#id_51800

Topics

#ACI#automation#REST API#Python#Arya

Community Discussion

No community discussion yet for this question.

Full 300-170 Practice