nerdexam
Microsoft

70-513 · Question #288

70-513 Question #288: Real Exam Question with Answer & Explanation

Sign in or unlock 70-513 to reveal the answer and full explanation for question #288. The question stem and answer options stay visible for context.

Question

A Windows Communication Foundation (WC9 service implements a contract with one-way and requestreply operations. The service is exposed over a TCP transport Clients use a router to communicate with the service. The router is impemented as follows. (Line numbers are included for reference only.) 01 Dim host As ServiceHost = 02 New ServiceHost(GetType(RoutingService)) 03 hostAddServiceEndpoint( 04 GetType(lSimplexDatagramRouter), 05 New NetTcpBinding0, "net.tcp://localhostlRouter" 06) 07 Dim lep As List(Of ServiceEndpoint) = 08 New List(Of SenviceEndpointx) 09 lepAdd( 10 New ServiceEndpoint( 11 CortractDescription.GetContract( 12 GetType(lSimplexDatagramRouter) 13)1 14 New NetTcpBinding0,x 15 New EndpointAddressf'nettcp://localhost:8080/Logger') 16) 17) 18 Dim rc As RoutingConfiguration = New RoutingConfiguration() 19 rc . FitterTable.Add(New Matctf4llMessageFilter0, lep) 20 host. Description. Behaviors.Add(New RoutingBehavior(rc)) Request- reply operations are failing. You need to ensure that the router can handle one-way and request-reply operations. What should you do?

Options

  • AChange line 04 as follows.
  • BChange line 04 as follows
  • CChange line 12 as follows
  • DChange line 12 as follows.

Unlock 70-513 to see the answer

You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-513 Practice