nerdexam
Microsoft

70-339 · Question #48

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals…

The correct answer is B. No. Set-SPLogLevel configures the verbosity of SharePoint trace and event logs, but it does not actively monitor the environment or surface health data.

Implement business continuity

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. Determine whether the solution meets the stated goals. You need to monitor the environment. You run the following Windows PowerShell cmdlet:

Set-SP Log Level Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    91% (32)

Why each option

Set-SPLogLevel configures the verbosity of SharePoint trace and event logs, but it does not actively monitor the environment or surface health data.

AYes

The cmdlet does not monitor the environment; it only controls what level of detail is written to logs, making it a logging configuration tool, not a monitoring solution.

BNoCorrect

Set-SPLogLevel is a configuration cmdlet that adjusts the severity thresholds for ULS trace logs and Windows Event Log entries - it does not collect, aggregate, or report on environmental health. To monitor a SharePoint environment, administrators should use cmdlets like Get-SPDiagnosticConfig, the Health Analyzer, or a dedicated monitoring platform. Simply changing log verbosity does not constitute monitoring.

Concept tested: SharePoint ULS logging vs. environment monitoring

Source: https://learn.microsoft.com/en-us/powershell/module/sharepoint-server/set-sploglevel

Topics

#PowerShell#ULS logging#SPLogLevel#diagnostic logging

Community Discussion

No community discussion yet for this question.

Full 70-339 Practice