nerdexam
Cisco

300-635 · Question #44

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

The correct answer is B. JSON. JSON (option B) is the default encoding used by the Cisco ACI APIC REST API and its built-in API Inspector tool when capturing and displaying API responses. The APIC REST API supports both JSON and XML, but JSON is the default format used when no explicit content-type is…

Cisco Application Centric Infrastructure

Question

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

Options

  • ACSV
  • BJSON
  • CXML
  • DYAML

How the community answered

(56 responses)
  • A
    2% (1)
  • B
    91% (51)
  • C
    5% (3)
  • D
    2% (1)

Explanation

JSON (option B) is the default encoding used by the Cisco ACI APIC REST API and its built-in API Inspector tool when capturing and displaying API responses. The APIC REST API supports both JSON and XML, but JSON is the default format used when no explicit content-type is specified, and the API Inspector reflects this behavior.

Why the distractors are wrong:

  • A (CSV): CSV is a tabular data format not suited for the hierarchical, nested object structures that APIC API responses contain - it is not supported by the APIC REST API at all.
  • C (XML): XML is supported by the APIC REST API as an alternative encoding, but it is not the default - you must explicitly request it via the Content-Type: application/xml header.
  • D (YAML): YAML is never supported by the APIC REST API; it is not an available encoding option.

Memory tip: Think "APIC = API = JSON" - modern REST APIs overwhelmingly default to JSON, and Cisco followed that convention with ACI. If you remember that XML is the only valid alternative (not YAML or CSV), you can eliminate three distractors quickly.

Topics

#ACI APIC API#API Response Format#JSON Encoding#REST API

Community Discussion

No community discussion yet for this question.

Full 300-635 Practice