MC Which statement is CORRECT? A key benefit of REST when compared to SOAP for web services is that REST has an official standard. incorrect When compared against XML, both JSON and YAML are much more verbose. incorrect When shredding XML documents, a DTD or XSD schema is always used. incorrect XPath uses path expressions to refer to parts of an XML document. correct
MC Which statement is CORRECT? Using XSLT, an XML document can be transformed to another XML document. correct Using DTD, an XML document can be transformed to an HTML document. incorrect Using XML, an XSLT document can be transformed to an XML document. incorrect Using HTML, an XML document can be transformed to an XSLT document. incorrect
MC Which statement is NOT CORRECT? RDF Schema enriches RDF by extending its vocabulary with classes and sub classes, properties and sub properties, and typing of properties. incorrect An RDF data model consists of statements which are in subject-predicate-object format. incorrect An RDF data model can be visualized as a directed, labeled graph. incorrect RDF allows to use database specific primary keys to identify resources. correct
MC Which statement is CORRECT? DTD is more verbose than XML Schema. incorrect XQuery uses XPath path expressions to navigate through the document. correct When shredding XML documents, a DTD or XSD schema is always used. incorrect XML focusses on the styling of documents. incorrect
MC When compared against XML, both JSON and YAML are... much more verbose. incorrect less technically mature. correct not providing support for ordered elements such as arrays. incorrect not human readable. incorrect
MC In an Enterprise Application Integration (EAI) context, asynchronous communication between objects and/or applications can be achieved by means of... Remote Procedure Call (RPC) incorrect Message Oriented Middleware (MOM) correct
MC A key difference between XML data and relational data is that... relational data assumes atomic data types whereas XML data can consist of aggregated types. correct relational data is ordered whereas XML data is not ordered. incorrect relational data can be multivalued whereas XML data cannot be multivalued. incorrect relational data can be nested whereas XML data cannot be nested. incorrect
MC Consider the following table which maps an XML document to a relational database:
CREATE TABLE NODE(
ID CHAR(6) NOT NULL PRIMARY KEY,
PARENT_ID CHAR(6),
TYPE VARCHAR(9),
LABEL VARCHAR(20),
VALUE CLOB,
FOREIGN KEY (PARENT_ID) REFERENCES NODE (ID)
CONSTRAINT CC1 CHECK(TYPE IN ("element", "attribute"))
);
Which statement is CORRECT? The table is not entirely normalized and still contains redundant information. incorrect Using the above table, every XPath expression can be translated to a corresponding SQL query. incorrect The above table assumes the presence of a DTD or XSD before the mapping can take place. incorrect The table will require extensive querying resources since every single (e.g. XPath) navigation step requires a self-join on this table. correct
MC Which statement is NOT CORRECT? XQuery uses XPath path expressions to navigate through the document. incorrect XQuery does not allow to join information from different XML documents. correct XQuery allows to make use of both the document structure and its content. incorrect The end results of XQuery can be sorted. incorrect
MC XML focusses on the... representation of documents. incorrect content of documents. correct