You administer all the deployments of Microsoft SQL Server 2012 in your company.
You need to ensure that an OLTP database that includes up-to-the-minute reporting requirements can be off-loaded from the primary database to another server.
You also need to be able to add indexes to the secondary database.
Which configuration should you use?
Correct Answer:
F
🗳️
Reference:
http://msdn.microsoft.com/en-us/library/jj542414.aspx
You administer all the deployments of Microsoft SQL Server 2012 in your company.
You need to ensure that data changes are sent to a non-SQL Server database server in near real time.
You also need to ensure that data on the primary server is unaffected.
Which configuration should you use?
Correct Answer:
A
🗳️
Reference:
http://msdn.microsoft.com/en-us/library/ms151149.aspx
You administer all the deployments of Microsoft SQL Server 2012 in your company.
A database contains a large product catalog that is updated periodically.
You need to be able to send the entire product catalog to all branch offices on a monthly basis.
Which configuration should you use?
Correct Answer:
E
🗳️
Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.
You administer all the deployments of Microsoft SQL Server in your company.
You need to ensure that an OLTP database that uses a storage area network (SAN) remains available if any of the servers fail.
You also need to minimize the amount of storage used by the database.
Which configuration should you use?
Correct Answer:
H
🗳️
Note: This question is part of a series of questions that use the same set of answers choices. An answer choice may be correct for more than one question in the series.
You administer a Microsoft SQL Server server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database.
The recovery model and backup schedule are configured as shown in the following table:
The differential backup of the reporting database fails. Then, the reporting database fails at 14:00 hours.
You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal.
What should you do?
Correct Answer:
C
🗳️
Note: This question is part of a series of questions that use the same set of answers choices. An answer choice may be correct for more than one question in the series.
You administer a Microsoft SQL Server server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database.
The recovery model and backup schedule are configured as shown in the following table:
At 14:00 hours, you discover that pages 71, 520, and 713 on one of the database files are corrupted on the reporting database.
You also need to ensure that data loss is minimal.
What should you do?
Correct Answer:
H
🗳️
Restores a file or filegroup in a multi-filegroup database. Note that under the simple recovery model, the file must belong to a read-only filegroup. After a full file restore, a differential file backup can be restored.
Page restore -
Restores individual pages. Page restore is available only under the full and bulk-logged recovery models.
Piecemeal restore -
Restores the database in stages, beginning with the primary filegroup and one or more secondary filegroups. A piecemeal restore begins with a RESTORE
DATABASE using the PARTIAL option and specifying one or more secondary filegroups to be restored.
Note: This question is part of a series of questions that use the same set of answers choices. An answer choice may be correct for more than one question in the series.
You administer a Microsoft SQL Server server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database.
The recovery model and backup schedule are configured as shown in the following table:
At 16:20 hours, you discover that pages 17, 137, and 205 on one of the database files are corrupted on the transactional database.
You need to ensure that the transactional database is restored.
You also need to ensure that data loss is minimal.
What should you do?
Correct Answer:
F
🗳️
Requirements for Restoring Pages
A page restore is subject to the following requirements:
✑ The databases must be using the full or bulk-logged recovery model. Some issues exist if you are using the bulk-logged model. For more information, see the following section.
✑ Pages in read-only filegroups cannot be restored. Trying to make a filegroup read-only will fail if there is a page restore going on at the same time in the filegroup.
✑ The restore sequence must start with a full, file, or filegroup backup.
✑ A page restore requires an unbroken chain of log backups up to the current log file, and they must all be applied so that the page is brought up to date with the current log file.
✑ As in a file-restore sequence, in each restore step, you can add more pages to the roll forward set.
✑ A database backup and page restore cannot be run at the same time.
Bulk-logged Recovery Model and Page Restore
For a database that uses the bulk-logged recovery model, page restore has the following additional conditions:
✑ Backing up while filegroup or page data is offline is problematic for bulk-logged data, because the offline data is not recorded in the log. Any offline page can prevent backing up the log. In this cases, consider using
✑ DBCC REPAIR, because this might cause less data loss than restoring to the most recent backup.
✑ If a log backup of a bulk-logged database encounters a bad page, it fails unless WITH
✑ CONTINUE_AFTER_ERROR is specified.
✑ Page restore generally does not work with bulk-logged recovery.
✑ A best practice for performing page restore is to set the database to the full recovery model, and try a log backup. If the log backup works, you can continue with the page restore. If the log backup fails, you either have to lose work since the previous log backup or you have to try running DBCC must be run with the
REPAIR_ALLOW_DATA_LOSS option.
Note: This question is part of a series of questions that use the same set of answers choices. An answer choice may be correct for more than one question in the series.
You administer a Microsoft SQL Server server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database.
The recovery model and backup schedule are configured as shown in the following table:
One of the hard disk drives that stores the reporting database fails at 16:40 hours.
You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal.
What should you do?
Correct Answer:
H
🗳️
DRAG DROP -
You administer three Microsoft SQL Server 2012 servers named ServerA, ServerB, and ServerC.
ServerA is the acting principal and ServerB is the mirror.
You need to add ServerC as a witness to the existing mirroring session between ServerA and ServerB.
You need to achieve this goal without delaying synchronization.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:
Correct Answer:
You administer a Microsoft SQL Server database.
You create an availability group named haContosoDbs. Your primary replica is available at Server01\Contoso01.
You need to configure the availability group to prevent data loss. In the event of a database failure, the designed secondary database must come online automatically.
Which Transact-SQL statement should you use?
Correct Answer:
C
🗳️