Ensurepass

QUESTION 31

You administer a Microsoft SQL Server 2012 database that contains a table named OrderDetail. You discover that the NCI_OrderDetail_CustomerID non-clustered index is fragmented. You need to reduce fragmentation. You need to achieve this goal without taking the index offline. Which Transact-SQL batch should you use?

 

A.

CREATE INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID WITH DROP EXISTING

B.

ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REORGANIZE

C.

ALTER INDEX ALL ON OrderDetail REBUILD

D.

ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REBUILD

 

Correct Answer: B

Explanation:

http://msdn.microsoft.com/en-us/library/ms188388.aspx

 

 

QUESTION 32

You administer a Microsoft SQL Server database named Sales. The database is 3 terabytes in size. The Sales database is configured as shown in the following table.

 

clip_image001

 

You discover that all files except Sales_2.ndf are corrupt. You need to recover the corrupted data in the minimum amount of time. What should you do?

 

A.

Perform a restore from a full backup.

B.

Perform a transaction log restore.

C.

Perform a file restore.

D.

Perform a filegroup restore.

 

Correct Answer: C

Explanation:

http://technet.microsoft.com/en-us/library/ms187048.aspx http://msdn.microsoft.com/en-us/library/aa337540.aspx

Under the simple recovery model, the file must belong to a read-only filegroup. Under the full or bulk-logged recovery model, before you can restore files, you must back up the active transaction log (known as the tail of the log). For more information, see Back Up a Transaction Log (SQL Server).

To restore a database that is encrypted, you must have access to the certificate or asymmetric key that was used to encrypt the database. Without the certificate or asymmetric key, the database cannot be restored. As a result, the certificate that is used to encrypt the database encryption key must be retained as long as the backup is needed. For more information, see SQL Server Certificates and Asymmetric Keys.

 

 

QUESTION 33

DRAG DROP

You administer a Microsoft SQL Server 2012 clustered instance that has two nodes named Node 1 and Node 2. Node 1 fails and the cluster fails over to Node 2. You need to replace Node 1 and add it to the cluster. Which four 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.)

 

clip_image003

 

Correct Answer:

clip_image005

 

 

 

 

 

 

 

 

 

QUESTION 34

DRAG DROP

You administer a Microsoft SQL Server 2012 database. The database uses SQL Server Agent jobs to perform regular FULL and LOG backups. The database uses the FULL recovery model. You plan to perform a bulk import of a very large text file. You need to ensure that the following requirements are met during the bulk operation:

 

The database transaction log is minimally affected.

The database is online and all user transactions are recoverable.

All transactions are fully recoverable prior to the import.

 

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.)

 

clip_image007

 

Correct Answer:

 

clip_image009

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 35

DRAG DROP

You administer a Microsoft SQL Server database. You want to import data from a text file to the database. You need to ensure that the following requirements are met:

 

Data import is performed by using a stored procedure.

Data is loaded as a unit and is minimally logged.

 

Which data import command and recovery model should you choose? (To answer, drag the appropriate data import command or recovery model to the appropriate location or locations in the answer area. Each data import command or recovery model may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

 

clip_image011

 

Correct Answer:

clip_image013

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 36

DRAG DROP

You administer a Microsoft SQL Server 2012 database. The database is backed up according to the following schedule:

 

Daily full backup at 23:00 hours.

Differential backups on the hour, except at 23:00 hours.

Log backups every 10 minutes from the hour, except on the hour.

 

The database uses the Full recovery model.

A developer accidentally drops a number of tables and stored procedures from the database between 22:40 hours and 23:10 hours. You perform a database restore at 23:30 hours to recover the dropped table.

You need to restore the database by using the minimum amount of administrative effort. You also need to ensure minimal data loss.

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.)

 

clip_image015

 

Correct Answer:

clip_image017

 

 

 

 

QUESTION 37

DRAG DROP

You administer a Microsoft SQL Server 2012 instance that contains a database of confidential data. You need to encrypt the database files at the page level. You also need to encrypt the transaction log files. Which four 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.)

 

clip_image019

 

Correct Answer:

clip_image021

 

 

QUESTION 38

You administer a Microsoft SQL Server 2012 server. You plan to deploy new features to an application. You need to evaluate existing and potential clustered and non-clustered indexes that will improve performance. What should you do?

 

A.

Query the sys.dm_db_index_usage_stats DMV.

B.

Query the sys.dm_db_missing_index_details DMV.

C.

Use the Database Engine Tuning Advisor.

D.

Query the sys.dm_db_missing_index_columns DMV.

Correct Answer: C

Explanation:

http://msdn.microsoft.com/en-us/library/ms174202.aspx

 

 

QUESTION 39

You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to write messages to the Application Log when users are added to or removed from a fixed server role in Server01. What should you create?

 

A.

a Database Audit Specification

B.

a Policy

C.

an Alert

D.

a SQL Profiler Trace

E.

a Resource Pool

F.

an Extended Event session

G.

a Server Audit Specification

 

Correct Answer: G

 

 

QUESTION 40

You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. You need to be notified immediately when fatal errors occur on Server01. What should you create?

 

A.

an Alert

B.

a Server Audit Specification

C.

an Extended Event session

D.

a Resource Pool

E.

a Policy

F.

a SQL Profiler Trace

G.

a Database Audit Specification

 

Correct Answer: A

 

Free VCE & PDF File for Microsoft 70-462 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…