Web Services Mock Test
Web Services Mock Test
This section presents you various set of Mock Tests related to Web Services Framework. You can
download these sample mock tests at your local machine and solve offline at your convenience.
Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
A - Web services are open standard XML, SOAP, HTTPetc. based Web applications.
B - Web services interact with other web applications for the purpose of exchanging data.
A - A web service enables communication among various applications by using open standards
such as HTML, XML, WSDL, and SOAP.
B - You can build a Java-based web service on Solaris that is accessible from your Visual Basic
program that runs on Windows.
C - You can also use C# to build new web services on Windows that can be invoked from your
web application that is based on JavaServer Pages JSP and runs on Linux.
A - SOAP
B - UDDI
C - WSDL
A - A web services takes the help of XML to tag the data, format the data.
C - A web service takes the help of XML to describe the availability of service.
A - A web services takes the help of SOAP to tag the data, format the data.
C - A web service takes the help of SOAP to describe the availability of service.
A - A web services takes the help of WSDL to tag the data, format the data.
C - A web service takes the help of WSDL to describe the availability of service.
A - Web services allows you to expose the functionality of your existing code over the network.
Once it is exposed on the network, other application can use the functionality of your program.
B - Web services allow various applications to talk to each other and share data and services
among themselves.
C - Web services use standardized industry standard protocol for the communication.
A - Web services use SOAP over HTTP protocol, so you can use your existing low-cost internet for
implementing web services.
B - All the four layers ServiceTransport, XMLMessaging, ServiceDescription, andServiceDiscoverylayers use well-
defined protocols in the web services protocol stack.
A - Web services allow various applications to talk to each other and share data and services
among themselves.
C - Web services are used to make the application platform and technology independent.
B - The web service interface can change over time without compromising the client's ability to
interact with the service.
C - Adopting a loosely coupled architecture tends to make software systems more manageable
and allows simpler integration between different systems.
A - Web services allow clients to invoke procedures, functions, and methods on remote objects
using an XML-based protocol.
B - Remote procedures expose input and output parameters that a web service must support.
C - A web service supports RPC by providing services of its own, equivalent to those of a
traditional component, or by translating incoming invocations into an invocation of an EJB or a
.NET component.
A - Web Services uses XML at data representation and data transportation layers.
C - Businesses and the interfaces that they expose should be coarse-grained. Web services
technology provides a natural way of defining coarse-grained services that access the right
amount of business logic.
A - Asynchronous clients retrieve their result at a later point in time, while synchronous clients
receive their result when the service has completed.
B - A web service supports RPC by providing services of its own, equivalent to those of a
traditional component, or by translating incoming invocations into an invocation of an EJB or a
.NET component.
Q 16 - Which of the following is the benefits of having XML based WEB services?
B - Web Services based applications are highly interoperable application at their core level.
Q 17 - Which of the following is the benefits of Web services being loosely coupled?
A - The web service interface can change over time without compromising the client's ability to
interact with the service.
B - Adopting a loosely coupled architecture tends to make software systems more manageable
and allows simpler integration between different systems.
A - Synchronicity refers to the binding of the client to the execution of the service.
B - In synchronous invocations, the client blocks and waits for the service to complete its
operation before continuing.
C - Asynchronous operations allow a client to invoke a service and then execute other functions.
A - Service Provider
B - Service Requestor
C - Service Registry
D - Service Locator
Q 20 - Which of the following role of web service architecture implements the service
and makes it available on the Internet?
A - Service Provider
B - Service Requestor
C - Service Registry
Q 21 - Which of the following role of web service architecture utilizes an existing web
service by opening a network connection and sending an XML request?
A - Service Provider
B - Service Requestor
C - Service Registry
Q 22 - Which of the following role of web service architecture provides a central place
where developers can publish new services or find existing ones?
A - Service Provider
B - Service Requestor
C - Service Registry
Q 23 - Which of the following is not a core layer in Web Service Protocol Stack?
A - Service Transport
B - XML Messaging
C - Service Description
D - Service Locator
Q 24 - Which of the following layer in Web Service Protocol Stack is responsible for
transporting messages between applications?
A - Service Transport
B - XML Messaging
C - Service Description
D - Service Discovery
Q 25 - Which of the following layer in Web Service Protocol Stack is responsible for
encoding messages in a common XML format so that messages can be understood at
either end?
A - Service Transport
B - XML Messaging
C - Service Description
D - Service Discovery
Q 26 - Which of the following layer in Web Service Protocol Stack is responsible for
describing the public interface to a specific web service?
A - Service Transport
B - XML Messaging
C - Service Description
D - Service Discovery
Q 27 - Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find
functionality?
A - Service Transport
B - XML Messaging
C - Service Description
D - Service Discovery
Q 28 - Which of the following is correct about Service Transport layer in Web Service
Protocol Stack?
B - Currently, this layer includes Hyper Text Transport Protocol HTTP, Simple Mail Transfer
Protocol SMTP, File Transfer Protocol FTP, and newer protocols such as Blocks Extensible
Exchange Protocol BEEP.
Q 29 - Which of the following is correct about XML Messaging layer in Web Service
Protocol Stack?
A - This layer is responsible for encoding messages in a common XML format so that messages
can be understood at either end.
A - This layer is responsible for describing the public interface to a specific web service.
B - Currently, service description is handled via the Web Service Description Language WSDL.
Q 31 - Which of the following is correct about Service Discovery layer in Web Service
Protocol Stack?
A - This layer is responsible for centralizing services into a common registry and providing easy
publish/find functionality.
B - Currently, service discovery is handled via Universal Description, Discovery, and Integration
UDDI.
B - HTTP is simple, stable, and widely deployed. Furthermore, most firewalls allow HTTP traffic.
B - BEEP is a new Internet Engineering Task Force IETF framework for building new protocols.
C - Both of the above.
A - BEEP is layered directly on TCP and includes a number of built-in features, including an initial
handshake protocol, authentication, security, and error handling.
B - Using BEEP, one can create new protocols for a variety of applications, including instant
messaging, file transfer, content syndication, and network management.
B - XML-RPC is platform-independent.
B - XML-RPC is platform-independent.
A - true
B - false
A - WSDL is an XML-based language for describing web services and how to access them.
C - WSDL is an XML based protocol for information exchange in decentralized and distributed
environments.
B - WSDL definition describes how to access a web service and what operations it will perform.
ANSWER SHEET
1 D
2 D
3 C
4 D
5 D
6 A
7 B
8 C
9 D
10 C
11 D
12 D
13 D
14 D
15 D
16 C
17 C
18 D
19 D
20 A
21 B
22 C
23 D
24 A
25 B
26 C
27 D
28 C
29 C
30 C
31 C
32 B
33 D
34 B
35 C
36 C
37 C
38 A
39 B
40 D
41 C
42 C
43 D
44 D
45 C
46 C
47 A
48 A
49 D
50 D
Loading [MathJax]/jax/output/HTML-CSS/jax.js