70-462 Free Demo Questions and Answers

Author: Daniel Roberts

Question: 1

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?

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.

  • 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

C.

  • 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

D.

  • Two servers configured in different data centers
  • SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

E.

  • Two servers configured on the same subnet
  • SQL Server Availability Group configured in Synchronous-Commit Availability Mode

F.

  • SQL Server that includes an application database configured to perform transactional replication

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

Answer: F

Reference:

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

Question: 2

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?

A. • SQL Server that includes an application database configured to perform transactional replication

B. • Two servers configured in different data centers

  • SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

C. • Two servers configured in different data centers

  • SQL Server Availability Group configured in Synchronous-Commit Availability Mode
  • One server configured as an Active Secondary

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

E. • 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

F. • Two servers configured on the same subnet

  • SQL Server Availability Group configured in Synchronous-Commit Availability Mode

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

  • SQL Server configured as a clustered instance

H. • 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

Answer: A

Reference:

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

Question: 3

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?

A.

  • 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

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 a Windows Failover Cluster in the same data center
  • SQL Server configured as a clustered instance

E.

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

F.

  • Two servers configured in different data centers
  • SQL Server Availability Group configured in Synchronous-Commit Availability Mode
  • One server configured as an Active Secondary

G.

  • Two servers configured on the same subnet
  • SQL Server Availability Group configured in Synchronous-Commit Availability Mode

H.

  • Two servers configured in different data centers
  • SQL Server Availability Group configured in Asynchronous-Commit Availability Mode

Answer: E

Question: 4

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

Answer: H

Question: 5

You administer a Microsoft SQL Server 2012 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?

A. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

B. Perform a point-in-time restore.

C. Restore the latest full backup.

D. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup.

E. Restore the latest full backup. Then, restore the latest differential backup.

F. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.

G. Perform a page restore.

H. Perform a partial restore.

Answer: C

Question: 6

You administer a Microsoft SQL Server 2012 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?

A. Perform a partial restore.

B. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup.

C. Restore the latest full backup.

D. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

E. Perform a page restore.

F. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.

G. Perform a point-in-time restore.

H. Restore the latest full backup. Then, restore the latest differential backup.

Answer: H

Explanation:

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.

Question: 7

You administer a Microsoft SQL Server 2012 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?

A. Perform a partial restore.

B. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup.

C. Perform a point-in-time restore.

D. Restore the latest full backup.

E. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

F. Perform a page restore.

G. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.

H. Restore the latest full backup. Then, restore the latest differential backup.

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.

Question: 8

You administer a Microsoft SQL Server 2012 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?

A. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.

B. Perform a partial restore.

C. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.

D. Perform a point-in-time restore.

E. Restore the latest full backup.

F. Perform a page restore.

G. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup.

H. Restore the latest full backup. Then, restore the latest differential backup.

Answer: H

Question: 9

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

Answer:

Question: 10

You administer a Microsoft SQL Server 2012 database.

You create an availability group named haContosoDbs. Your primary replica is available at Server01\Contoso01.

You need to configure the availability group to have the highest availability.

You also need to ensure that no data is lost.

Which Transact-SQL statement should you use?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: C

Question: 11

DRAG DROP

You administer several Microsoft SQL Server 2012 servers. Your company has a number of offices across the world connected by using a wide area network (WAN).

Connections between offices vary significantly in both bandwidth and reliability.

You need to identify the correct replication method for each scenario.

What should you do? (To answer, drag the appropriate replication method or methods to the correct location or locations in the answer area. Each replication method may be used once, more than once, or not at all.)

Answer:

Reference:

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

Question: 12

You administer several Microsoft SQL Server 2012 database servers. Merge replication has been configured for an application that is distributed across offices throughout a wide area network (WAN).

Many of the tables involved in replication use the XML and varchar (max) data types. Occasionally, merge replication fails due to timeout errors.

You need to reduce the occurrence of these timeout errors.

What should you do?

A. Set the Merge agent on the problem subscribers to use the slow link agent profile.

B. Create a snapshot publication, and reconfigure the problem subscribers to use the snapshot publication.

C. Change the Merge agent on the problem subscribers to run continuously.

D. Set the Remote Connection Timeout on the Publisher to 0.

Answer: A

Explanation/Reference:

When replication is configured, a set of agent profiles is installed on the Distributor. An agent profile contains a set of parameters that are used each time an agent runs: each agent logs in to the Distributor during its startup process and queries for the parameters in its profile.

For merge subscriptions that use Web synchronization, profiles are downloaded and stored at the Subscriber. If the profile is changed, the profile at the Subscriber is updated the next time the Merge Agent runs. For more information about Web synchronization, see Web Synchronization for Merge Replication.

Replication provides a default profile for each agent and additional predefined profiles for the

