0

web technology Online Quiz - 153

Description: web technology Online Quiz - 153
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

The schema is converted to a set of schema – driven program elements by

  1. Schema compiler

  2. Schema generator

  3. Runtime Framework

  4. None of the above


Correct Option: A

In JAXBUnmarshalling, the xml document is converted to JAXB-Driven

  1. Java Instances

  2. Java Objects

  3. XML tags

  4. Java Interfaces


Correct Option: B

The default encoding for jaxb marshalling is

  1. ISO – 8859 -1

  2. ISO – 8860 – 1

  3. UTF – 8

  4. UTF – 16


Correct Option: C

It is mandatory that client applications have to be validated before marshalling.

  1. True

  2. False


Correct Option: B

The default data type mapping from xml to java for xsd:base64binary is

  1. int

  2. double

  3. byte

  4. byte[]


Correct Option: D

when XML element information can not be inferred by the derived Java representation of the XML Content,

  1. Null Point Exception at run time

  2. Compilation error

  3. Program terminates without warning

  4. A JAXBElement object is provided


Correct Option: D

How is JAXB different from other parsers?

  1. Stateless event driven

  2. Streaming API Driven

  3. Static binding of XSD to Java components

  4. All the above


Correct Option: C

JAXB is which type of parser?

  1. Low Level Language

  2. Assembly Language

  3. High level Language

  4. Any of the above


Correct Option: C

JAXB uses memory efficiently as

  1. The Content tree is specific to schema

  2. Content tree is not created dynamically

  3. As there is no extra tree manipulation functionality

  4. As it allows data access through accessor methods


Correct Option: B

Which of the following does not come under Run time operations in JAXB?

  1. Unmarshall the XML Document

  2. Process( Access or Modify) the XML content tree

  3. Compile the JAXB classes

  4. Validate XML Content tree


Correct Option: C

What does SOAP define

  1. The overall structure of the XML message

  2. The conventions representing the remote procedure call in the XML message

  3. A binding to HTTP

  4. The conventions to wrap and send an error back to the seder

  5. All of the above


Correct Option: E

In WSDL a refers to

  1. TCP/IP or UDP port on the server

  2. Reprsents the actual service inv used

  3. Exposes a using a specific protocol binding

  4. None of the above


Correct Option: C

UDDI is a registry and a repository

  1. True

  2. False


Correct Option: A

Java API for XML based RPC (JAX-RPC)

  1. Can be used to generate server side and client side Java (Web Service) code from a WSDL

  2. Can be used to generate a WSDL from Java (Web Service) code

  3. Both A and B

  4. one of the above


Correct Option: C

Java API for XML Parsing (JAXP) is

  1. A new XML parser implementation

  2. A standard XML API that can be used by developers with over an XML parser

  3. A standard XML parsing technique

  4. none of the above


Correct Option: B

Java Web Services developed with JAX-RPC interoperate with .Net

  1. True

  2. False


Correct Option: A

Java API for XML Registries (JAX-R) is an API

  1. To read and write to-from a UDDI registry using SOAP messages

  2. To read and write to-from an ebXML registry using SOAP messages

  3. A and B

  4. None of the above


Correct Option: C

Canonical XML specification is used to

  1. Digitally encrypt an XML document

  2. Determine if two XML documents are logically equivalent

  3. Digitally sign an XML documents

  4. None of the above


Correct Option: D

XML Digital Signature specification is used to

  1. Digitally sign an XML document

  2. Include a signature using the senders private key in the XML

  3. Is used for non-repudiation

  4. 1 & 2

  5. All of the above


Correct Option: E

XML Encryption specification is used to

  1. Extend SSL for XML

  2. Encrypt specific elements or a complete XML document.

  3. Encrypts XML using a public key that can only be decrypted with a secret private key

  4. B and C


Correct Option: D
- Hide questions