70-339 · Question #80
You have an existing SharePoint 2016 on-premises environment. You use document libraries as file archives. Users report that they cannot upload documents larger than 3 gigabytes (GB). You need to ensu
The correct answer is B. In SharePoint Central Administration, change the value of the Maximum Upload Size property for. SharePoint 2016 file upload size limits for a web application are controlled through the Maximum Upload Size setting in Central Administration.
Question
You have an existing SharePoint 2016 on-premises environment. You use document libraries as file archives. Users report that they cannot upload documents larger than 3 gigabytes (GB). You need to ensure that users can upload any type of file up to 4 GB in size. What should you do?
Options
- AOn each front-end server in the farm, locate the following registry key:HKEY_LOCAL_MACHINE
- BIn SharePoint Central Administration, change the value of the Maximum Upload Size property for
- CRun the following Windows PowerShell command:$WebApp.MaximumFileSizePerExtension.Add
- DAdd the following markup to the web.config file for the web application:<httpRuntime
How the community answered
(31 responses)- A6% (2)
- B87% (27)
- C3% (1)
- D3% (1)
Why each option
SharePoint 2016 file upload size limits for a web application are controlled through the Maximum Upload Size setting in Central Administration.
Editing a Windows registry key is not a supported or effective method for configuring SharePoint upload size limits and would have no impact on the SharePoint web application threshold.
The Maximum Upload Size property in SharePoint Central Administration is applied per web application and is the supported mechanism for raising the upload ceiling; setting it to 4096 MB allows users to upload files up to 4 GB and applies consistently to all document libraries in that web application without requiring server-level or config-file changes.
The MaximumFileSizePerExtension PowerShell property restricts uploads based on specific file extensions rather than raising the global maximum upload size for all file types across the web application.
Modifying the httpRuntime maxRequestLength attribute in web.config is an ASP.NET-level setting that SharePoint overrides with its own limits and is not the recommended administrative approach for adjusting the SharePoint upload size.
Concept tested: SharePoint web application maximum upload size configuration
Source: https://learn.microsoft.com/en-us/sharepoint/administration/manage-web-applications
Topics
Community Discussion
No community discussion yet for this question.