Microsoft
70-339 · Question #87
70-339 Question #87: Real Exam Question with Answer & Explanation
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
Explanation
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.
Common mistakes.
- A. 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.
Concept tested. SharePoint Windows event log severity configuration via PowerShell
Reference. 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.