In the following example, which data format is used?
<root>
<message>success</message>
<timestamp>1560789260</timestamp>
<iss_position>
<latitude>25.9990</latitude>
<longitude>-132.6992</longitude>
</iss_position>
</root>- HTML
- JSON
- XML
- YAML
Explanation: Extensible Markup Language (XML) data is enclosed within a related set of tags: <tag>data</tag>. JavaScript Object Notation (JSON) encloses key/value pairs in braces, { }. Keys must be strings within double quotation marks, “ ”. A key is from a value by a colon. YAML Ain’t Markup Language (YAML) separates the key/value pairs using a colon without quotation marks. YAML also uses indentation to define its structure without using brackets or commas.
Related exam: 14.7.2 Module Quiz - Network Automation
