Administering Microsoft SQL Server 2012 Databases Exam

 

QUESTION 111

HOTSPOT

You administer a Microsoft SQL Server 2012 instance.

You need to configure an existing SQL Authenticated Login that meets the following requirements:

 

– Enforces password policy

– No password expiration enforcement

– Resets the default database to AdventureWorks database

 

Which option or options should you choose in the Login Properties of the login for User1? (To answer, configure the appropriate option or options in the dialog box in the answer area. )

 

clip_image001

 

Correct Answer:

clip_image002

 

 

QUESTION 112

You administer a Microsoft SQL Server 2012 database named Orders.

Orders contains a table named OrderShip that is defined as follows:

 

clip_image004

 

A NULL value represents a domestic order. Ninety percent of the values in CountryCode are NULL. Customers require a procedure that will return orders for all customers from a specified country. You create a new procedure:

 

clip_image006

 

Performance on this procedure is slow.

You need to alter the schema to optimize this query. Objects created must use a minimum amount of resources.

 

Which Transact-SQL statement should you use?

 

clip_image008

 

Correct Answer: B

 

 

QUESTION 113

You administer a Microsoft SQL Server 2012 database. The database is currently configured to log ship to a secondary server. You are preparing to cut over to the secondary server by stopping log-shipping and bringing the secondary database online. You want to perform a tail-log backup.

You need to leave the primary database in a restoring state. Which option of the BACKUP LOG command should you use?

 

A.

NO_TRUNCATE

B.

NORECOVERY

C.

STANDBY

D.

FORMAT

 

Correct Answer: B

 

 

 

 

 

 

 

 

 

 

 

QUESTION 114

HOTSPOT

You administer a Microsoft SQL Server database.

The database is in the Simple recovery mode.

You schedule the following backup plan:

 

– Full backup every day at midnight

– Differential backups every hour on the hour, except at midnight

 

The database fails at 20:45 hours.

You need to use SQL Server Management Studio (SSMS) to begin restoring the database to a new server instance with a minimum amount of data loss. Which options should you select on the Options page of the Restore Database window? (To answer, configure the appropriate option or options in the dialog box in the answer area.)

 

clip_image010

 

Correct Answer:

clip_image012

 

 

QUESTION 115

DRAG DROP

You administer a Microsoft SQL Server 2012 database. The database contains two tables named Table A and Table B. You perform an import and export operation by using the following steps in sequence, as shown in the exhibit. (Click the Exhibit button.)

 

clip_image013

 

Load data from a third-party database to Table A. Insert a subset of records from Table A to Table B. Export the data from Table B to a flat file.

You also create a format file for the data export.

You need to choose the correct command or tool for each task. You need to ensure that each task is performed efficiently.

 

Which command(s) or tool(s) should you use? (To answer, drag the appropriate command(s) or tool(s) to their corresponding task or tasks in the answer area. Answer choices may be used once, more than once, or not at all. Answer targets may be used once or not at all. Additionally, you may need to drag the split bar between panes or scroll to view content.)

 

clip_image015

 

Correct Answer:

clip_image017

 

 

QUESTION 116

You administer a Microsoft SQL Server 2012 database. You want to make a full backup of the database to a file on disk.

In doing so, you need to output the progress of the backup.

Which backup option should you use?

 

A.

STATS

B.

COMPRESSION

C.

CHECKSUM

D.

IN IT

 

Correct Answer: A

 

 

 

 

 

 

 

QUESTION 117

You are a database administrator for a Microsoft SQL Server 2012 database named AdventureWorks2012.

You create an Availability Group defined by the following schema. (Line numbers are included for reference only.)

 

clip_image019

 

You need to implement an AlwaysOnAvailablity Group that will meet the following conditions:

 

– Production transactions should be minimally affected.

– The secondary server should allow reporting queries to be performed.

– If the primary server goes offline, the secondary server should not automatically take over.

 

Which Transact-SQL statement should you insert at line 06?

 

clip_image021

 

Correct Answer: D

 

 

QUESTION 118

DRAG DROP

You are a database administrator for a Microsoft SQL Server 2012 environment that contains two SQL Server instances named Server01 and Server02. The Contoso database is located on Server01. Through database mirroring, a copy of the Contoso database is on Server02.

During the last manual failover of database mirroring, the recovery took longer than usual.

You need to determine where the synchronization bottleneck is for the database mirroring topology.

 

Which performance counter or counters should you use for each server? (To answer, drag the appropriate performance counter or counters to their corresponding server or servers in the answer area. Answer choices may be used once, more than once, or not at all. Answer targets may be used once or not at all. Additionally, you may need to drag the split bar between panes or scroll to view content.)

 

clip_image023

 

Correct Answer:

clip_image025

 

 

QUESTION 119

You administer two Microsoft SQL Server 2012 servers named ProdSrv1 and ProdSrv2. ProdSrv1 is configured as a Distributor. Both servers are configured to use the Windows NT Service virtual accounts for all SQL Services.

You are configuring snapshot replication from ProdSrv1 to ProdSrv2 by using ProdSrv2 as a pull subscriber.

The distribution agent on ProdSrv2 regularly fails, displaying the following error message:

 

“Cannot access the file. Operating system error code 5 (Access is denied.).”

 

You need to configure the distribution agent by granting only the minimum required access to all accounts.

 

What should you do?

 

A.

Configure the Subscriber to use the Local System account.

B.

Configure the SQL Server Agent service to run under the Local System account.

Configure the Subscriber to use the SQL Server Agent service account.

C.

Configure the SQL Server Agent service to run under a Windows domain account.

Configure the Subscriber to use the SQL Server Agent service account.

Grant FULL CONTROL access for the domain account to the ReplData share on ProdSrv1.

D.

Configure the Subscriber to use a Windows domain account.

Grant READ access for the domain account to the ReplData share on ProdSrv1.

 

Correct Answer: D

 

 

QUESTION 120

You are a database administrator for a Microsoft SQL Server 2012 environment.

You want to deploy a new application that will scale out the workload to at least five different SQL Server instances. You need to ensure that for each copy of the database, users are able to read and write data that will then be synchronized between all of the database instances.

 

Which feature should you use?

 

A.

Database Mirroring

B.

Peer-to-Peer Replication

C.

Log Shipping

D.

Availability Groups

 

Correct Answer: B

 

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

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