nerdexam
Cisco

200-301 · Question #1131

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

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?

Exhibits

200-301 question #1131 exhibit 1
200-301 question #1131 exhibit 2

Options

  • Aarray
  • Bobject
  • CBoolean
  • Dstring

How the community answered

(35 responses)
  • A
    94% (33)
  • C
    3% (1)
  • D
    3% (1)

Why each option

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

AarrayCorrect

In JSON, an array is an ordered list of values, enclosed in square brackets `[]`. If the word 'warning' appears as a direct value within these brackets (e.g., `["info", "warning", "error"]`), it directly resides in an array.

Bobject

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.

CBoolean

Boolean values in JSON are `true` or `false` and do not contain other words like 'warning'.

Dstring

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

Source: 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 Practice