You are developing an application by using Microsoft .NET Framework 4. The application
will be used by all employees of your company. Local file stores on the computers are
secure and inaccessible remotely. You need to design a remote monitoring strategy to
monitor the usage time of the application by each user. What should you do?
A.
Create a TraceLog object by using the System.Diagnostics element in the application
configuration file. Add the TraceSource element for startup, shutdown, and user idle time
events.
B.
Use the System.Management.Instrumentation namespace to publish startup, shutdown,
and user idle time events of the application. Publish the events to Microsoft Operations
Manager.
C.
Create a TraceLog object and the Trace object by using the System.Diagnostics element
to trace startup, shutdown, and user idle time events throughout the application.
D.
Use the System.Management.Instrumentation namespace to issue event queries against
methods that pass ProgressEvent and StoppedEvent arguments. Publish the events to the
Event Log.
Explanation: