nerdexam
Microsoft

70-339 · Question #85

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h

The correct answer is B. No. Start-SPDiagnosticsSession initiates a temporary diagnostics capture session and does not permanently alter the Windows event log severity threshold.

Install and configure SharePoint

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are the SharePoint administrator for a company. The SharePoint environment is causing excessive information to be recorded in the diagnostic logs. You need to configure the SharePoint farm to only write events to the Windows event log that are equal to or more severe than the Error level. You run the following Windows PowerShell command:

Start-SPDiagnosticsSession -TraceLevel High Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(43 responses)
  • A
    30% (13)
  • B
    70% (30)

Why each option

Start-SPDiagnosticsSession initiates a temporary diagnostics capture session and does not permanently alter the Windows event log severity threshold.

AYes

Start-SPDiagnosticsSession only starts a temporary diagnostics session and cannot modify permanent Windows event log severity settings, so answering Yes is incorrect.

BNoCorrect

Start-SPDiagnosticsSession is designed to begin a short-lived, scoped diagnostics collection session - not to persistently configure what events are written to the Windows event log. It has no parameter to set a minimum event severity for the Windows event log, so running this command does not meet the requirement to restrict event log entries to Error level and above.

Concept tested: Difference between SharePoint diagnostics session and persistent log configuration

Source: https://learn.microsoft.com/en-us/powershell/module/sharepoint-server/start-spdiagnosticssession

Topics

#diagnostic logging#ULS logs#log throttle#logging configuration

Community Discussion

No community discussion yet for this question.

Full 70-339 Practice