Juniper
JN0-224 · Question #118
YAML uses which two data structures? (Choose two.)
The correct answer is B. mappings C. sequences. YAML (YAML Ain't Markup Language) primarily uses two data structures: Mappings: These are key-value pairs, similar to dictionaries or hashes in programming languages. In YAML, mappings are used to represent associative arrays or objects. They are defined with a colon (:)…
Ansible
Question
YAML uses which two data structures? (Choose two.)
Options
- Aarrays
- Bmappings
- Csequences
- Dobjects
How the community answered
(21 responses)- A5% (1)
- B86% (18)
- D10% (2)
Explanation
YAML (YAML Ain't Markup Language) primarily uses two data structures: Mappings: These are key-value pairs, similar to dictionaries or hashes in programming languages. In YAML, mappings are used to represent associative arrays or objects. They are defined with a colon (:) separating the key from the value.
Topics
#YAML data structures#mappings#sequences
Community Discussion
No community discussion yet for this question.