exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 742 discussion

Actual exam question from Cisco's 200-301
Question #: 742
Topic #: 1
[All 200-301 Questions]

Which JSON data type is an unordered set of attribute-value pairs?

  • A. string
  • B. array
  • C. Boolean
  • D. object
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MikD4016
Highly Voted 2 years, 2 months ago
JSON Object : An object is an unordered set of name/value pairs. An object begins with { (left brace) and ends with } (right brace). Each name is followed by : (colon) and the name/value pairs are separated by , (comma). JSON Array : An array is an ordered collection of values. An array begins with [ (left bracket) and ends with ] (right bracket). Values are separated by , (comma).
upvoted 13 times
...
[Removed]
Most Recent 7 months, 4 weeks ago
Selected Answer: D
D is correct
upvoted 1 times
...
dave1992
2 years, 11 months ago
Key:Value Pair: Each and every colon identifies one key:value pair, with the key before the colon and the value after the colon. ■ Key: Text, inside double quotes, before the colon, used as the name that references a value. 424 CCNA 200-301 Official Cert Guide, Volume 2 ■ Value: The item after the colon that represents the value of the key, which can be ■ Text: Listed in double quotes. ■ Numeric: Listed without quotes. ■ Array: A special value (more details later). ■ Object: A special value (more details later) ■ Multiple Pairs: When listing multiple key:value pairs, separate the pairs with a comma at the end of each pair (except the last pair)
upvoted 4 times
...
sp3nc3
3 years, 1 month ago
D is correct In JSON, they take on these forms: An object is an unordered set of name/value pairs. An object begins with {left brace and ends with }right brace. Each name is followed by :colon and the name/value pairs are separated by ,comma. https://www.json.org/json-en.html
upvoted 4 times
...
dicksonpwc
3 years, 2 months ago
D is correct. Explanation: JSON (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values).
upvoted 1 times
...
Insidious_Intent
3 years, 3 months ago
How is this not an array?
upvoted 2 times
PaddyInNZ
11 months, 3 weeks ago
Whilst an object is an unordered collection, whereas the array is ordered, the real differentiator is that the JSON object is a collection of key-value pairs in curly braces. In comparison, a JSON array is just a list of values in square backets. JSON Array: [1, 2, "three", true, null] JSON Object: { "name": "John", "age": 30, "isStudent": false, "grades": [90, 85, 92] }
upvoted 1 times
...
iGlitch
2 years, 5 months ago
I thought it was the array at first, but the question states that it's an "Attribute-value pair" and the array in JSON looks like this { "Key":["Value", "Value", "Value"] }
upvoted 2 times
...
BooleanPizza
3 years, 2 months ago
Because an array is an ordered list of elements.
upvoted 2 times
...
digimaniac
3 years, 2 months ago
agree, should be array
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...