微软认证考试

You are debugging a Windows Communication Foundation (WCF) service. The service uses signed and encrypted messages.You need to configure logging so that you can read the contents of the messages. What should you do?()A、Set maxSizeMessagesToLog to 10B、Set

题目

You are debugging a Windows Communication Foundation (WCF) service. The service uses signed and encrypted messages.You need to configure logging so that you can read the contents of the messages. What should you do?()

  • A、Set maxSizeMessagesToLog to 10
  • B、Set logMessageAtServiceLevel to true.
  • C、Set maxMessagesToLog to 10.
  • D、Set logMessageAtTransportLevel to true.
参考答案和解析
正确答案:B
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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.


参考答案:C

第2题:

You are debugging a Windows Communication Foundation (WCF) service. The service uses signed and encrypted messages.You need to configure logging so that you can read the contents of the messages.What should you do?()

A. Set maxSizeMessagesToLog to 10

B. Set logMessageAtServiceLevel to true.

C. Set maxMessagesToLog to 10.

D. Set logMessageAtTransportLevel to true.


参考答案:B

第3题:

You are developing a Windows Communication Foundation (WCF) service. You enable logging in the configuration file.The opening tag is defined as follows.<messagelogging br="" logentiremessage="true"> logMalformedMessages="true"logMessagesAtServiceLevel="true"logMessagesAtTransportLevel="true"maxMessagesToLog="20">You need to ensure that logging is implemented so that only messages with SOAP headers are logged.What should you add to the filters element of the application configuration file?()

A.

B.

C.

D.


参考答案:C

第4题:

A Windows Communication Foundation (WCF) service only accepts messages that are signed and encrypted. A client application is not receiving expected responses from the service. You need to enable logging to verify that the messages from the client are signed and encrypted. You also need to see what each message looks like before the message body is deserialized into a NET object. What should you do?()

A.

B.

C.

D.


参考答案:C

第5题:

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.


参考答案:C

第6题:

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.


参考答案:B

第7题:

A Windows Communication Foundation (WCF) service is hosted in Microsoft Internet Information Services (IIS). You are preparing the configuration file for production deployment. You need to set up tracing so that an administrator can adjust the System.ServiceModel trace level without causing the ASP.NET host application domain to restart. You need to ensure that tracing is turned off by default.What should you do?()

A.

B.

C.

D.


参考答案:A

第8题:

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.


参考答案:C

第9题:

Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMsmqBinding. You find that processing every order in its own transaction is causing a delay. You need to ensure that the service is configured to process multiple orders in one transaction. What should you do? ()

A. Useservice behavior and set the maxConcurrentCalls attribute.

B. Useendpoint behavior and set the maxBatchSize attribute.

C. Useendpoint behavior and set the maxPendingReceives attribute.

D. Useendpoint behavior.


参考答案:B

第10题:

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

更多相关问题