nerdexam
Microsoft

70-339 · Question #87

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…

The correct answer is B. No. The Set-SPUsageService cmdlet manages the Usage and Health Data Collection service, not Windows event log severity thresholds. The solution does not meet the goal because the wrong cmdlet was used.

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:

Set-SPUsageService -LoggingEnabled $true Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(36 responses)
  • A
    22% (8)
  • B
    78% (28)

Why each option

The Set-SPUsageService cmdlet manages the Usage and Health Data Collection service, not Windows event log severity thresholds. The solution does not meet the goal because the wrong cmdlet was used.

AYes

Choosing Yes is incorrect because Set-SPUsageService does not expose any parameter that filters Windows event log entries by severity level, so running it cannot satisfy the requirement.

BNoCorrect

Set-SPUsageService configures SharePoint usage data collection settings such as logging intervals and database targets - it has no parameters that control the Windows event log severity filter. To restrict Windows event log entries to Error level or above, the administrator must use Set-SPDiagnosticConfig with the -EventSeverity Error parameter. Because the command shown does not affect event log verbosity, the solution fails to meet the stated requirement.

Concept tested: SharePoint Windows event log severity configuration via PowerShell

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

Topics

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

Community Discussion

No community discussion yet for this question.

Full 70-339 Practice