header1.html

Wednesday, 1 May 2013

WCF MCQs Quiz-3


WCF Quiz-3
1.WCF provides the option to handle and convey the error message to client from service using _______.
try...catch
SOAP Fault contract
Data contract
None of these


2. MEP stands for:
Microsoft enterprise presentation
Message embedded Program
Message Exchange Pattern
None of these


3.In which of the following MEP we cannot use FaultContract?
Request / Response
Oneway
Duplex
None of above


4.Which of the following MEP requires CallbackContract?
Request / Response
Oneway
Duplex
None of above


5.Which of the following MEP is used in most cases,as some kind of acknowledgment is required?
Request / Response
Oneway
Duplex
None of above


6. ________ is a mechanism for transmitting large binary attachments with SOAP messages as raw bytes, allowing for smaller messages.
MTOM
MEP
MTOP
None of these


7.Which binding represents an interoperable binding that supports distributed transactions and secure, reliable sessions?
WSHttpContextBinding
WSHttpBinding
WebHttpBinding
BasicHttpBinding


8.Callback service can be enabled by using CallbackContract property in the _________ attribute.
DataContract
ServiceContract
OperationContract
All of above


9.MessageHeaderArray Attribute is applicable only for Array, not for collection.True or False?
True
False


10.Streaming is also available with the Message Queuing (MSMQ) transport.True or False?
True
False