WCF.Net Online Test 1, Dot Net Question and Answers, .NET Quiz
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
WCF.Net Online Test 1, Dot Net Question and Answers, .NET Quiz. Practice Online FOR Dot Net Test and find out how much you score before you appear for your next Dot Net interview and written test. Free WCF Dot Net Quiz, Online WCF .Net, online Test Quiz 1. WCF Dot Net Online Test-1 Question and Answers. WCF Dot Net Online Test 1 Question and Answers in PDF. The WCF .Net online mock test paper is free for all students. WCF .Net Online Test is very useful for exam preparation and getting for Rank. WCF .Net Online Test-1 Question and Answers in English. WCF .Net Online Test for topic via String Handling Mode. Here we are providing WCF .Net Online Test in English Now Test your self for “WCF .Net Online Test in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The WCF .Net Online Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
Communication between computers across peer-to-peer services. Supports duplex contracts.
Which of the following?Correct
[B]NetTcpBinding [/B] – Communication between WCF applications across computers. Supports duplex contracts and transactions. [B]NetMsmqBinding [/B] – Communication between WCF applications by using queuing. Supports transactions. [B]WSHttpBinding [/B] – Web services with WS-* support. Supports transactions.
Incorrect
[B]NetTcpBinding [/B] – Communication between WCF applications across computers. Supports duplex contracts and transactions. [B]NetMsmqBinding [/B] – Communication between WCF applications by using queuing. Supports transactions. [B]WSHttpBinding [/B] – Web services with WS-* support. Supports transactions.
-
Question 2 of 20
2. Question
Consider we have a WCF Data Service as MyService. Which query of WCF Data Service helps to get the Item name ‘RNA Team’ from the list of all Employees Entity from MyService?
Correct
To obtain a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’). So the correct answer will be http://<uri>/MyService.svc/Employees('RNA Team’)
Incorrect
To obtain a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’). So the correct answer will be http://<uri>/MyService.svc/Employees('RNA Team’)
-
Question 3 of 20
3. Question
Consider we have a WCF Data Service as MyService. Which query of WCF Data Service helps to get the list of all Employees from MyService?
Correct
To obtain the EntitySetName in WCF Data Service, we must use Service/EntitySetName
Incorrect
To obtain the EntitySetName in WCF Data Service, we must use Service/EntitySetName
-
Question 4 of 20
4. Question
Consider we have a WCF Data Service as MyService.It has an entity say Employee that has 4 properties namely age, name, salary and gender.We want to display only name and gender property.How can we do that?
Correct
$select with a comma seperated list indicates the fields to be returned.
Incorrect
$select with a comma seperated list indicates the fields to be returned.
-
Question 5 of 20
5. Question
Consider we have a WCF Data Service as MyService.It has an entity say Employee that has 4 properties namely age, name, salary and gender.There are a total of 56 records being present in Employee entity. Our requirement is to fetch the records between 41 to 56.Also the records will be sorted by salary. Which of the below WCF Data Service Query will help to do that?
Correct
$skip indicates how many records to be ignore.
Incorrect
$skip indicates how many records to be ignore.
-
Question 6 of 20
6. Question
Consider we have a WCF Data Service as MyService.It has an entity say Employee that has 4 properties namely age, name, salary and gender. You need to form a WCF Data Service query that will fetch the top 3 records from the Employee entity sorted by salary.
Correct
[B]$orderby[/B] defines the sort order to be use in WCf Data service.It’s syntax is [CODE]Service/EntitySetName/$orderby=<Property1,Property2..PropertyN>[/CODE] [B]$top[/B] defines the number of records to be retrived from the Data Service.It’s syntax is [CODE]Service/EntitySetName/$top=<No of records>[/CODE] We can mix them both by using the syntax : [CODE]Service/EntitySetName/$orderby=<Property1..PropertyN>&$top=<No of records>[/CODE]
Incorrect
[B]$orderby[/B] defines the sort order to be use in WCf Data service.It’s syntax is [CODE]Service/EntitySetName/$orderby=<Property1,Property2..PropertyN>[/CODE] [B]$top[/B] defines the number of records to be retrived from the Data Service.It’s syntax is [CODE]Service/EntitySetName/$top=<No of records>[/CODE] We can mix them both by using the syntax : [CODE]Service/EntitySetName/$orderby=<Property1..PropertyN>&$top=<No of records>[/CODE]
-
Question 7 of 20
7. Question
Consider we have a WCF Data Service as MyService.It has an entity say Employee that has 4 properties namely age, name, salary and gender. You need to form a WCF Data Service query that will fetch the records from the Employee entity sorted by age and salary.
Correct
$orderby defines the sort order to be use in WCf Data service.It’s syntax is [CODE]Service/EntitySetName/$orderby=
[/CODE] Incorrect
$orderby defines the sort order to be use in WCf Data service.It’s syntax is [CODE]Service/EntitySetName/$orderby=
[/CODE] -
Question 8 of 20
8. Question
Consider we have a WCF Data Service as MyService. Which query of WCF Data Service helps to get the ‘Salary’ property of the Item name ‘Neo’ from the list of all Employees Entity from MyService?
Correct
To obtain a property of a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’)/PropertyName
Incorrect
To obtain a property of a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’)/PropertyName
-
Question 9 of 20
9. Question
Consider we have a WCF Data Service as MyService. Which query of WCF Data Service helps to get the Item name ‘Neo’ from the list of all Employees Entity from MyService?
Correct
To obtain a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’)
Incorrect
To obtain a specific instance of the Entity in WCF Data Service, we must use Service/EntitySetName(‘InstanceName’)
-
Question 10 of 20
10. Question
Consider we have a WCF Data Service as MyService. Which query of WCF Data Service helps to get the list of all Employees from MyService?
Correct
To obtain the EntitySetName in WCF Data Service, we must use Service/EntitySetName
Incorrect
To obtain the EntitySetName in WCF Data Service, we must use Service/EntitySetName
-
Question 11 of 20
11. Question
How will you consume a WCF Sevice without creating a proxy.
Correct
Using [B]ChannelFactory[/B] an client can consume a WCF Service without creating a proxy class.
Incorrect
Using [B]ChannelFactory[/B] an client can consume a WCF Service without creating a proxy class.
-
Question 12 of 20
12. Question
Which statement(s) is/are correct about WCF?
Correct
Above all statements are correct about WCF.As it supports HTTP,TCP,Named Pipes and so on.and also it has OperationContract attribute to create Interface and DataContract attribute to create Classes in WCF.
Incorrect
Above all statements are correct about WCF.As it supports HTTP,TCP,Named Pipes and so on.and also it has OperationContract attribute to create Interface and DataContract attribute to create Classes in WCF.
-
Question 13 of 20
13. Question
Which of the following type of encoding is used in WCF?
Correct
Text,Binary and MTOM are the three types of encoding techniques used in WCF. For effective transmission, MTOM(Message Transmission Optimization Mechanism) is used and it will allows the larger messages of greater than 64kb.
Incorrect
Text,Binary and MTOM are the three types of encoding techniques used in WCF. For effective transmission, MTOM(Message Transmission Optimization Mechanism) is used and it will allows the larger messages of greater than 64kb.
-
Question 14 of 20
14. Question
Which of the following is the End point component of WCF?
Correct
Address, Binding and Contract are the three components of End point. Hence sometimes WCF is called as ABC.the term ‘ABC’ represents Address, Binding and Contract.
Incorrect
Address, Binding and Contract are the three components of End point. Hence sometimes WCF is called as ABC.the term ‘ABC’ represents Address, Binding and Contract.
-
Question 15 of 20
15. Question
In WCF, the namespaces used for serialization is?
Correct
‘System.Runtime.Serialization’ is the WCF namespace used for serialization where as, ‘System.Xml.Serialization’ is used for Web Services.
Incorrect
‘System.Runtime.Serialization’ is the WCF namespace used for serialization where as, ‘System.Xml.Serialization’ is used for Web Services.
-
Question 16 of 20
16. Question
In WCF, which of the following functionalities doesn’t not supported by BasicHttpBinding?
Correct
‘BasicHttpBinding’ doesn’t supports Addressing, Security and ReliableMessaging of WS and doesn’t supports WS functionalities.
Incorrect
‘BasicHttpBinding’ doesn’t supports Addressing, Security and ReliableMessaging of WS and doesn’t supports WS functionalities.
-
Question 17 of 20
17. Question
In WCF, the mode of security by default in BasicHttpBinding is?
Correct
In BasicHttpBinding, the security is disabled by default. BasicHttpSecurityMode is used to specify which type of security in BasicHttpBinding.
Incorrect
In BasicHttpBinding, the security is disabled by default. BasicHttpSecurityMode is used to specify which type of security in BasicHttpBinding.
-
Question 18 of 20
18. Question
In WCF, the operation contract in which client will be able to send request to the server but he is not able to get reply is ?
Correct
one way contract is the operation contract that works in one way operation mode. Simply say it is the one way communication in which client is able to send requests to the server but he doesn’t gets any reply from the server.
Incorrect
one way contract is the operation contract that works in one way operation mode. Simply say it is the one way communication in which client is able to send requests to the server but he doesn’t gets any reply from the server.
-
Question 19 of 20
19. Question
What is the WCF service used for the communication of computers across point to point services ?
Correct
NetPeerTcpBinding is used for communicating computers across peer-to-peer (or) point-to-point services. Duplex contracts and transactions are also supported by NetPeerTcpBinding.
Incorrect
NetPeerTcpBinding is used for communicating computers across peer-to-peer (or) point-to-point services. Duplex contracts and transactions are also supported by NetPeerTcpBinding.
-
Question 20 of 20
20. Question
WCF Binding to communicate directly with the MSMQ applications is ?
Correct
MsmqIntegrationBinding will communicate directly with any MSMQ application. It also supports transaction.
Incorrect
MsmqIntegrationBinding will communicate directly with any MSMQ application. It also supports transaction.