WCF MCQ Questions

WCF MCQ Questions

  • Satyam Jaiswal
  • 25th Nov, 2021

We are introducing here the best WCF MCQ Questions, which are very popular & asked various times. This Quiz contains the best 25+ WCF MCQ with Answers, which cover the important topics of WCF (Windows Communication Foundation). for which, you can perform best in WCF Exams, Interviews, and Placement activities.

WCF MCQ Questions

1) WCF services can communicate with __________.

  • A. Visual Studio .NET
  • B.programming languages
  • C.Multiple platforms and multiple languages
  • D.XML

2) In wcf message contract can be applied to _________.

  • A. type using MessageContract attribute
  • B.type using Contract attribute
  • C.type using Message attribute
  • D.None of the above

3) WCF stands for ___________.

  • A. Windows Common Framework
  • B.Windows Communication Foundation
  • C.Windows Common Foundation
  • D.Windows Communication Framework

4) WCF is developed by ________.

  • A. Apple Inc.
  • B.Google
  • C.IBM
  • D.Microsoft Corporation

5) A service contract is ________.

  • A. not applicable to interface in wcf
  • B.applicable to interface in wcf
  • C.Both A and B
  • D.None of the above

6) IIS stands for ________.

  • A. Internet International Services
  • B.Internet Information Solution
  • C.Internet Information Services
  • D.Internet Indirect Services

7) which of the following is true regarding service operations and references to objects

  • A. Objects are passed as references
  • B.Objects must be serializable
  • C.You can’t pass parameters to service operations
  • D.You can’t pass parameters to service operations

8) Data that is in format _________ can pass through many firewalls that ________ cannot penetrate.

  • A. binary, text
  • B.text, binary
  • C.Soap wcf
  • D.None of the above

9) Which of the following statements is false about hosting?

  • A. Shared hosting is cheaper than dedicated hosting
  • B.Dedicated hosting is safer than shared hosting
  • C.Shared hosting is safer than dedicated hosting
  • D.None of the above

10) Which type of contract is applicable to interface in wcf?

  • A. Service Contract
  • B.Operation Contract
  • C.Both A and B
  • D.None of the above

11) WCF supports which transport schema?

  • A. MSMQ
  • B.HTTP
  • C.TCP
  • D.All of the above

12) A WCF service is exposed to the world as a collection of ________.

  • A. endpoints
  • B.startpoints
  • C.stoppoints
  • D.None of the above

13) WCF is a framework for building _________.

  • A. service-object applications
  • B.service-oriented applications
  • C.service-orignal applications
  • D.service-on applications

14) _______ are wcf binding types.

  • A. Basic Binding
  • B.Web Binding
  • C.TCP Binding
  • D.All of the above

15) SOAP stands for ________.

  • A. Subjective, Objective, Answer and Plan
  • B.Subjective, Oriented, Assessment and Plan
  • C.Subjective, Objective, Assessment and Plan
  • D.Subway, Objective, Assessment and Plan

16) What attribute is used to define a wcf service class?

  • A. Service Contract
  • B.Operation Contract
  • C.Application Contract
  • D.None of the above

17) WCF Applications came into the picture in . Net for creating Service oriented Applications.

  • A. Yes
  • B.No
  • C.May be
  • D.Can't say

18) Which one is not a class in WCF?

  • A. Client binding
  • B.Http Binding
  • C.Http Context Binding
  • D.None of the above

19) The features of WCF are __________.

  • A. Data contracts.
  • B.Durable messages
  • C.Service Metadata.
  • D.All of the above

20) What is Windows Communications Foundation HTTP Activation?

  • A. Wcf uses the listener adapter interface to communicate activation over the non-HTTP protocols.
  • B.Wcf uses the listener adapter interface to communicate activation over the HTTP protocols only.
  • C.Wcf uses .net to communicate activation over the non-HTTP protocols
  • D.None of the above

21) WCF exposes Service Meta Data using _________.

  • A. Service Meta Data
  • B.Mex Endpoint
  • C.Both A and B
  • D.None of the above

22) Which of the following is not true?

  • A. A WCF Service can be consumed by
  • B.A WCF Service can perform calculations
  • C.Web applications A WCF Service can be consumed by Windows applications
  • D.A WCF Service cannot return a dataset

23) Which contract is applicable to interface in WCF?

  • A. Service Contract
  • B.Operation Contract
  • C.Application Contract
  • D.Data Contract

24) ________ are the various ways of hosting a WCF Service.

  • A. Self Hosting
  • B.IIS
  • C.WAS
  • D.All of the above

25) The main components of WCF services are _________.

  • A. End point
  • B.service class
  • C.Hosting environment
  • D.All of the above

26) The main components of WCF services are _________.

  • A. End point
  • B.service class
  • C.Hosting environment
  • D.All of the above

27) Advantages of WCF are _______.

  • A. WCF provides interoperability between services.
  • B.WCF doesn't provides interoperability between services.
  • C.Small changes are not allowed
  • D.None of the above

28) WCF is a part of _______ .Net Framework.

  • A. 5.0 and above
  • B.3.0 and above
  • C.1.0
  • D.2.0

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

  • A. Yes
  • B.No
  • C.May be
  • D.Can't say

30) Which among the following is not a type of contract in wcf?

  • A. Service Contract
  • B.Operation Contract
  • C.Security Contract
  • D.None of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.