70-339 · Question #15
You need to ensure that users can edit SharePoint pages. What should you do?
The correct answer is A. Run the following PowerShell command: $webAppObj = Get-SPWebApplication -Identity. Enabling SharePoint page editing requires configuring the web application object via PowerShell using Get-SPWebApplication to retrieve and modify the appropriate settings.
Question
You need to ensure that users can edit SharePoint pages. What should you do?
Options
- ARun the following PowerShell command: $webAppObj = Get-SPWebApplication -Identity
- BEnable SMTP connection encryption.
- CIn the System Settings section of Central Administration, convert the server role to Custom.
- DRun the following PowerShell cmdlet: Set-SPO365LinkSettings
How the community answered
(50 responses)- A84% (42)
- B2% (1)
- C10% (5)
- D4% (2)
Why each option
Enabling SharePoint page editing requires configuring the web application object via PowerShell using Get-SPWebApplication to retrieve and modify the appropriate settings.
The Get-SPWebApplication cmdlet retrieves a SharePoint web application object, which can then be used to configure properties such as enabling or disabling page editing permissions. This is the standard administrative approach to modifying web application-level settings in SharePoint Server using PowerShell.
Enabling SMTP connection encryption relates to outbound email configuration and has no effect on users' ability to edit SharePoint pages.
Converting the server role to Custom in Central Administration changes the MinRole topology configuration, not page editing permissions for users.
Set-SPO365LinkSettings configures hybrid SharePoint Online link behavior and is unrelated to enabling page editing in an on-premises SharePoint environment.
Concept tested: SharePoint web application 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.