MC XML focusses on the... content of documents. correct representation of documents. incorrect
MC Which statement is CORRECT? Using XSLT, an XML document can be transformed to another XML document. correct Using HTML, an XML document can be transformed to an XSLT document. incorrect Using XML, an XSLT document can be transformed to an XML document. incorrect Using DTD, an XML document can be transformed to an HTML document. incorrect
MC Which statement is NOT CORRECT? XML Schema is more verbose than DTD. incorrect XML Schema allows to specify minimum and maximum cardinalities. incorrect Various data types are supported in XML Schema such as xs:string, xs:short, xs:byte, etc. incorrect XML Schema is not defined using XML syntax. correct
MC Which statement is NOT CORRECT? XPath is a simple, declarative language. incorrect XPath considers an XML document as a set of XML elements. correct XPath uses path expressions to refer to parts of an XML document. incorrect Every navigation step in XPath results in a node or list of nodes which can then be used to continue the navigation. incorrect
MC In case an application needs to process large XML documents in a sequential way, it is recommended to use the: DOM API incorrect SAX API 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 nested whereas XML data cannot be nested. incorrect relational data can be multivalued whereas XML data cannot be multivalued. 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 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 Using the above table, every XPath expression can be translated to a corresponding SQL query. incorrect The table is not entirely normalized and still contains redundant information. incorrect
MC Which statement is NOT CORRECT? SQL/XML introduces a new XML data type. incorrect SQL/XML includes facilities for mapping relational data to XML. incorrect SQL/XML includes rules for shredding XML data into SQL. correct The result of an SQL/XML query can be a combination of both relational and XML data types. incorrect
MC Which statement is NOT CORRECT? XQuery allows to make use of both the document structure and its content. incorrect XQuery does not allow to join information from different XML documents. correct XQuery uses XPath path expressions to navigate through the document. incorrect The end results of XQuery can be sorted. 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 Which statement is NOT CORRECT? An RDF data model consists of statements which are in subject-predicate-object format. incorrect RDF allows to use database specific primary keys to identify resources. correct An RDF data model can be visualized as a directed, labeled graph. incorrect RDF Schema enriches RDF by extending its vocabulary with classes and sub classes, properties and sub properties, and typing of properties. incorrect
MC Which of the following are properties of SPARQL? Is is based upon matching graph patterns. incorrect It can query RDF graphs. incorrect It provides support for namespaces. incorrect All of these properties. correct
MC A key benefit of REST when compared to SOAP for web services is that: REST has an official standard. incorrect REST only allows XML for exchanging requests and responses. incorrect REST is communication agnostic, whereas SOAP is tightly integrated with HTTP. incorrect REST is built directly on top of HTTP and is less verbose and heavy than SOAP. correct
MC When compared against XML, both JSON and YAML are... not human readable. incorrect not providing support for ordered elements such as arrays. incorrect less technically mature. correct much more verbose. incorrect