Refer to the exhibit. What does the hyphen symbol (-) indicate in the YAML data structure?

IT Exam Items Repository › Refer to the exhibit. What does the hyphen symbol (-) indicate in the YAML data structure?

Refer to the exhibit. What does the hyphen symbol (-) indicate in the YAML data structure?

  • a key/value pair that represents an IP address
  • a string being used for both the key and value
  • a single key/value pair
  • an element in an array

Explanation: In YAML syntax, key value pairs are separated by a colon without the use of quotation marks and a hyphen is used to separate each element in a list or an array.

Related exam: CCNA (200-301) Certification Practice Exam (ENSA v7.0)