header1.html

Wednesday 1 May 2013

WCF MCQs Quiz-2


WCF Quiz-2
1.Which of the following contract define the return type of operation?
Data
Service
Operation
Message


2.An WCF service is exposed to the world as a collection of_______ .
messages
endpoints
services
None of these


3.Which one is not a class in WCF?
BasicHttpBinding
BasicHttpContextBinding
BasicHttpsBinding
None of above


4.A _______ is a formal agreement between a service and a client that abstractly describes the data to be exchanged.
service contract
data contract
message contract
operation contract


5.______node defines settings for service endpoint, address, bindings and contract.
<Appsettings>
<system.serviceModel>
<services>
None of above


6.______ binding provides secure and reliable binding environment for .Net to .Net cross machine communication.
BasicHttpBinding
WSHttpBinding
NetTcpBinding
WSDualHttpBinding


7.______ binding provides secure binding for peer-to-peer environment and network applications.
NetPeerTcpBinding
NetTcpBinding
BasicHttpBinding
WSDualHttpBinding


8.During runtime of service________ controls how many messages are processed.
Error Behavior
Throttling Behavior
Metadata Behavior
Dispatch Behavior


9.During runtime of service Transaction Behavior enables the rollback of transacted operations if a failure occurs.
True
False


10.During runtime of service Dispatch Behavior controls how a message is processed by the WCF Infrastructure.
True
False

No comments:

Post a Comment