JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2023) — Question 3
Which two data structures are used in JSON? (Choose two.)
Answer options
- A. tuples
- B. objects
- C. arrays
- D. dictionaries
Correct answer: B, D
Explanation
JSON employs objects and dictionaries to hold key-value pairs, making B the correct choice. While arrays are also a data structure in JSON, they are not classified as dictionaries, which is why D is also correct. Tuples are not a part of JSON's data structures, thus A is incorrect.