• Post Reply Bookmark Topic Watch Topic
  • New Topic

questions on IBM "s sample test  RSS feed

cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I didn't find the answers to the sample test proposed by IBM.
I would like to be sure about some of them:
An online parts supplier is creating an XML-based application to deliver data to B2B suppliers and vendors, and also for use by B2C clients of various types. Which of the following provides the BEST design solution for the various clients consuming the XML data?

A. Use a single XSL stylesheet to transform XHTML1.1 linking to a CSS2 stylesheet for formatting.

B. Process the HTTP request and execute client-specific XSL transformations according to the client's capabilities.

C. Evaluate the client's needs based on the HTTP request and deliver formatted HTML to the client.

D. Deliver XML content to B2B clients and XHTML/HTML to B2C clients.

E. Pass XML directly to B2B clients, and use Active Server Pages or Java Server Pages to deliver customized HTML to B2C clients.

I guess: reponse E
An XPath expression returns "hello" in a text node when the expression is processed on an XML document. The XML document is well-formed and valid, but does not contain "hello". Which of the following BEST explains the situation?

A. The axis is incorrectly specified.

B. The XSLT processor resolved the entity references.

C. An incorrect relative location path is specified with respect to the current context node.

D. There is a missing "/" at the end of the location path.

E. There is a missing "@" somewhere in the location path.

I have no idea of the BEST answer: it could be A or C, no?
Which of the following statements are TRUE about node changes using DOM2?

A. setValue() to update a node with the specified value.

B. Node value changes are not supported. A new document must be written to edit existing nodes.

C. appendChild() to add a node to a specified parent node.

D. insertNode() to add a node fragment to a location in a document.

E. removeChild() returns the target node fragment so that it can be inserted elsewhere.

I guess answers C and E
A company wants to transmit parts of its sales order database to an outsourced service provider using XML. Which of the following is LEAST necessary?

A. Convert sales order database records into XML.

B. Validate the sales order XML before transmitting it to the service provider.

C. Use a DTD or XML Schema to describe the sales order data.

D. The service provider validates the XML sales order data after receiving it from the company.
I guess answer B

An XML developer is formatting XML output to HTML for multiple client types. Client memory footprint is a consideration. Which of the following approaches would BEST suit this environment?

A. Use only a subset of XHTML 1.1, relying on Format Objects to apply style.

B. Let the client process both the XML and the XSL documents.

C. Output HTML via a server-side XSL Transformation and embed CSS2 style information in the xsl:template actions.

I guess answer C
Thanks in advance for your help,
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just checked here:
Svetlana Petrova questions and answers for the sample Test
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!