nerdexam
Microsoft

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.

Maintain a SharePoint environment

Question

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.)

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)
  • A
    63% (20)
  • B
    3% (1)
  • C
    9% (3)
  • D
    3% (1)
  • F
    22% (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.

A$wa = Get-SPWebApplication https://teams.proseware.com and $wa.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 10Correct

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.

B$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.ConcurrentSiteUpgradeSession Limit = 40

Setting ConcurrentSiteUpgradeSessionLimit = 40 exceeds the recommended limit and does not match the required configuration value for this scenario.

C$wa = Get-SPWebApplication https://teams.proseware.com/productdev and $wa.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 10

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.

D$wa = Get-SPWebApplication https://teams.proseware.com and $wa.SiteUpgradeThrottleSettings = 10

Assigning $wa.SiteUpgradeThrottleSettings = 10 directly is invalid syntax; you must access the AppPoolConcurrentUpgradeSessionLimit property on the SiteUpgradeThrottleSettings object.

E$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.ConcurrentSiteUpgradeSessionLimit = 20Correct

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.

F$db = Get-SPContentDatabase "sp_content_teams_productdev" and $db.SiteUpgradeThrottleSettings. AppPoolConcurrentUpgradeSessionLimit = 20

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

#site collection upgrade#throttle settings#PowerShell#upgrade management

Community Discussion

No community discussion yet for this question.

Full 70-332 Practice