XML-Master-Professional-Database-Administrator-(I10-003).pdf...

This preview shows page 1 - 7 out of 14 pages.

I10-003 XML-Master XML Master Professional Database(R) Administrator
QUESTION: 34 See separate window. Assume you wish to execute a query on [example xml] (separate window) to obtain a record element that includes a data element for which the condition attribute value is "good," and for which the element value is 100 or less. Select the correct result of executing the [XQuery] (separate window). The expected result would be "C;" however, the query may not be processed as expected. A. <result/> B. <result> <record date="2007-05-15"> <data condition="bad">50</data> <data condition="bad">80</data> <data condition="good">250</data> </record> </result> C. <result> <recorddate="2007-05-16"> <data condition="bad">60</data> <data condition="good">90</data> <datacondition="good">150</data> </record> 43
</result> D. <result> <recorddate="2007-05-15"> <data condition="bad">50</data> <data condition="bad">80</data> <datacondition="good">250</data> </record> <recorddate="2007-05-16"> <data condition="bad">60</data> <data condition="good">90</data> <data condition="good"> 150</data> </record> </result> Answer: D QUESTION: 35 See separate window. 44
45
[PRODUCTS xml] (separate window) and [STOCKLIST.xml] (separate window) are output in XML format from RDB (relational database) data. Assume that you wish to use an XOuery processor to get [Output Result] (separate window) from this XML data. Which of the following is an XOuery that cannot retrieve [Output Result]? 46
A. Option A

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture