Home » Microsoft » 70-518 » What will you do?
You are creating a Windows application using .NET Framework 4.0. All employees of the company will use that application. The local file of the application is stored on the local computers. The file is secure and cannot be accessed from remote places.
You are required to design a remote monitoring strategy to monitor the usage time of the application by each user.
What will you do? Each correct answer represents a part of the solution. Choose two.
A. Publish the events to Windows Event Log.
B. Publish the events to Microsoft Operations Manager.
C. Publish the application’s startup, shutdown, and user idle time events by using the System Management Instrumentation namespace.
D. Use Windows Management Instrumentation.
E. Add TraceSource for startup, shutdown, and user idle events.
Correct Answer: BC
Explanation/Reference:
Explanation:
. A is incorrect.
Windows Event Log is the rewritten event tracing and logging architecture introduced with Windows Vista. Windows Event Log has been rewritten around a well-defined structured XML log-format. It is a designated log type to allow applications to more precisely log events and make it easier for support technicians and developers to interpret the events.
. D is incorrect.
Windows Management Instrumentation (WMI) is a set of extensions to the Windows Driver Model that provides an operating system interface through which instrumented components provide information and notification. WMI is Microsoft’s implementation of the Web-Based Enterprise Management (WBEM) and Common Information Model (CIM) standards from the Distributed Management Task Force (DMTF).
. E is incorrect.
The TraceSource class provides a set of properties and methods to enable applications to trace the execution of code and connect trace messages with their source. It provides tracing methods that enable a user to easily trace events, trace data, and issue informational traces. The Trace output from TraceSource can be controlled by configuration file settings. The TraceSource class defines tracing methods but does not essentially offer any specific means for generating and storing tracing data. The tracing data is created by trace listeners.