Web Services Quiz

Web Services Quiz

 



Web Services Quiz contain set of 10 MCQ questions for Web Services MCQ which will help you to clear beginner level quiz.



 
1.      Which of the following is a true statement for Webservices?

  1. A web service is any piece of software that makes itself available over the web
  2. XML is used to encode all communications to a web service
  3. A web service is not tied to any one operating system or programming language
  4. All of the above

2.      Which of the following is an XML-based protocol for exchanging information via web services?

  1. WSDL
  2. SOAP
  3. BGP
  4. None of these

3.      What is the full form of WSDL?

  1. Web Services Definition Language
  2. Web Services Description Layer
  3. Web Services Description Language
  4. Web Services Definition Layer

4.      Which of the following describes how to access a web service and what operations it will perform?

  1. WSDL
  2. SOAP
  3. UDDI
  4. None of these

5.      Which of the following is a major role within the web service architecture?

  1. Service Provider
  2. Service Requestor
  3. Service Registry
  4. All of the above

6.      What is the root element of all WSDL documents?

  1. Definition
  2. Description
  3. Root
  4. Wsdl-root

7.      Which of the following associates the web service binding with the URI where the running service can be accessed?

  1. Message
  2. Binding
  3. Port
  4. None of the above

8.      Which element describes the data being exchanged between the web service providers and the consumers?

  1. Message
  2. Binding
  3. Port
  4. None of the above

9.      What is the Java API specification for web services using SOAP?

  1. JAX-RS
  2. JAX-WS
  3. JAF
  4. JPA

10.  Which java tool is used to generate java artifacts from wsdl?

  1. Wsimport
  2. Wsexport
  3. Javaw
  4. None of these

11.  Which of the following is not true for RESTful Web services?

  1. REST supports transactions, but it is neither ACID compliant nor can provide two phase commit across distributed transactional resources as it is limited by its HTTP protocol.
  2. REST does not have a standard messaging system, and expects clients invoking the service to deal with communication failures by retrying.
  3. Supports both SSL security and WS-security.
  4. REST is focused on accessing named resources through a single consistent interface.