You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.You need to ensure that the service will not cache the security request token. What should you do?()A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single.B. In the message security configuration, change clientCredentialType from lssuedToken to UserNameC. In the message security configuration, set establishSecurityContext to false.D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.

You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.You need to ensure that the service will not cache the security request token. What should you do?()

A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single.

B. In the message security configuration, change clientCredentialType from lssuedToken to UserName

C. In the message security configuration, set establishSecurityContext to false.

D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.


相关考题:

●Thebasic concept of a data (72) is the difference between data and information.(72) A.warehouseB.storageC.baseD.service

You are developing a Windows Communication Foundation (WCF) service.You need to enable security auditing for all events.What should you do?() A. Set the serviceAuthorizationAuditLevel setting to Success and the messageAuthenticationAuditLevel setting to Success.B. Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation setting to Application.C. Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the messageAuthenticationAuditLevel setting to SuccessAndFailure.D. Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the auditLogLocation setting to Security.

You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.What should you do in the Windows Service class?()A.B.C.D.

You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the CallbackHandler class, which implements IServiceCallback.You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.Which code segment should you use?()A.B.C.D.

You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a element defined. You need to ensure that all security audit information, trace logging, and message logging failures are recorded.Which configuration segment should you add to the element?()A.B.C.D.

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.

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. NetTcpContextBindingB. BasicHttpContextBindingC. NetTcpBindingD. NetMsmqBinding

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.

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.

The basic concept of a data(72)is the difference between data and information.A.warehouseB.storageC.baseD.service