exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 37 discussion

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

What is the difference between YAML and JSON data structure?

  • A. YAML uses spaces; JSON uses parentheses
  • B. YAML uses indentation; JSON uses brackets and braces
  • C. YAML uses brackets and braces; JSON uses indentation
  • D. YAML uses parentheses; JSON uses spaces
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Pelau_the_Engineer
Highly Voted 1 year, 6 months ago
Selected Answer: B
B. YAML uses indentation; JSON uses brackets and braces YAML (YAML Ain't Markup Language) and JSON (JavaScript Object Notation) are both data serialization formats, which are used to store and transmit data. They both have similar functionality and are used for similar purposes, but there are some key differences between the two. One of the main differences between YAML and JSON is in their data structure. YAML uses indentation to indicate the structure of the data, while JSON uses brackets and braces. In YAML, indentation is used to indicate the level of nesting of elements and to indicate the beginning and end of an object or an array. In JSON, brackets are used to define the beginning and end of an array, and braces are used to define the beginning and end of an object.
upvoted 5 times
...
Grace2024
Most Recent 1 month, 2 weeks ago
Selected Answer: B
YAML relies on indentation and whitespace to denote structure, whereas JSON uses brackets
upvoted 1 times
...
31da450
4 months, 2 weeks ago
B is the right answer
upvoted 1 times
...
Muste
4 months, 3 weeks ago
Selected Answer: B
only B is right
upvoted 1 times
...
knowyourself7
1 year ago
Selected Answer: B
correct answer
upvoted 2 times
...
knowyourself7
1 year ago
Selected Answer: B
B is the answer
upvoted 1 times
...
Ccoddes
1 year ago
Selected Answer: B
B is the answer
upvoted 1 times
...
r3mo
1 year, 6 months ago
It's B!
upvoted 1 times
...
chris_edwards
1 year, 6 months ago
Selected Answer: B
Whitespace: YAML uses whitespace to indicate the structure of the data, while JSON uses curly braces to denote objects and square brackets to denote arrays.
upvoted 1 times
...
mellohello
1 year, 8 months ago
Selected Answer: B
Its B for sure!
upvoted 1 times
...
madelesm
1 year, 9 months ago
B for sure
upvoted 1 times
...
johnbran
1 year, 9 months ago
Selected Answer: B
Answer B
upvoted 1 times
...
Fred78190
1 year, 10 months ago
Response is obviously B. https://realpython.com/python-yaml/#comparison-with-xml-and-json
upvoted 1 times
...
macxsz
2 years, 1 month ago
Selected Answer: B
B JSON uses brackets and braces
upvoted 1 times
...
bballking
2 years, 2 months ago
Selected Answer: B
I go B here
upvoted 1 times
...
bblu
2 years, 2 months ago
Selected Answer: B
I think is B
upvoted 2 times
...
joephx08
2 years, 2 months ago
I think it is B https://www.thetechplatform.com/post/yaml-yet-another-markup-language-how-it-works-which-is-better-yaml-or-json#:~:text=One%20major%20difference%20is%20that,ability%20to%20support%20date%20attributes.
upvoted 3 times
AJ7428
2 years, 2 months ago
I agree
upvoted 1 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