nerdexam
CiscoCisco

200-301 · Question #1131

200-301 Question #1131: Real Exam Question with Answer & Explanation

The correct answer is A: array. Within a JSON structure, if 'warning' is an element in an ordered collection of values, it directly resides within an array.

Submitted by rohit_dlh· Mar 5, 2026Automation and Programmability

Question

Refer to the exhibit. In which structure does the word "warning" directly reside?

Options

  • Aarray
  • Bobject
  • CBoolean
  • Dstring

Explanation

Within a JSON structure, if 'warning' is an element in an ordered collection of values, it directly resides within an array.

Common mistakes.

  • B. An object in JSON is an unordered collection of key-value pairs enclosed in curly braces {}. If 'warning' were a key or a value associated with a key (e.g., {"level": "warning"}), it would reside in an object, but not directly as a standalone string element unless it was a key itself.
  • C. Boolean values in JSON are true or false and do not contain other words like 'warning'.
  • D. While 'warning' is itself a string, the question asks in which structure it directly resides, implying it's contained within something larger than just itself if it's the entire document.

Concept tested. JSON array structure and elements

Reference. https://www.json.org/json-en.html

Topics

#Data structures#JSON#API data models#Network programmability

Community Discussion

No community discussion yet for this question.

Full 200-301 PracticeBrowse All 200-301 Questions