JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 32
Which statement about element nodes is correct?
Answer options
- A. Only a single root element node is allowed
- B. Element nodes only consist of a single line of code
- C. Element nodes cannot be nested in other element nodes
- D. Only the root element node can contain other element nodes
Correct answer: B
Explanation
The correct answer is B, as element nodes can indeed be defined in a single line of code in markup languages like XML. The other options are incorrect because a single root element node is not the only type allowed (A), element nodes can be nested (C), and multiple element nodes can exist within the root (D).