70-332 · Question #83
In SQL Server Management Studio, locate the SQL Server instance containing the content databases and service application databases you plan to upgrade. Set the Instance Read-Only value to True. Run…
The correct answer is B. Set the Instance Read-Only value to True. When preparing SharePoint databases for upgrade, setting the SQL Server instance to read-only is the first protective action after locating the instance in SSMS.
Question
Options
- AIn SQL Server Management Studio, locate the SQL Server instance containing the content databases and service application databases you plan to upgrade.
- BSet the Instance Read-Only value to True.
- CRun the following Transact-SQL (T-SQL) statement for each content database and service application you plan to upgrade: ALTER DATABASE <database name>SET READ_ONLY.
- DRun the following command-line tool for each site collection in the content databases you plan to upgrade. Stsadm -o setsitelock -urKsite collection name> -lock readonly
How the community answered
(22 responses)- A5% (1)
- B77% (17)
- C14% (3)
- D5% (1)
Why each option
When preparing SharePoint databases for upgrade, setting the SQL Server instance to read-only is the first protective action after locating the instance in SSMS.
Locating the SQL Server instance is a prerequisite discovery step that must be completed before any protective or configuration changes are made, so it is not the action to perform next in the described sequence.
After locating the SQL Server instance containing the databases to be upgraded, the immediate next step is to set the Instance Read-Only value to True in SQL Server Management Studio. This protects all databases in the instance from writes during the upgrade preparation phase before individual databases are set to READ_ONLY via T-SQL. Establishing instance-level read-only first ensures no data modifications occur while the upgrade sequence proceeds.
Running the ALTER DATABASE SET READ_ONLY T-SQL statement is a database-level operation that comes after the instance-level read-only flag has been set, not before it in the correct upgrade preparation sequence.
Running Stsadm to lock site collections is a SharePoint-layer operation that occurs after the SQL Server-level read-only protections have already been established for the content databases.
Concept tested: SharePoint 2010 upgrade database read-only preparation steps
Source: https://learn.microsoft.com/en-us/sharepoint/upgrade-and-update/create-the-sharepoint-2013-farm-for-a-database-attach-upgrade
Topics
Community Discussion
No community discussion yet for this question.