Microsoft Exam Questions

Which element should you add to the system.serviceModel section in the application configuration fil

You are moving a Windows Communication Foundation (WCF) service into production.
You need to be able to monitor the health of the service. You only want to enable all performance counter instances exposed by the ServiceModelService 4.0.0.0 counter group.
Which element should you add to the system.serviceModel section in the application configuration file?

A.
<diagnostics performanceCounters=”ServiceOnly” />

B.
<diagnostics wmiProviderEnabled=”true” performanceCounters=”Off” />

C.
<diagnostics performanceCounters=”All” />

D.
<diagnostics wmiProviderEnabled=”true” />