JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 5

Which two statements are true about data structures? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Option A is correct because YAML is designed to be human-readable and can serialize complex data structures. Option C is also correct as JSON is indeed based on language-specific conventions that are common among several programming languages. Options B and D are incorrect; B misrepresents YAML's capabilities, and D inaccurately suggests that JSON sacrifices readability when it is still relatively readable compared to other formats.