Managing Microsoft SharePoint Server 2016 — Question 22
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 section, 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-SPLogLevel ""EventSeverity Error
Does the solution meet the goal?
Answer options
- A. Yes
- B. No
Correct answer: A
Explanation
The command Set-SPLogLevel ""EventSeverity Error correctly configures the SharePoint farm to only log events that are of Error severity or higher, thus achieving the goal of reducing excessive logging. The alternative option 'No' is incorrect because it implies that the command does not fulfill the requirement, which it does.