Remote users have limited connectivity.
Users will not have write permissions to the local file system.
You plan to design the error logging strategy for the application.
You need to ensure that the application can collect error information.
You also need to ensure that the errors can be analyzed from a centralized location.
What should you do?
A. Use the local log file
B. Use the Microsoft Sync Framework
C. Log the errors to a Web service
D. Log the errors to the Windows System event log
Correct Answer: D
Explanation/Reference:
If the user has limited connectivity and has not right to write in the file system, the log system is the opportunity.
Client-side events are typically logged in two ways:
¦¦ Distributed Events are stored on individual clients, which minimizes network traffic and allows events to be logged even if the connection to the server is lost.
However, administrators must connect to each computer to view events or use an event-forwarding technology to gather the distributed events.
¦¦ Centralized Events are stored on a central server. This simplifies monitoring important events but increases network traffic and load on the server.
While each approach has its own advantages, the ideal event-logging scenario provides a combination of both by logging events locally and then remotely collecting and analyzing them. In fact, if you use Event Logging, performance counters, and event tracing, Windows provides that capability with no additional coding required.
For example, Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 can log events to the local Event Log and then use Event Forwarding to copy events to a central server for analysis.