0% found this document useful (0 votes)
144 views

Web Services Mock Test

This document provides a mock test with 25 multiple choice questions to test knowledge of web services. It includes questions about the basic concepts of web services, components of the web services architecture like SOAP, WSDL, UDDI, roles in the architecture like service providers and requestors, layers in the web services protocol stack, and benefits of web services. An answer key is provided at the end to check responses.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views

Web Services Mock Test

This document provides a mock test with 25 multiple choice questions to test knowledge of web services. It includes questions about the basic concepts of web services, components of the web services architecture like SOAP, WSDL, UDDI, roles in the architecture like service providers and requestors, layers in the web services protocol stack, and benefits of web services. An answer key is provided at the end to check responses.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

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 verif y the final score and grade yourself .

Mock Test I

Mock Test II

Mock Test III

Mock Test IV

Web Services Mock Test I

Q 1 - Which of t he following is t rue about Web services?

A - Web services are open standard (XML, SOAP, HTTP etc.) based Web applications.

B - Web services interact with other web applications f or the purpose of exchanging data.

C - Web Services can convert your existing applications into Web- applications.
D - All of the above.

Q 2 - Which of t he following is t rue about Web service?

A - It is available over the Internet or private (intranet) networks.

B - It uses a standardized XML messaging system.

C - It is not tied to any one operating system or programming language.

D - All of the above.

Q 3 - Which of t he following is t rue about Web service?

A - It is self - describing via a common XML grammar.

B - It is discoverable via a simple find mechanism.

C - Both of the above.

D - None of the above.

Q 4 - Which of t he following is t rue about Web service?

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 f rom 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 f rom your web

application that is based on JavaServer Pages (JSP) and runs on Linux.

D - All of the above.

Q 5 - Which of t he following is a component s of a Web Service archit ect ure?


A - SOAP

B - UDDI

C - WSDL

D - All of the above.

Q 6 - What is t he purpose of XML in a web service?

A - A web services takes the help of XML to tag the data, f ormat the data.

B - A web service takes the help of XML to transf er a message.

C - A web service takes the help of XML to describe the availability of service.

D - None of the above.

Q 7 - What is t he purpose of SOAP in a web service?

A - A web services takes the help of SOAP to tag the data, f ormat the data.

B - A web service takes the help of SOAP to transf er a message.

C - A web service takes the help of SOAP to describe the availability of service.

D - None of the above.

Q 8 - What is t he purpose of WSDL in a web service?

A - A web services takes the help of WSDL to tag the data, f ormat the data.

B - A web service takes the help of WSDL to transf er a message.

C - A web service takes the help of WSDL to describe the availability of service.

D - None of the above.


Q 9 - Which of t he following is a benefit of using a web service?

A - Web services allows you to expose the f unctionality of your existing code over the network. Once it

is exposed on the network, other application can use the f unctionality 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 f or the communication.

D - All of the above.

Q 10 - Which of t he following is a benefit of using a web service?

A - Web services use SOAP over HTTP protocol, so you can use your existing low- cost internet f or

implementing web services.

B - All the f our layers (Service Transport, XML Messaging, Service Description, and Service Discovery

layers) use well- defined protocols in the web services protocol stack.

C - Both of the above.

D - None of the above.

Q 11 - Which of t he following is correct ly defining web service int eroperabilit y?

A - Web services allow various applications to talk to each other and share data and services among

themselves.

B - Other applications can also use the web services.

C - Web services are used to make the application platf orm and technology independent.

D - All of the above.

Q 12 - Which of t he following is correct ly defining loosely coupled archit ect ure of web service?
A - A consumer of a web service is not tied to that web service directly.

B - The web service interf ace can change over time without compromising the client's ability to interact

with the service.

C - Adopting a loosely coupled architecture tends to make sof tware systems more manageable and

allows simpler integration between dif f erent systems.

D - All of the above.

Q 13 - Which of t he following is t rue about Web Services RPC?

A - Web services allow clients to invoke procedures, f unctions, 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.

D - All of the above.

Q 14 - Which of t he following is t rue about behavioral charact erist ics of web services?

A - Web Services uses XML at data representation and data transportation layers.

B - A consumer of a web service is not tied to that web service directly.

C - Businesses and the interf aces 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.

D - All of the above.


Q 15 - Which of t he following is t rue about behavioral charact erist ics of web services?

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.

C - Web services support the transparent exchange of documents to f acilitate business integration.

D - All of the above.

Q 16 - Which of t he following is t he benefit s of having XML based WEB services?

A - Using XML eliminates any networking, operating system, or platf orm binding.

B - Web Services based applications are highly interoperable application at their core level.

C - Both of the above

D - None of the above.

Q 17 - Which of t he following is t he benefit s of Web services being loosely coupled?

A - The web service interf ace can change over time without compromising the client's ability to interact

with the service.

B - Adopting a loosely coupled architecture tends to make sof tware systems more manageable and

allows simpler integration between dif f erent systems.

C - Both of the above

D - None of the above.

Q 18 - Which of t he following is correct st at ement about Synchronicit y?


A - Synchronicity ref ers to the binding of the client to the execution of the service.

B - In synchronous invocations, the client blocks and waits f or the service to complete its operation

bef ore continuing.

C - Asynchronous operations allow a client to invoke a service and then execute other f unctions.

D - All of the above.

Q 19 - Which of t he following is not a core role in Web Service archit ect ure?

A - Service Provider

B - Service Requestor

C - Service Registry

D - Service Locator

Q 20 - Which of t he following role of web service archit ect ure implement s t he service and
makes it available on t he Int ernet ?

A - Service Provider

B - Service Requestor

C - Service Registry

D - None of the above.

Q 21 - Which of t he following role of web service archit ect ure ut ilizes an exist ing web service
by opening a net work connect ion and sending an XML request ?

A - Service Provider

B - Service Requestor

C - Service Registry
D - None of the above.

Q 22 - Which of t he following role of web service archit ect ure provides a cent ral place where
developers can publish new services or find exist ing ones?

A - Service Provider

B - Service Requestor

C - Service Registry

D - None of the above.

Q 23 - Which of t he following is not a core layer in Web Service Prot ocol St ack?

A - Service Transport

B - XML Messaging

C - Service Description

D - Service Locator

Q 24 - Which of t he following layer in Web Service Prot ocol St ack is responsible for
t ransport ing messages bet ween applicat ions?

A - Service Transport

B - XML Messaging

C - Service Description

D - Service Discovery

Q 25 - Which of t he following layer in Web Service Prot ocol St ack is responsible for encoding
messages in a common XML format so t hat messages can be underst ood at eit her end?

A - Service Transport
B - XML Messaging

C - Service Description

D - Service Discovery
Question Number Answer Key

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
Download

You might also like