Microsoft 70-465 Designing Database Solutions for Microsoft SQL Server 2012 Exam Practice Test

Page: 1 / 14
Total 111 questions
Question 1

You need to recommend a solution to meet the security requirements of the junior database administrators.

What should you include in the recommendation?



Answer : C

* Scenario: A group of junior database administrators must be able to view the server state of the SQL Server instance that hosts the Sales database. The junior database administrators will not have any other administrative rights.

* Credentials provide a way to allow SQL Server Authentication users to have an identity outside of SQL Server. Credentials can also be used when a SQL Server Authentication user needs access to a domain resource, such as a file location to store a backup.


Question 2

You need to recommend a disaster recovery strategy for the Inventory database.

What should you include in the recommendation?



Answer : A

* Scenario

/ You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Point Objective (RPO) of one hour.

/ A. Datum Corporation has offices in Miami and Montreal.

* SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances. The transaction log backups are applied to each of the secondary databases individually.


Question 3

You need to recommend a disaster recovery solution for the Dev database.

What should you include in the recommendation?



Answer : A

* Scenario: You must be able to recover data from the Dev database if data is lost accidentally. You have a Recovery Point Objective (RPO) of one day.

* The simple recovery model provides the simplest form of backup and restore. This recovery model supports both database backups and file backups, but does not support log backups. Transaction log data is backed up only with the associated user data. The absence of log backups simplifies managing backup and restore. However, a database can be restored only to the end of the most recent backup.

Incorrect:

Not B: The bulk-logged recovery model is a special-purpose recovery model that should be used only intermittently to improve the performance of certain large-scale bulk operations, such as bulk imports of large amounts of data.


Question 4

You need to recommend a solution for the error handling of USP_3. The solution must minimize the amount of custom code required.

What should you recommend?



Answer : B

* Must catch and handle the error.

* Scenario: A stored procedure named USP_3 is used to update prices. USP_3 is composed of several UPDATE statements called in sequence from within a transaction. Currently, if one of the UPDATE statements fails, the stored procedure continues to execute.


Question 5

You need to recommend a solution to minimize the amount of time it takes to execute USP_2.

What should you recommend?



Answer : C

Scenario: A stored procedure named USP_2 is used to generate a product list. USP_2 takes several minutes to run due to locks on the tables the procedure accesses.


Question 6

You need to implement a backup strategy to support the requirements.

Which two actions should you perform? Each correct answer presents part of the solution. Choose two.



Answer : C, D

* Scenario: The current nightly backups have been failing due to insufficient space on the available drives and manual drive cleanup often needing to happen to get past the errors. Additional space will not be made available for backups on the HQ or satellite servers.

* Need to store files in the cloud.

* Manage your backups to Windows Azure: Using the same methods used to backup to DISK and TAPE, you can now back up to Windows Azure storage by Specifying URL as the backup destination. You can use this feature to manually backup or configure your own backup strategy like you would for a local storage or other off-site options. This feature is also referred to as SQL Server Backup to URL.


Question 7

You are designing your maintenance plan.

Which command should you use only during the monthly maintenance window?



Answer : D

* Scenario: Database Issues

The current database does not perform well. Additionally, a recent disk problem caused the system to go down, resulting in lost sales revenue. In reviewing the current system, you found that there are no automated maintenance procedures. The database is severely fragmented, and everyone has read and write access.

* After the degree of fragmentation is known, use the following table to determine the best method to correct the fragmentation.

avg_fragmentation_in_percent value

/ > 5% and < = 30%

then use

ALTER INDEX REORGANIZE

/ > 30%

then use

ALTER INDEX REBUILD WITH (ONLINE = ON)

ALTER INDEX (Transact-SQL)


Page:    1 / 14   
Total 111 questions