exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 45 discussion

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

What is a comparison of YAML and JSON?

  • A. YAML has a more consistent approach to representing data compared to JSON.
  • B. JSON does not support comments and YAML does.
  • C. YAML is a more verbose data structure compared to JSON.
  • D. JSON has more common usage in configuration management tools compared to YAML.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://stackoverflow.com/questions/244777/can-comments-be-used-in-json

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
Toxkalcan
5 days, 15 hours ago
Answer is B Can I use comments in JSON? No, JSON is a data-only format. Comments in the form //, #, or /* */, which are used in popular programming languages, are not allowed in JSON. You can add comments to JSON as custom JSON elements that will hold your comments, but these elements will still be data.
upvoted 3 times
...
macxsz
1 week ago
Selected Answer: B
I went to the link and it says json does not support comments
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago