Free Download Microsoft 70-464 PDF Full Version Now (31-40)

QUESTION 31
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?

A.    an Extended Event session
B.    a Policy
C.    a Database Audit Specification
D.    an Alert
E.    a Server Audit Specification
F.    a SQL Profiler Trace
G.    a Resource Pool

Answer: F

QUESTION 32
You plan to create a database that has multiple tables. The tables will contain product information. Each product has a stock-keeping unit (SKU).
You need to recommend a solution to ensure that each SKU starts with the letters “ADV” and is followed by 10 digits. The solution must minimize the amount of development effort required.
What should you include in the recommendation?

A.    A CHECK constraint
B.    A FOREIGN KEY constraint
C.    A trigger
D.    A user-defined data type

Answer: D

QUESTION 33
You have a Microsoft SQL Azure database.
You have the following stored procedure:

image
You discover that the stored procedure periodically fails to update Person.Contact.
You need to ensure that Person.Contact is always updated when UpdateContact executes. The solution must minimize the amount of time required for the stored procedure to execute and the number of locks held.
What should you do?

A.    Add the following line of code to line 08:
WITH (UPDLOCK)
B.    Add the following line of code to line 12:
WITH (UPDLOCK)
C.    Add the following line of code to line 05:
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
D.    Add the following line of code to line 05:
SET TRANSACTION ISOLATION LEVEL SNAPSHOT

Answer: A

QUESTION 34
Your network contains a server named SQL1 that has SQL Server 2012 installed. SQL1 contains a database name DB1 and a table named Customers.
You add an additional server named SQL2 that runs SQL Server 2012.
You need to create a distributed partitioned view. The solution must minimize the amount of network traffic.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Add SQL2 as a Distributor.
B.    Add the Customers table to SQL2.
C.    Add SQL2 as a linked server.
D.    Create the view on SQL1.
E.    Remove the Customers table from SQL1.
F.    Create the view on SQL2.

Answer: B

QUESTION 35
You plan to migrate an instance of SQL Server 2008 to a new installation of SQL Server 2012.
You need to migrate alerts and e-mail notifications.
Which system stored procedures should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A.    sp_syspolicy_create_job
B.    sp_add_operator
C.    sp_audit_write
D.    sp_add_alert

Answer: BC
Explanation:
B: sp_add_operator
Creates an operator (notification recipient) for use with alerts and jobs.
C: sp_audit_write
Adds a user-defined audit event to the USER_DEFINED_AUDIT_GROUP. If USER_DEFINED_AUDIT_GROUP is not enabled, sp_audit_write is ignored.
Incorrect:
Not A: sp_syspolicy_create_job
No such standard stored procedure.
Not D: sp_add_alert
Creates an alert.

QUESTION 36
You have a table named Table1 that stores customer data.
Each customer has a credit limit that can only be discovered by querying multiple tables.
You need to ensure that the value of the credit limit is returned by executing a query on Table1.
What should you create?

A.    A trigger that uses a ranking function
B.    A trigger that uses a table-valued function
C.    A calculated column that uses a table-valued function
D.    A calculated column that uses a scalar function

Answer: D
QUESTION 37
You plan to create a new table that has the following requirements:
– Uses a GUID data type as the primary key.
– Uses a clustered index as the primary key.
– Minimizes fragmentation.
You need to recommend which option to include in the CREATE statement.
Which option should you include?
More than one answer choice may achieve the goal. Select the BEST answer.

A.    ROWGUID
B.    SEQUENCE
C.    NEWID
D.    NEWSEQUENTIALID

Answer: D

QUESTION 38
You are creating a stored procedure named usp1. Usp1 will create a table that will be used during the execution of usp1. Only usp1 will be allowed to access the table.
You need to write the code required to create the table for usp1. The solution must minimize the need to recompile the stored procedure.
Which code segment should you use to create the table?

A.    CREATE TABLE oneTable
B.    CREATE TAB1E ##oneTable
C.    CREATE TABLE #oneTable
D.    DECLARE goneTable TABLE

Answer: B

QUESTION 39
You plan to modify a stored procedure to use temporary data.
The stored procedure must meet the following requirements:
Favor physical memory when physical memory is available. Be able to roll back changes to the temporary data.
You need to recommend which object to add to the stored procedure.
Which T-SQL command should you recommend?

A.    CREATE TABLE ##Table…
B.    CREATE TABLE Table…
C.    CREATE VIEW Table…
D.    CREATE PARTITION SCHEME Table…
E.    DECLARE TABLE @ Table…

Answer: A
Explanation:
Temporary Tables
You can create local and global temporary tables. Local temporary tables are visible only in the current session, and global temporary tables are visible to all sessions. Temporary tables cannot be partitioned.
Prefix local temporary table names with single number sign (#table_name), and prefix global temporary table names with a double number sign (##table_name)

QUESTION 40
You have a database that is accessed by 300 concurrent users.
You need to log all of the queries that become deadlocked.
The solution must meet the following requirements:
– Provide a representation of the deadlock in XML format.
– Minimize the impact on the server.
What should you create?

A.    A SQL Server Profiler trace
B.    A script that enables trace flags
C.    A SQL Server Agent job that retrieves information from the sys.dm_tran_session_transactions dynamic
management views
D.    A SQL Server Agent job that retrieves information from the sys.dm_tran_active_transactions dynamic
management views

Answer: B

If you want to pass Microsoft 70-464 successfully, donot missing to read latest lead2pass Microsoft 70-464 practice tests.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/70-464.html

Lead2pass Testking Pass4sure Actualtests Others
$99.99 $124.99 $125.99 $189 $29.99-$49.99
Up-to-Dated
Real Questions
Error Correction
Printable PDF
Premium VCE
VCE Simulator
One Time Purchase
Instant Download
Unlimited Install
100% Pass Guarantee
100% Money Back