Log Reader Agent, Distribution Agent, and Merge Agent. In addition to the profiles provided, you can create profiles suited to your application requirements. An agent profile allows you to change key parameters easily for all agents associated with that profile. For example, if you have 20 Snapshot Agents and need to change the query timeout value (the - QueryTimeout parameter), you can update the profile used by the Snapshot Agents and all agents of that type will begin using the new value automatically the next time they run.

You might also have different profiles for different instances of an agent. For example, a

Merge Agent that connects to the Publisher and Distributor over a dialup connection could use a set of parameters that are better suited to the slower communications link by using the slow link profile.

Question: 13

DRAG DROP

You administer two Microsoft SQL Server 2012 servers named ServerA and ServerB. You use a database named AdventureWorks.

You need to prepare the AdventureWorks database for database mirroring. ServerB will act as the mirror in a mirroring partnership along with Server

A.

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

Answer:

Reference:

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

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

Question: 14

You create an availability group named HaContoso that has replicas named Server01/HA, Server02/HA, and Server03/HA.

Currently, Server01l/HA is the primary replicA.

You need to ensure that the following requirements are met:

Backup operations occur on Server02/HA.

If Server02/HA is unavailable, backup operations occur on Server03/HA.

Backup operations do not occur on Server01/HA.

How should you configure HaContoso?

A.

  • Set the backup preference of HaContoso to Prefer Secondary.
  • Set the backup priority of Server02/HA to 20.
  • Set the backup priority of Server03/HA to 10.

B.

  • Set the backup preference of HaContoso to Secondary only.
  • Set the backup priority of Server02/HA to 20.
  • Set the backup priority of Server03/HA to 10.

C.

  • Set the backup preference of HaContoso to Secondary only.
  • Set the backup priority of Server02/HA to 10.
  • Set the backup priority of Server03/HA to 20.

D.

  • Set the exclude replica of Server01/HA to true.
  • Set the backup priority of Server02/HA to 10.
  • Set the backup priority of Server03/HA to 20.

Answer: B

Reference:

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

Question: 15

You administer a Microsoft SQL Server 2012 instance that has several SQL Server Agent jobs configured.

When SQL Server Agent jobs fail, the error messages returned by the job steps are truncated.

The following error message is an example of the truncated error message:

"Executed as user CONTOSO\ServiceAccount....0.4035.00 for 64-bit Copyright (C) Microsoft Corp 1984-2011. All rights reserveD. Started 63513 PM Error 2012-06-23 183536.87 Code 0XC001000E Source UserImport Description Code 0x00000000 Source Log Import Activity Descript... The package execution f

A... The step failed. "

You need to ensure that all the details of the job step failures are retained for SQL Server Agent jobs.

What should you do?

A. Expand agent logging to include information from all events.

B. Disable the Limit size of job history log feature.

C. Configure event forwarding.

D. Configure output files.

Answer: D

Question: 16

DRAG DROP

You administer a Microsoft SQL Server 2012 environment that contains a production SQL Server 2005 instance named SQL2005 and a development SQL Server 2012 instance named SQL2012.

The development team develops a new application that uses the SQL Server 2012 functionality. You are planning to migrate a database from SQL2005 to SQL2012 so that the development team can test their new application.

You need to migrate the database without affecting the production environment.

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

Answer:

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

Question: 17

DRAG DROP

You administer three Microsoft SQL Server 2008 R2 instances.

Database mirroring is configured in High-Safety mode with Automatic Failover between the following three servers:

SQL1 is the Principal server.

SQL2 is the mirror server.

SQL3 is the witness server.

You need to upgrade SQL1 and SQL2 to SQL Server 2012. You need to ensure that downtime is minimized during the upgrade.

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

Answer:

Reference:

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

Question: 18

You administer a Microsoft SQL Server 2012 server that has SQL Server Integration Services (SSIS) installed.

You plan to deploy new SSIS packages to the server. The SSIS packages use the Project Deployment Model together with parameters and Integration Services environment variables.

You need to configure the SQL Server environment to support these packages.

What should you do?

A. Create SSIS configuration files for the packages.

B. Create an Integration Services catalog.

C. Install Data Quality Services.

D. Install Master Data services.

Answer: B

Question: 19

You administer a Microsoft SQL Server 2012 server.

When transaction logs grow, SQL Server must send an email message to the database administrators.

You need to configure SQL Server to send the email messages.

What should you configure?

A. SQL Mail

B. An Extended Events session

C. Alerts and operators in SQL Server Agent

D. Policies under Policy-Based Management

Answer: C

Question: 20

You administer two instances of Microsoft SQL Server 2012. You deploy an application that uses a database on the named instance.

The application is unable to connect to the database on the named instance.

You need to ensure that the application can connect to the named instance.

What should you do?

A. Use the Data Quality Client to configure the application.

B. Start the SQL Server Browser Service.

C. Use the Master Data Services Configuration Manager to configure the application.

D. Start the SQL Server Integration Services Service.

Answer: B