Ensurepass

QUESTION 51

You administer all the deployments of Microsoft SQL Server 2012 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?

 

A.        Two servers configured in different data centers

SQL Server Availability Group configured in Synchronous-Commit Availability Mode

One server configured as an Active Secondary

B.        SQL Server that includes an application database configured to perform transactional

replication

C.        Two servers configured in the same data center

SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

One server configured as an Active Secondary

D.        Two servers configured in different data centers

SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

E.         Two servers configured in the same data center

A primary server configured to perform log-shipping every 10 minutes

A backup server configured as a warm standby

F.         Two servers configured on the same subnet

SQL Server Availability Group configured in Synchronous-Commit Availability Mode

G.        SQL Server that includes an application database configured to perform snapshot replication

H.        Two servers configured in a Windows Failover Cluster in the same data center

SQL Server configured as a clustered instance

 

Correct Answer: H

 

 

QUESTION 52

You administer a Microsoft SQL Server 2012 instance. After a routine shutdown, the drive that contains tempdb fails. You need to be able to start the SQL Server. What should you do?

 

A.      Modify tempdb location in startup parameters.

B.      Start SQL Server in minimal configuration mode.

C.      Start SQL Server in single-user mode.

D.      Configure SQL Server to bypass Windows application logging.

 

Correct Answer: B

 

 

QUESTION 53

You administer a single server that contains a Microsoft SQL Server 2012 default instance. You plan to install a new application that requires the deployment of a database on the server. The application login requires sysadmin permissions. You need to ensure that the application login is unable to access other production databases. What should you do?

 

A.      Use the SQL Server default instance and configure an affinity mask.

B.      Install a new named SQL Server instance on the server.

C.      Use the SQL Server default instance and enable Contained Databases.

D.      Install a new default SQL Server instance on the server.

 

Correct Answer: B

 

 

QUESTION 54

You administer a Microsoft SQL Server 2012 Enterprise Edition server that uses 64 cores. You discover performance issues when large amounts of data are written to tables under heavy system load. You need to limit the number of cores that handle I/O. What should you configure?

 

A.      Processor affinity

B.      Lightweight pooling

C.      Max worker threads

D.      I/O affinity

 

Correct Answer: D

 

 

QUESTION 55

You administer a Microsoft SQL Server 2012 instance named SQL2012 that hosts an OLTP database of 1 terabyte in size. The database is modified by users only from Monday through Friday from 09:00 hours to 17:00 hours. Users modify more than 30 percent of the data in the database during the week. Backups are performed as shown in the following schedule:

 

clip_image001

 

The Finance department plans to execute a batch process every Saturday at 09:00 hours.

 

Ÿ   The batch process will take a maximum of 8 hours to complete.

Ÿ   The batch process will update three tables that are 10 GB in size.

Ÿ   The batch process will update these tables multiple times.

 

When the batch process completes, the Finance department runs a report to find out whether the batch process has completed correctly. You need to ensure that if the Finance department disapproves the batch process, the batch operation can be rolled back in the minimum amount of time. What should you do on Saturday?

 

A.      Perform a differential backup at 08:59 hours.

B.      Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.

C.      Create a database snapshot at 08:59 hours.

D.      Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.

E.       Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.

F.       Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.

 

Correct Answer: C

 

 

QUESTION 56

You administer a Microsoft SQL Server 2012 instance. The instance contains a database that supports a retail sales application. The application generates hundreds of transactions per second and is online 24 hours per day and 7 days per week. You plan to define a backup strategy for the database. You need to ensure that the following requirements are met:

 

Ÿ   No more than 5 minutes worth of transactions are lost.

Ÿ   Data can be recovered by using the minimum amount of administrative effort.

 

What should you do? Choose all that apply.

 

A.      Configure the database to use the SIMPLE recovery model.

B.      Create a DIFFERENTIAL database backup every 4 hours.

C.      Create a LOG backup every 5 minutes.

D.      Configure the database to use the FULL recovery model.

E.       Create a FULL database backup every 24 hours.

F.       Create a DIFFERENTIAL database backup every 24 hours.

 

Correct Answer: BCDE

 

 

QUESTION 57

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

 

 

QUESTION 58

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_image002

 

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: A

 

 

QUESTION 59

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

 

 

QUESTION 60

You administer a Microsoft SQL Server 2012. A process that normally runs in less than 10 seconds has been running for more than an hour. You examine the application log and discover that the process is using session ID 60. You need to find out whether the process is being blocked. Which Transact-SQL statement should you use?

 

A.      EXEC sp_who 60

B.      SELECT * FROM sys.dm_exec_sessions WHERE sessionid = 60

C.      EXEC sp_helpdb 60

D.      DBCC INPUTBUFFER (60)

 

Correct Answer: B

 

 

Comments are closed.