Microsoft Administering Microsoft SQL Server 2012 Databases 70-462 Exam Practice Test

Page: 1 / 14
Total 300 questions
Question 1

Which of the following transaction safety setting in SQL Server 2012 mirroring forces the mirror to be synchronized with the primary at all times?



Question 2

You administer a Microsoft SQL Server 2012 database named ContosoDb. Tables are defined as shown in the exhibit. (Click the Exhibit button.)

You need to display rows from the Orders table for the Customers row having the CustomerId value set to 1 in the following XML format.

Which Transact-SQL query should you use?



Answer : E


Question 3

You install SQL Server on a new server named SQL1 and create several databases.

Users report that they fail to connect to any of the databases on SQL1.

You discover that the TCP connections are disabled for the database engine on SQL1.

You need to ensure that the users can connect to the databases on SQL1.

What should you use?



Answer : C

To enable the TCP/IP network protocol

References:

https://technet.microsoft.com/en-us/library/hh231672(v=sql.110).aspx


Question 4

Your database contains a table named SalesOrders. The table includes a DATETIME column named OrderTime that stores the date and time each order is placed. There is a non-clustered index on the OrderTime column. The business team wants a report that displays the total number of orders placed on the current day.

You need to write a query that will return the correct results in the most efficient manner.

Which Transact-SQL query should you use?



Answer : D


Question 5

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

You need to diagnose deadlocks that happen when executing a specific set of stored procedures by recording events and playing them back on a different test server.

What should you create?



Answer : F


Question 6

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?



Answer : B


Question 7

You develop a Microsoft SQL Server 2012 database that contains tables named Employee and Person. The tables have the following definitions:

You create a view named VwEmployee as shown in the following Transact-SQL statement.

Users are able to use single INSERT statements or INSERT...SELECT statements into this view. You need to ensure that users are able to use a single statement to insert records into both Employee and Person tables by using the VwEmployee view.

Which Transact-SQL statement should you use?



Answer : B


Page:    1 / 14   
Total 300 questions