exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 15 discussion

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

Which two statements about JSON and XML are true? (Choose two.)

  • A. The syntax of JSON contains tags, elements, and attributes.
  • B. XML objects are collections of key-value pairs.
  • C. JSON objects are collections of key-value pairs.
  • D. JSON arrays are an unordered set of key-value pairs.
  • E. The syntax of XML contains tags, elements, and attributes.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

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
Requium
Highly Voted 4 years, 11 months ago
C,E, Objects are key:value pairs
upvoted 29 times
...
Klusner
Most Recent 6 months, 3 weeks ago
Selected Answer: CE
C and E are the Answers
upvoted 1 times
...
Niki_nik
2 years, 7 months ago
Selected Answer: CE
С and E, correct
upvoted 1 times
...
macxsz
2 years, 11 months ago
Selected Answer: CE
C and E Very logic
upvoted 1 times
...
designated
3 years, 2 months ago
Selected Answer: CE
C and E are correct.
upvoted 1 times
...
richard2865
4 years ago
"Arrays and lists are always ordered." which negates D. Per https://www.w3schools.com/js/js_json_objects.asp "JSON objects are written in key/value pairs" Therefore C and E are correct.
upvoted 2 times
...
alahnomi
4 years, 2 months ago
C & E is the correct answer
upvoted 4 times
...
marcxi
4 years, 3 months ago
C --- E --
upvoted 4 times
...
Net91
4 years, 4 months ago
C, E. please update
upvoted 3 times
...
uzbin
4 years, 5 months ago
Unordered is a key word to point to JSON.
upvoted 1 times
...
NitinPathak
4 years, 7 months ago
C and E
upvoted 3 times
...
DavePaul67
4 years, 7 months ago
C & E https://restfulapi.net/json-syntax/ D is wrong as 'JSON arrays are ordered collections'
upvoted 3 times
...
psyborg
4 years, 8 months ago
It looks like they mixed up the terminology such that neither answer would hold up in a court of law. C. JSON objects are collections of key-value pairs. D. JSON arrays are an unordered set of key-value pairs. https://www.json.org/json-en.html JSON is built on two structures: A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array. An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence. 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. 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 2 times
psyborg
4 years, 8 months ago
Re-reading my comment - C is the correct for JSON An object in JSON does not refer to the entire JSON blob, it refers specifically to the portion that would be a dict in Python.
upvoted 1 times
...
...
Leonhrz
4 years, 9 months ago
JSON = JavaScript Object Notation, so answer C is correct. XML one is obvious
upvoted 1 times
...
ravv
4 years, 9 months ago
D&E as in JSON 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.
upvoted 1 times
Requium
4 years, 9 months ago
Well...your explanation is right, but dont forget that D says: JSON "ARRAYS" are.....
upvoted 1 times
...
...
ananbini0035
4 years, 10 months ago
C & E only
upvoted 4 times
...
FireTv
4 years, 10 months ago
I agree with C & E
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago