QuestionQ64

Data Serialization

Click the Exhibit button.

Question Image

Based on the exhibit, what is the data type used for the OSPF area 'name' statement?

  • A JSON array
  • B YAML mapping
  • C YAML sequence
  • D JSON object
Explanation

In the YAML representation shown, 'area' is a sequence (each entry begins with a dash), and each sequence entry is itself a mapping containing the keys 'interface' and 'name'. The 'name: 0.0.0.0' entry is written as a key followed by its scalar value with no leading dash, which is the defining syntax of a YAML mapping (key-value pair) rather than a YAML sequence, JSON array, or JSON object.

Community Discussion

No comments yet. Be the first to start the discussion!