nerdexam
GIAC

GSSP-.NET · Question #267

(Topic 2) Ryan works as a Software Developer for Mansoft Inc. He creates an ASP.NET Web application named MyWebApplication using Visual Studio .NET 2005. MyWebApplication performs validation on XML…

The correct answer is A. The EventLog.Source property B. The EventLog.WriteEntry method. Topic 3, Volume C

Database & Application Auditing

Question

  • (Topic 2)

Ryan works as a Software Developer for Mansoft Inc. He creates an ASP.NET Web application named MyWebApplication using Visual Studio .NET 2005. MyWebApplication performs validation on XML files in a directory. Whenever a new XML file appears in the directory, MyWebApplication opens the file, checks it for validation, and updates it accordingly. Ryan wants to ensure that each update performed on XML files is logged in the Web application log. He creates a String object named Var1, to store the message to be logged. Which of the following will he use to accomplish the task? Each correct answer represents a part of the solution. Choose two.

Options

  • AThe EventLog.Source property
  • BThe EventLog.WriteEntry method
  • CThe Trace.WriteLine method
  • DThe EventLog.EventLogSource property

How the community answered

(31 responses)
  • A
    84% (26)
  • C
    10% (3)
  • D
    6% (2)

Explanation

Topic 3, Volume C

Topics

#ASP.NET#EventLog#application logging#Trace

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice