GSSP-NET · Question #63
You work as a Software Developer for ABC Inc. You develop a multi-threaded application named MyMultThreadApp using Visual Studio .NET. The application logs all warning and informational messages in…
The correct answer is A. An exclusive lock should be obtained on the log to avoid race conditions. B. Each shared component should be thread-safe when interacting with an event log. C. The System.Threading namespace should be used to record the identity of each thread for. GIAC GSSP-.NET Exam
Question
You work as a Software Developer for ABC Inc. You develop a multi-threaded application named MyMultThreadApp using Visual Studio .NET. The application logs all warning and informational messages in an event log that keeps track of significant events when the application is running. The event log records information that might be useful for troubleshooting or performance analysis. Which of the following are the considerations that you must keep in mind when logging events with multithreaded components? Each correct answer represents a complete solution. Choose three.
Options
- AAn exclusive lock should be obtained on the log to avoid race conditions.
- BEach shared component should be thread-safe when interacting with an event log.
- CThe System.Threading namespace should be used to record the identity of each thread for
- DThe Debug and Trace classes should be used to log events.
How the community answered
(35 responses)- A77% (27)
- D23% (8)
Explanation
GIAC GSSP-.NET Exam
Topics
Community Discussion
No community discussion yet for this question.