nerdexam
GIAC

GSSP-NET · Question #241

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are presently busy implementing a custom trace that GIAC GSSP-.NET…

The correct answer is B. Add the trace listener to the global Web.config file. C. Specify trace switches for every Web service in the Web.config file. See the full explanation below for the reasoning.

Question

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are presently busy implementing a custom trace that GIAC GSSP-.NET Exam logs errors and warnings in a MS SQL Server database. The implementation should allow different applications to decide whether errors or warnings should be logged at a specified time. You install the assembly that contains the trace listener in the GAC on an application server. You want to enable all Web services on the application server to utilize the trace listener by default. You need to ensure that the implementation does not force Microsoft Windows Forms applications that run on the server to utilize the trace listener. What will you do to accomplish this task? Each correct answer represents a part of the solution. Choose two.

Options

  • AAdd the trace listener to the Web.config file for every Web service.
  • BAdd the trace listener to the global Web.config file.
  • CSpecify trace switches for every Web service in the Web.config file.
  • DAdd the trace listener to the machine.config file.
  • ESpecify trace switches in the machine.config file.

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    72% (18)
  • D
    8% (2)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice