Web Services Review Quiz

17 Questions
Internet Quizzes & Trivia

Web services are pieces of software that make themselves available over the internet and use standardised XML messaging systems – which encode all communications to a web service. What can you tell us about them? Find out now!

Please wait...
Questions and Answers
  • 1. 
    Web services components are written in which Markup Language?
    • A. 

      SGML

    • B. 

      HTML

    • C. 

      XHTML

    • D. 

      XML

    • E. 

      DTD

  • 2. 
    Web Services are
    • A. 

      Loosely Coupled

    • B. 

      Tightly Coupled

    • C. 

      Either Loosely or Tightly Coupled

    • D. 

      Neither Loosely nor Tightly Coupled

    • E. 

      Both Loosely and Tightly Coupled

  • 3. 
    Which component of Web Services acts as a directory?
    • A. 

      UDDI

    • B. 

      XML

    • C. 

      SOAP

    • D. 

      WSIL

    • E. 

      WSDL

  • 4. 
    • A. 

      The overall structure of the XML message

    • B. 

      The conventions representing the remote procedure call in the XML message

    • C. 

      A binding to HTTP

    • D. 

      The type of client to be used

    • E. 

      The conventions to wrap and send an error back to the sender

  • 5. 
    • A. 

      True, because it allows functional specification like schemas and WSDL to be stored in it.

    • B. 

      False, because the actual content is never stored in UDDI.

    • C. 

      True, because it allows implementation details to be stored in it.

    • D. 

      False, because the actual content is always stored in UDDI.

    • E. 

      True, because it also allows business documents like schemas and WSDL to be stored in it.

  • 6. 
    Which of the following style(s) is/are Strictly WS-I compliant?
    • A. 

      Document/encoded

    • B. 

      RPC/literal

    • C. 

      Document/literal

    • D. 

      RPC/encoded

    • E. 

      Document/literal Wrapped

  • 7. 
    The primary goal of this Web Service Design pattern is to move business logic out of the service implementation class and into distinct business objects that are more easily managed and evolved over time.
    • A. 

      Asynchronous Query Pattern

    • B. 

      Command Facade Pattern

    • C. 

      Router Pattern

    • D. 

      Message Bus Pattern

    • E. 

      None of the above

  • 8. 
    • A. 

      SOAPAction HTTP header is optional in SOAP 1.2.

    • B. 

      SOAP 1.2 permits partially transmitted and sparse arrays.

    • C. 

      SOAPAction HTTP header is mandatory in SOAP 1.2.

    • D. 

      SOAP 1.2 disallows partially transmitted and sparse arrays.

    • E. 

      SOAP 1.2 adds a new standard header for reporting additional information in "MustUnderstand" faults.

  • 9. 
    XML digital signatures provides
    • A. 

      Authentication

    • B. 

      Authorization

    • C. 

      Confidentiality

    • D. 

      Integrity

    • E. 

      Non-repudiation

  • 10. 
    Which of the following statement(s) is/are false ?
    • A. 

      '.asmx' is the ASP.NET file extension for XML Web Services.

    • B. 

      With ASP.NET you have to write your own WSDL and SOAP documents.

    • C. 

      Use "WebMethod" to mark the functions in your application that you would like to make into web services.

    • D. 

      The namespace "System.Web.Services" is from the .NET framework.

    • E. 

      Document/literal Wrapped style of WSDL originates from JAX-RPC provided by SUN Microsystems.

  • 11. 
    Which of the following statement(s) is/are true?
    • A. 

      JAXB 1.0 provided validation at marshal time.

    • B. 

      JAXB 2.0 allows validation at unmarshal and marshal time.

    • C. 

      JAXB 2.0 enabled on-demand validation on a JAXB content tree.

    • D. 

      JAXB 1.0 provided validation at unmarshal time.

    • E. 

      JAXB 1.0 enabled on-demand validation on a JAXB content tree.

  • 12. 
    Which of the following cannot be used as a Web Service Client?
    • A. 

      Application Client

    • B. 

      Dynamic Proxy

    • C. 

      Static Stub

    • D. 

      Direct Invocation Interface

    • E. 

      Dynamic Invocation Interface

  • 13. 
    Which of the following statement(s) is/are incorrect?
    • A. 

      With JAX-WS, the developer generates/parses SOAP messages.

    • B. 

      The JAX-WS runtime system converts the API calls and responses to and from SOAP messages.

    • C. 

      A JAX-WS client cannot access a web service that is not running on the Java platform, and vice versa.

    • D. 

      The starting point for developing a JAX-WS web service is a Java class annotated with the javax.jws.WebService annotation.

    • E. 

      For a JAX-WS Endpoint: The implementing class should not explicitly reference an SEI through the endpointInterface element of the @WebService annotation.

  • 14. 
    • A. 

      The <types> element defines the data type that are used by the web service.

    • B. 

      The <binding> element defines the message format and protocol details for each port.

    • C. 

      The <types> element defines the data elements of an operation.

    • D. 

      The <binding> element defines only the protocol details for each port.

    • E. 

      The <message> element defines the data elements of an operation.

  • 15. 
    • A. 

      TCP/IP or UDP port on the server

    • B. 

      The operations that can be performed, and the messages that are involved

    • C. 

      The actual protocol used in the Web Service

    • D. 

      Only the operations that can be performed

    • E. 

      Only the messages that are involved including their types and elements to be used

  • 16. 
    Which of the following is not an UDDI datatype?
    • A. 

      BusinessEntity

    • B. 

      BusinessService

    • C. 

      BusinessTemplate

    • D. 

      TModel

    • E. 

      BindingTemplate

  • 17. 
    Pick the odd one out:
    • A. 

      Service Simulator

    • B. 

      Configuration Driven Service

    • C. 

      Data Logger

    • D. 

      Facade Service

    • E. 

      Input/Output Validator