JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2023) — Question 8
Which data construct is used to guarantee that element names and data values remain unique in an XML document?
Answer options
- A. element
- B. schema definition
- C. namespace
- D. dictionary
Correct answer: C
Explanation
The correct answer is C, as namespaces are specifically designed to avoid name conflicts by providing a unique identifier for elements in XML documents. Options A and D do not serve this purpose, while B refers to schema definitions that outline the structure but do not inherently ensure uniqueness of names.