70-332 · Question #75
You need to upgrade the appropriate site collections. Which two sets of Windows PowerShell cmdlets should you run? (Each correct answer presents part of the solution. Choose two.)
The correct answer is A. $wa = Get-SPWebApplication https://teams.proseware.com and $wa.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 10 E. $db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.ConcurrentSiteUpgradeSessionLimit = 20. Upgrading SharePoint site collections requires setting throttle limits at both the web application level (AppPoolConcurrentUpgradeSessionLimit) and the content database level (ConcurrentSiteUpgradeSessionLimit) with the correct values.
Question
Options
- A$wa = Get-SPWebApplication https://teams.proseware.com and $wa.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 10
- B$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.ConcurrentSiteUpgradeSession Limit = 40
- C$wa = Get-SPWebApplication https://teams.proseware.com/productdev and $wa.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 10
- D$wa = Get-SPWebApplication https://teams.proseware.com and $wa.SiteUpgradeThrottleSettings = 10
- E$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.ConcurrentSiteUpgradeSessionLimit = 20
- F$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 20
How the community answered
(32 responses)- A63% (20)
- B3% (1)
- C9% (3)
- D3% (1)
- F22% (7)
Why each option
Upgrading SharePoint site collections requires setting throttle limits at both the web application level (AppPoolConcurrentUpgradeSessionLimit) and the content database level (ConcurrentSiteUpgradeSessionLimit) with the correct values.
Get-SPWebApplication retrieves the web application object at the correct root URL (https://teams.proseware.com), and setting AppPoolConcurrentUpgradeSessionLimit = 10 on its SiteUpgradeThrottleSettings controls how many concurrent upgrade sessions the app pool allows.
Setting ConcurrentSiteUpgradeSessionLimit = 40 exceeds the recommended limit and does not match the required configuration value for this scenario.
The URL https://teams.proseware.com/productdev is a site collection path, not a valid web application URL; Get-SPWebApplication requires the root web application URL.
Assigning $wa.SiteUpgradeThrottleSettings = 10 directly is invalid syntax; you must access the AppPoolConcurrentUpgradeSessionLimit property on the SiteUpgradeThrottleSettings object.
Get-SPContentDatabase retrieves the specific content database by name, and setting ConcurrentSiteUpgradeSessionLimit = 20 controls the maximum concurrent site upgrades allowed within that database, complementing the web application-level throttle.
Content database objects do not expose a SiteUpgradeThrottleSettings.AppPoolConcurrentUpgradeSessionLimit property; that property belongs to the SPWebApplication object, not SPContentDatabase.
Concept tested: SharePoint site collection upgrade throttle configuration via PowerShell
Source: https://learn.microsoft.com/en-us/powershell/module/sharepoint-server/get-spwebapplication
Topics
Community Discussion
No community discussion yet for this question.