header1.html

Wednesday, 2 October 2013

WCF MCQs


WCF is framework used to implement SOAs.After some sample quizzes on WCF like
WCF SET-I
WCF SET-II
WCF SET-III
Here I am with some MCQs on WCF again for uncovered topics like Binding,Contracts.


1._________defines the parameters and return type of an operation.
A.Message contract
B.Data contract
C.Fault contract
D.Operation contract
Click for answer 

D.Operation contract.
2._________an endpoint exposed by the application and that corresponds to a service contract implemented by the application.
A.infrastructure endpoint
B.application endpoint
C.binding
D.None of above
Click for answer 

B.application endpoint
3.It is a procedure defined in a service's code that implements the functionality for an operation.
A.operation contract
B.hosting
C.service operation
D.None of these.
Click for answer 

C.service operation
4.___________ is service that runs within a process application that the developer created.
A.hosted service
B.self-hosted service
C.self service
D.Data service
Click for answer 

B.self-hosted service
5.A secure and interoperable binding that is designed for use with duplex service contracts that allows both services and clients to send and receive messages.
A.WSHttpBinding
B.WS2007HttpBinding
C.WSHttpContextBinding
D.WSDualHttpBinding
Click for answer 

D.WSDualHttpBinding
6.Represents an interoperable binding that supports distributed transactions and secure, reliable sessions.
A.NetTcpBinding
B.WSDualHttpBinding
C.WSHttpBinding
D.NetNamedPipeBinding
Click for answer 

C.WSHttpBinding
7.Represents a queued binding that is suitable for cross-machine communication.
A.NetMsmqBinding
B.WSHttpBinding
C.NetNamedPipeBinding
D.HttpPipeBinding
Click for answer 

A.NetMsmqBinding
8.Represents a binding that a Windows Communication Foundation (WCF) service can use to configure and expose endpoints that are able to communicate with ASMX-based Web services and clients.
A.BasicHttpBinding
B.WSHttpBinding
C.NetMsmqBinding
D.NetNamedPipeBinding
Click for answer 

A.BasicHttpBinding

No comments:

Post a Comment