applications named WebApp1 and WebApp2. WebApp1 contains one site collection. The
site collection contains 300 sites. WebApp2 is usedto host personal sites. You need to
ensure that trace logs are deleted automatically two days after the logs are created. Which
Windows PowerShell cmdlet should you use?( Note: This quesiton is part of a series of
questions that use the same set of answer choices. Each answer choice may be used
once, more than once, or not at all.)
A.
Set-SPContentDatabase
B.
Set-SPUsageService
C.
Set-SPSite
D.
Set-SPDiagnosticConfig
E.
Install-SPApplicationContent
F.
Set-SPWeb
G.
Set-SPAlternateURL
H.
Set-SPTimerJob
I.
Enable-SPHealthAnalysisRule
J.
New-SPWebApplication
K.
Enable-SPTimerJob
L.
Set-SPLogLevel
M.
New-SPWebApplicationExtension
N.
Remove-SPUsageApplication
Explanation:
DaysToKeepLogs: Specifies the number of days to keep trace log files. The type must be a valid
number between 1 and 366. The default value is 14 days..
http://technet.microsoft.com/en-us/library/ff607575.aspx