Microsoft Exam Questions

Which two actions should you perform?

You are an enterprise application developer. You are designing an event logging mechanism for a multi-tiered application. You need to ensure that the event logging mechanism meets the following requirements:
* Event data is available for at least three years.
* Event data is accessible through a central location.
* Access to event data is controlled for different types of events and users.
* The development effort is minimized.

Which two actions should you perform? (Each answer presents part of the solution. Choose two.)

A.
Use a custom class to log events.

B.
Use the Trace class to log events.

C.
Use the Debug class to log events.

D.
Use a custom TraceListener object to write data to a database.

E.
Use the EventLogTraceListener object to write data to the application Event Log file.

F.
Use the TextWriterEventListener object to write data to a text file in a central server.