You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency.The agency adds operations to support sending biometric fingerprint data via non-buffered streaming.The service data is routed between

题目

You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency.The agency adds operations to support sending biometric fingerprint data via non-buffered streaming.The service data is routed between intermediaries. The WCF binding you are using by default does not support encryption.You need to ensure that the fingerprint data is not disclosed when passed over the network. What should you do?()

A. Use basicHttpBinding with message security to https://www.contoso.com

B. Use basicHttpBinding with transport security to https://www.contoso.com

C. Use wsHttpBinding with message security to https://www.contoso.com

D. Use wsHttpBinding with transport security to http://www.contoso.com


相似考题
更多“You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com ”相关问题
  • 第1题:

    You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.Which code segment should you use?()

    A.

    B.

    C.

    D.


    参考答案:D

  • 第2题:

    You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:D

  • 第3题:

    A Windows Communication Foundation (WCF) service listens for messages at net.tcp://www.contoso.com/MyService.It has a logical address at http://www.contoso.com/MyService. The configuration for the WCF client is as follows:The generated configuration does not provide enough information for the client to communicate with the server.You need to update the client so that it can communicate with the server. What should you do?()

    A. In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService

    B. In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService listen=http://www.contoso.com/MyService.

    C. After instantiating the client and before invoking any service operation, add this line of code. EndpointBehaviors.Add(new EndpointDiscoveryBehavior(){ Enabled = true });

    D. After instantiating the client and before invoking any service operation, add this line of code. client.Endpoint.Behaviors.Add(new ClientViaBehavior(new Uri("net.tcp://www.contoso.com/IMyService")));


    参考答案:D

  • 第4题:

    You are creating a Windows Communication Foundation (WCF) service. You need to ensure that the service is compatible with ASP.NET to make use of the session state. Which binding should you use?()

    A. NetTcpContextBinding

    B. BasicHttpContextBinding

    C. NetTcpBinding

    D. NetMsmqBinding


    参考答案:B

  • 第5题:

    You have a secured Windows Communication Foundation (WCF) service. You need to track unsuccessful attempts to access the service. What should you do?()

    A. Set the authorization Manager Type attribute of the service Authorization behavior to Message.

    B. Set the include Exception Detailsln Faults attribute of the service Debug behavior to true.

    C. Set the Mode attribute of the security configuration element to Message.

    D. Set the message Authentication AuditLevel attribute of the service Security Audit behavior to Failure.


    参考答案:D

  • 第6题:

    You are developing a data contract for a Windows Communication Foundation (WCF) service. The data in the data contract must participate in round trips. Strict schema validity is not required. You need to ensure that the contract is forward-compatible and allows new data members to be added to it. Which interface should you implement in the data contract class?()

    A.ICommunicationObject

    B.IExtension

    C.IExtensibleObject

    D.IExtensibleDataObject


    参考答案:D