exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 29 discussion

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

How do XML and JSON compare regarding functionality?

  • A. XML provides more support for mapping data structures into host languages than JSON.
  • B. XML provides more human readability than JSON.
  • C. JSON provides less support for data types than XML.
  • D. JSON natively supports arrays and XML does not natively support arrays.
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
jinck
Highly Voted 3 years, 1 month ago
D is correct. XML does not support arrays but JSON does.
upvoted 10 times
...
vmrsghrez
Most Recent 7 months, 2 weeks ago
Selected Answer: D
D is correct because of keyword "natively"
upvoted 3 times
...
Mike_84
1 year, 2 months ago
Selected Answer: D
B is not correct. "As a markup language, XML is more complex and requires a tag structure. In contrast, JSON is a data format that extends from JavaScript. It does not use tags, which makes it more compact and easier to read for humans." https://aws.amazon.com/compare/the-difference-between-json-xml/
upvoted 3 times
...
aniket2610
1 year, 4 months ago
Selected Answer: D
Natively is the key
upvoted 3 times
...
Frap
1 year, 7 months ago
D seems to be correct, note that it says "natively"
upvoted 2 times
...
Frap
1 year, 7 months ago
I'm not sure about B since JSON is more readable than XML, well this is subjective if the person is used to XML
upvoted 1 times
...
cerifyme85
1 year, 10 months ago
Selected Answer: B
In XML, arrays can be represented using repeating elements with the same name
upvoted 3 times
...
mellohello
1 year, 11 months ago
Selected Answer: B
Option A is incorrect. Both XML and JSON support mapping data structures into host languages, although the specific mechanisms for doing so may differ. Option C is incorrect. Both XML and JSON support a variety of data types, including strings, numbers, and Booleans. Option D is incorrect. Both XML and JSON support arrays, although the syntax for representing arrays is different in the two formats. In XML, arrays can be represented using repeating elements with the same name, while in JSON, arrays are represented using square brackets.
upvoted 2 times
...
designated
2 years, 9 months ago
Selected Answer: D
D is correct.
upvoted 4 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