CiscoCisco
200-301 · Question #1261
200-301 Question #1261: Real Exam Question with Answer & Explanation
The correct answer is A: key. In a JSON schema, 'port' typically functions as a key, a string that names or identifies a specific piece of data, or value, within an object.
Submitted by fatima_kr· Mar 5, 2026Automation and Programmability
Question
What is represented by the word "port" within this JSON schema?
Options
- Akey
- Bvalue
- Carray
- Dobject
Explanation
In a JSON schema, 'port' typically functions as a key, a string that names or identifies a specific piece of data, or value, within an object.
Common mistakes.
- B. A value is the data associated with a key (e.g., '80' for the 'port' key), not the key itself.
- C. An array is an ordered list of values enclosed in square brackets, not a single word identifying a data field.
- D. An object is a collection of key-value pairs enclosed in curly braces, not an individual identifier like 'port'.
Concept tested. JSON data types (key)
Reference. https://www.json.org/json-en.html
Topics
#JSON structure#JSON keys
Community Discussion
No community discussion yet for this question.