WCF/WCF MCQ Quiz Sample Test,Sample questions

Question:
 Which of the following is FALSE regarding the WSHttpBinding class?

1.Provides un-encrypted messages by default

2.Provides reliable messaging

3.Provides WS-Addressing

4.Provides transactions


Question:
A resource on the Web is uniquely identified by its URI, which means ______ .

1.Universal Registered Identifier

2.Uniform Resource Identifier

3.Universal Resource Identifier

4.Uniform Registered Identifier


Question:
A service contract is ________.

1.not applicable to interface in wcf

2.applicable to interface in wcf

3.Both A and B

4.None of the above


Question:
A WCF service is exposed to the world as a collection of ________.

1.endpoints

2.startpoints

3.stoppoints

4.None of the above


Question:
Advantages of WCF are _______.

1.WCF provides interoperability between services.

2.WCF doesn't provides interoperability between services.

3.Small changes are not allowed

4.None of the above


Question:
Data that is in format _________ can pass through many firewalls that ________ cannot penetrate.

1.binary, text

2.text, binary

3.Soap wcf

4.None of the above


Question:
Data that is in _______ format can pass through many firewalls that _______ cannot
penetrate.

1.binary, text

2.Soap wcf

3.text, binary

4.None of the above


Question:
IIS stands for ________.

1.Internet International Services

2.Internet Information Solution

3.Internet Information Services

4.Internet Indirect Services


Question:
In wcf message contract can be applied to _________.

1. type using MessageContract attribute

2.type using Contract attribute

3.type using Message attribute

4.None of the above


Question:
In WCF,you can customize the different elements of the architecture to enable connections with any kind of non-Windows clients.

1.Yes

2.No

3.May be

4.Can't say


Question:
SOAP stands for ________.

1.Subjective, Objective, Answer and Plan

2.Subjective, Oriented, Assessment and Plan

3.Subjective, Objective, Assessment and Plan

4.Subway, Objective, Assessment and Plan


Question:
The features of WCF are __________.

1.Data contracts.

2.Durable messages

3.Service Metadata.

4.All of the above


Question:
The main components of WCF services are _________.

1. End point

2.service class

3.Hosting environment

4.All of the above


Question:
The main components of WCF services are _________.

1. End point

2.service class

3.Hosting environment

4.All of the above


Question:
WCF Applications came into the picture in . Net for creating Service oriented Applications.

1.Yes

2.No

3.May be

4.Can't say


Question:
WCF binding supports legacy ASMX web service

1.BasicHttpBinding

2.WsHttpBinding

3.WebHttpBinding

4.None of the above


Question:
WCF exposes Service Meta Data using _________.

1.Service Meta Data

2.Mex Endpoint

3.Both A and B

4.None of the above


Question:
WCF is a framework for building _________.

1. service-object applications B.service-oriented applications

2.service-oriented applications

3.service-orignal applications

4.service-on applications


Question:
WCF is a part of .Net Framework

1.1.0

2.2.0

3.2.5

4.3.0 and above


Question:
WCF Mex endpoint uses which standard WCF contract -

1.IMexEndpoint

2.IMetaDataExchange

3.IMetaData

4.None of the above


Question:
WCF services can communicate with _______.

1.All programming languages

2.XML

3.Multiple platforms and multiple languages

4.Only the languages included with Visual Studio .NET


Question:
WCF services can communicate with __________.

1.Visual Studio .NET

2.programming languages

3.Multiple platforms and multiple languages

4.XML


Question:
WCF stands for
 

1.Windows Connection Framework

2.Windows Common Framework

3.Windows Communication Foundation

4.Windows Communication Framework


Question:
WCF supports which transport schema -

1.MSMQ

2.HTTP

3.TCP

4.All above is supported.


Question:
WCF supports which transport schema?

1.MSMQ

2.HTTP

3.TCP

4.All of the above


Question:
What attribute is used to define a wcf service class?

1. Service Contract

2.Operation Contract

3.Application Contract

4.None of the above


Question:
What is Windows Communications Foundation HTTP Activation?

1.Wcf uses the listener adapter interface to communicate activation over the non-HTTP protocols.

2.Wcf uses the listener adapter interface to communicate activation over the HTTP protocols only.

3.Wcf uses .net to communicate activation over the non-HTTP protocols

4.None of the above


Question:
Which among the following is not a type of contract in wcf?

1.Service Contract

2.Operation Contract

3.Security Contract

4.None of the above


Question:
Which attribute is used to decorate enum variables to be a part of datacontract?

1.EnumElement

2.EnumMember

3.EnumVariable

4.DataMember


Question:
Which attribute is used to define a service class in WCF?

1.Service

2.WCFService

3. ServiceContract

4.None of the above


Question:
Which contract is applicable to interface in WCF?

1.Service Contract

2.Operation Contract

3.Application Contract

4.Data Contract


Question:
Which hosting mechanism is supported by WCF?

1.Self Hosting

2.WAS (Windows Activation Service)

3.IIS

4.All of the above is supported.


Question:
Which is not the correct contract supported by WCF?

1.MessageContrac

2.FaultContract

3.SecurityContract

4.All of these


Question:
Which of the following is NOT true?

1.A WCF Service can be consumed by Web applications

2.A WCF Service can be consumed by Windows applications

3.A WCF Service cannot return a dataset

4.A WCF Service can perform calculations


Question:
Which of the following is not true?

1. A WCF Service can be consumed by

2.A WCF Service can perform calculations

3.Web applications A WCF Service can be consumed by Windows applications

4.A WCF Service cannot return a dataset


Question:
which of the following is true regarding service operations and references to objects

1. Objects are passed as references

2.Objects must be serializable

3.You can’t pass parameters to service operations

4.You can’t pass parameters to service operations


Question:
Which of the following statements are true?

1.The data contract names are case-sensitive

2.The data member names are case-sensitive

3.Both a and b

4.None


Question:
Which of the following statements is false about hosting?

1. Shared hosting is cheaper than dedicated hosting

2.Dedicated hosting is safer than shared hosting

3.Shared hosting is safer than dedicated hosting

4.None of the above


Question:
Which one is not a class in WCF?

1.Client binding

2.Http Binding

3.Http Context Binding

4.None of the above


Question:
Which one is not a class in WCF?

1.BasicHttpBinding

2.BasicHttpContextBinding

3.BasicHttpsBinding

4.ClientBinding


Question:
Which type of contract is applicable to interface in wcf?

1.Service Contract

2.Operation Contract

3.Both A and B

4.None of the above


Question:
Which WCF binding does not use port in there address scheme -

1.netTcp

2.BasicHttp

3.netNamed

4.None of the above


Question:
_______ are wcf binding types.

1. Basic Binding

2.Web Binding

3.TCP Binding

4.All of the above


Question:
________ are the various ways of hosting a WCF Service.

1.Self Hosting

2.IIS

3.WAS

4.All of the above


More MCQS

  1. WCF Mcq Question Set 1
  2. WCF MCQ Quiz
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!