300-635 practice question 12 of 15

What is the default data encoding for the response output of the ACI APIC API inspector?

Full set: 75 questions
Answer options
A: csv
B: JSON Correct answer
C: XML
D: YAML
Correct Answer:
B. JSON
Explanation

The Cisco Application Policy Infrastructure Controller (APIC) API Inspector is a tool embedded in the GUI that displays the REST API calls corresponding to actions performed by the user. This allows administrators to learn the API and automate tasks. The GUI is a modern web application that communicates with the APIC backend primarily using JavaScript Object Notation (JSON). Consequently, the API Inspector's default output format for both requests and responses is JSON, as it reflects the native communication protocol of the GUI it is inspecting. While the ACI REST API itself supports both XML and JSON, the Inspector tool defaults to showing the more modern and GUI-native JSON format.

Why Incorrect

A. CSV (Comma-Separated Values) is a format for tabular data and is not a native encoding format for the ACI REST API or its Inspector tool.
C. While the ACI REST API supports XML, the API Inspector tool, which mirrors the GUI's communication, defaults to displaying JSON.
D. YAML is primarily used for configuration files in systems like Ansible and Kubernetes, not as a default response format for the ACI APIC API.

References

1. Cisco. (2020). Cisco APIC REST API Configuration Guide, Release 4.2(x). "Using the API Inspector". The examples and screenshots provided in this section consistently show the API calls and responses formatted in JSON.

2. Cisco. (2020). Cisco Application Centric Infrastructure Fundamentals, Release 4.2(x). "On-boarding and the API". This guide provides an overview of the ACI API and includes an example of the API Inspector output, which is shown in JSON format, reinforcing it as the standard representation in the tool.

Scroll to Top