Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 356
What is a feature of XML compared to other data formats?
Answer options
- A. It uses tags to define the structure.
- B. It uses parenthesis for key-value pairs.
- C. It uses indentation to define the structure.
- D. It uses namespaces for list representation.
Correct answer: A
Explanation
The correct answer is A because XML is specifically designed to use tags that define the hierarchical structure of the data, which is a fundamental characteristic of XML. Options B and C describe features of other data formats, such as JSON or YAML, but do not apply to XML. Option D, while relevant to XML, does not define its overall structural feature compared to others.