nerdexam
Microsoft

70-518 · Question #19

70-518 Question #19: Real Exam Question with Answer & Explanation

The correct answer is A. Trace. See the full explanation below for the reasoning.

Question

You are developing a Windows application by using Microsoft .NET Framework 4. You plan to design a diagnostic logging strategy that will be used in a production environment. You need to ensure that the strategy meets the following requirements: - Enables or disables diagnostic messages by using an application configuration option. - Changes the level of detail in the diagnostic messages without recompiling the application. Which class should you use?

Options

  • ATrace
  • BDebug
  • CContract
  • DEventLog

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice