nerdexam
Exams70-332Questions#62
Microsoft

70-332 · Question #62

70-332 Question #62: Real Exam Question with Answer & Explanation

The correct answer is A: $reports.AllowSelfServiceUpgrade = false. Disabling self-service site collection upgrades in SharePoint requires retrieving the SPSite object and setting its AllowSelfServiceUpgrade property to false.

Maintain a SharePoint environment

Question

You need to meet the security requirement for site collection upgrades. Which two Windows PowerShell cmdlets should you perform? (Each correct answer presents part of the solution. Choose two.)

Options

Explanation

Disabling self-service site collection upgrades in SharePoint requires retrieving the SPSite object and setting its AllowSelfServiceUpgrade property to false.

Common mistakes.

  • C. SPSite.AllowSelfServiceUpgrade is a .NET property reference, not a PowerShell cmdlet, and cannot be executed standalone in a script.
  • D. Get-SPWebApplication retrieves a web application object, not a site collection - AllowSelfServiceUpgrade is a property of SPSite, not SPWebApplication.
  • E. Setting AllowSelfServiceUpgrade = true would enable self-service upgrades, which is the opposite of the stated security requirement to restrict them.

Concept tested. SharePoint PowerShell SPSite self-service upgrade control

Reference. https://learn.microsoft.com/en-us/powershell/module/sharepoint-server/get-spsite

Topics

#self-service upgrade#site collection security#PowerShell cmdlets#AllowSelfServiceUpgrade

Community Discussion

No community discussion yet for this question.

Full 70-332 Practice