A Windows Communication Foundation (WCF) client uses the following service contract.(Line numbers are included for reference only.)01 [ServiceContract]02 public interface IService03 {04 [OperationContract]05 string Operation1();06 [OperationContract]07 st

题目

A Windows Communication Foundation (WCF) client uses the following service contract.(Line numbers are included for reference only.)01 [ServiceContract]02 public interface IService03 {04 [OperationContract]05 string Operation1();06 [OperationContract]07 string Operation2();08 }You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed. What should you do?()

A. Set the ProtectionLevel property in line 01 to EncryptAndSign.

B. Set the ProtectionLevel property in line 04 and line 06 to Sign.

C. Add a SecurityCriticalAttribute ror each operation.

D. Add a SecunitySafeCriticalAttribute for each operation.


相似考题
更多“A Windows Communication Foundation (WCF) client uses the following service contract.(Line ”相关问题
  • 第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题:

    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

  • 第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题:

    ( )has become a fact of modern life,with millions of people now shopping on-line.

    A.E-mail
    B.E-commerce
    C.E-learning
    D.E-communication

    答案:B
    解析:
    电子商务已经成为现代生活中的显示,现在已有数百万人在线购物。