XML I10-003 XML Master Professional Database Administrator Exam Practice Test

Page: 1 / 14
Total 39 questions
Question 1

Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.

[XQuery]

{

for $record in fn:doc("example.xml")/example/record

return

{ fn:data($record/data) }

}



Answer : D


Question 2

Select the correct result of executing the [XOuery] on [example xml] referenced in a separate window.



Answer : A


Question 3

Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.

[XQuery]

{fn:doc("example.xml")/example/record/data[@condition="good"][2]}

{fn:doc("example.xml")/example/record/data[2][@condition="good"]}



Answer : D


Question 4

Assume that a certain XMLDB can perform a validation check using DTD when inserting an XML document. Select two of the following that are unsuitable when using the xml:id attribute to manage the uniqueness of XML document elements. Assume that the XMLDB can properly process the xml:id attribute, and that an error is reported when a violation of the xml:id specification occurs.



Answer : B, D


Question 5

Select the correct result of executing the [XQuery] on [example xml] referenced in a separate window.



Answer : B


Question 6

Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.

[XQuery]

{

for $record in fn:doc("example.xml")/example/record

return

{ fn:data($record/data) }

}



Answer : C


Question 7

Select from choices A through C the answer that is included in the result element as the result of executing the [XQuery] on [example.xml] referenced in a separate window. (multiple answers possible) For example, select only "B" if the child element of the result element is "B" only.



Answer : B


Page:    1 / 14   
Total 39 questions