JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 42
What are two examples of XPath axes? (Choose two.)
Answer options
- A. grandchild
- B. sibling
- C. parent
- D. grandparent
Correct answer: B, C
Explanation
The correct answers are B (sibling) and C (parent) because they are both recognized XPath axes that define the relationship between nodes in an XML document. Options A (grandchild) and D (grandparent) are not standard XPath axes, which is why they are incorrect.