单项选择题
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 develop a Windows Communication Foundation (WCF) service. You name the service MovieService in the Movie namespace. The service is hosted in Microsoft Internet Information Services (IIS). You copy the assembly containing the service to the bin folder in the virtual directory path.You need to set up the URI that is mapped to the service. What should you do?()
A.
B.
C.
D. -
单项选择题
You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.) 01 [ServiceContract(SessionMode = SessionMode.Allowed)] 02 public interface ICatchAll 03 { 04 [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")] 05 Message ProcessMessage(Message message); 06 } 07 08 public class CatchAllService : ICatchAll 09 { 10 public Message ProcessMessage(Message message) 11 { 12 13 ... 14 return returnMsg; 15 } 16 }You need to ensure that two identical copies of the received message are created in the service. Which code segment should you insert at line 12?()
A.
B.
C.
D. -
单项选择题
You are developing a Windows Communication Foundation (WCF) service. One of the parameters used with the service operations is a security token. The security token is not sensitive. The monitoring software tracks security tokens and can read tokens in clear text only.The company security policy requires that you validate all clear text data passed over the corporate network.You need to ensure that the service verifies that the security token is not changed during transit. What should you do?()
A. For all the security-sensitive members, set the ProtectionLevel parameter of the MessageBodyMember or MessageHeader attribute to EncryptAndSign.
B. Implement IEndpointldentityProvider in the message contract class.
C. Implement ISecureConversationSession in the message contract class.
D. For all the security-sensitive members, set the ProtectionLevel parameter of the MessageBodyMember or MessageHeader attribute to Sign.
