70-462 Exam - Administering Microsoft SQL Server 2012 Databases

certleader.com

Q1. You plan to install Microsoft SQL Server 2012 for a web hosting company. 

The company plans to host multiple web sites, each supported by a SQL Server database. 

You need to select an edition of SQL Server that features backup compression of databases, basic data integration features, and low total cost of ownership. 

Which edition should you choose? 

A. Express Edition with Tools 

B. Standard Edition 

C. Web Edition 

D. Express Edition with Advanced Services 

Answer:

Q2. You administer a Microsoft SQL Server 2012 database instance. 

You plan to migrate the database to Windows Azure SQL Database. You verify that all objects contained in the database are compatible with Windows Azure SQL Database. 

You need to ensure that database users and required server logins are migrated to Windows Azure SQL Database. 

What should you do? 

A. Use the Copy Database wizard. 

B. Back up the database from the local server and restore it to Windows Azure SQL Database. 

C. Use the Database Transfer wizard. 

D. Use SQL Server Management Studio to deploy the database to Windows Azure SQL Database. 

Answer:

Q3. 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:

Q4. You develop a database for a travel application. You need to design tables and other database objects. You create a view that displays the dates and times of the airline schedules on a report. 

You need to display dates and times in several international formats. 

What should you do? 

A. Use the CAST function. 

B. Use the DATE data type. 

C. Use the FORMAT function. 

D. Use an appropriate collation. 

E. Use a user-defined table type. 

F. Use the VARBINARY data type. 

G. Use the DATETIME data type. 

H. Use the DATETIME2 data type. 

I. Use the DATETIMEOFFSET data type. 

J. Use the TODATETIMEOFFSET function. 

Answer: C

Q5. You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. 

You need to track all SELECT statements issued in the Contoso database only by users in a role named Sales. 

What should you create? 

A. An Alert 

B. A Resource Pool 

C. An Extended Event session 

D. A Server Audit Specification 

E. A SQL Profiler Trace 

F. A Database Audit Specification 

G. A Policy 

H. A Data Collector Set 

Answer:

Q6. 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:

Q7. You install Microsoft SQL Server 2012 on a new server. 

After setup is complete, you attempt to start the SQL Server service. After being in a starting state for a few moments, the service goes back to a stopped state. You need to determine the cause of the failure. 

Which file should you use? 

A. %programfiles%\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\Errorlog 

B. %programfiles%\Microsoft SQL Server\110\Setup Bootstrap\Log\Summary.txt 

C. %programfiles%\Microsoft SQL Server\110\Shared\ErrorDumps\SQLDmpr[XXXX].mdmp 

D. %programfiles%\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\mastlog.ldf 

Answer:

Q8. You have been hired as a Database Consultant by ABC.com to design a SQL Server 2012 database solution. 

You are tasked with designing a scale-out and high-availability SQL Server 2012 Online 

Transaction Processing (OLTP) database solution that will maintain copies of data across two server instances. 

Your solution must provide scale-out of read operations by distributing the reads from clients across two SQL Server 2012 nodes. The data in both SQL Server nodes needs to be indexed. 

What should you include in your solution? 

A. You should include two servers configured in an Active-Active SQL Server 2012 Cluster 

B. You should include a primary SQL Server 2012 database that uses transactional replication to replicate data to a secondary database. 

C. You should include two servers configured in an Active-Passive SQL Server 2012 Cluster. 

D. You should include two servers in an Asynchronous-Commit Availability Mode Availability Group. 

E. You should include two servers in a Synchronous-Commit Availability Mode Availability Group 

Answer:

Q9. 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 do not provide the required detail. 

The following error message is an example error message: 

"The job failed. The Job was invoked by User CONTOSO\ServiceAccount. The last step to run was step 1 (Subplan_1)." 

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

What should you do? 

A. Configure output files. 

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

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

D. Configure event forwarding. 

Answer:

Q10. You are implementing a SQL Server 2012 five-node failover cluster. 

You need to choose a quorum configuration. 

Which configuration should you use? 

A. Distributed File System (DFS) 

B. Node Majority 

C. Cluster Shared Volume (CSV) 

D. Node and Disk Majority 

Answer: D