Lead2pass provides set of 70-464 practice test and the guaranteed preparation material to boost up your confidence. Successful candidates have provided their reviews about our guaranteed 70-464 preparation material, you can come to realize the real worth of our featured products through overviewing the reviews and testimonials.
QUESTION 51
You need to add a new column named Confirmed to the Attendees table.
The solution must meet the following requirements:
– Have a default value of false.
– Minimize the amount of disk space used.
Which code block should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/ms177603.aspx
QUESTION 52
You execute usp_TestSpeakers.
You discover that usp_SelectSpeakersByName uses inefficient execution plans.
You need to update usp_SelectSpeakersByName to ensure that the most efficient execution plan is used.
What should you add at line 30 of Procedures.sql?
A. OPTION (FCRCESCAN)
B. OPTION (FCRCESEEX)
C. OPTION (OPTIMIZE FOR UNKNOWN)
D. OPTION (OPTIMIZE FOR (@lastName = ‘Anderson’))
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms181714.aspx
QUESTION 53
You need to create the object used by the parameter of usp_InsertSessions.
Which statement should you use?
A. CREATEXML SCHEMA COLLECTION SessionDataTable
B. CREATETYPE SessionDataTable AS Table
C. CREATESCHEMA SessionDataTable
D. CREATETABLE Sessior.EataTable
Answer: C
QUESTION 54
Developers report that usp_UpdateSessionRoom periodically returns error 3960.
You need to prevent the error from occurring. The solution must ensure that the stored procedure returns the original values to all of the updated rows.
What should you configure in Procedures.sql?
A. Replace line 46 with the following code:SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
B. Replace line 46 with the following code:SETTRANSACTIONISOLATIONLEVELREPEATABLEREAD
C. Move the SELECT statement at line 49 to line 57.
D. Move the SET statement at line 46 to line 53.
Answer: A
QUESTION 55
You discover that usp.SelectSpeakersByName executes slowly if usp_UpdateSpeakerName executes simultaneously.
You need to minimize the execution time of usp.SelectSpeakersByName.
The solution must not affect the performance of the other stored procedures.
What should you update?
A. Usp_UpdateSpeakerName to use the NOLOCK query hint
B. Usp_UpdateSpeakerName to use snapshot isolation
C. Usp_SelectSpeakersByName to use the NOLOCK query hint
D. Usp_SelectSpeakersByName to use snapshot isolation
Answer: C
QUESTION 56
While testing usp.GetFutureSessions, you discover that IX_Sessions is accessed by a scan rather than a seek.
You need to minimize the amount of time it takes to execute usp_GetFutureSessions.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
F. Option F
Answer: BE
QUESTION 57
You need to ensure that if any of the statements in usp_UpdateSpeakerName return an error message, all of the changes executed by usp_UpdateSpeakerName are not committed to the database.
What should you do in Procedures.sql? (Each correct answer presents part of the solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Answer: BD
QUESTION 58
You need to modify InsertInvoice to comply with the application requirements.
Which code segment should you execute?
A. OPEN CERT1;
ALTER PROCEDURE Accounting.usp_AuthPayment
WITH ENCRYPTION;
CLOSE CERT1;
B. OPEN CERT2;
ALTER PROCEDURE Accounting,usp_AuthPayment
WITH ENCRYPTION;
CLOSE CERT2;
C. ADD SIGNATURE TO Accounting.usp_AuthPayment
BY CERTIFICATE CERT1;
D. ADD SIGNATURE TO Accounting.usp_AuthPayment
BY CERTIFICATE CERT2;
Answer: D
QUESTION 59
Which data type should you use for CustomerID?
A. varchar(11)
B. bigint
C. nvarchar(11)
D. char(11)
Answer: D
QUESTION 60
You need to modify the function in CountryFromlD.sql to ensure that the country name is returned instead of the country ID.
Which line of code should you modify in CountryFromlD.sql?
A. 06
B. 04
C. 19
D. 05
Answer: C
These 70-464 exam questions and answers in PDF are prepared by our expert, Moreover, they are based on the recommended syllabus covering all the 70-464 exam objectives. You will find them to be very helpful and precise in the subject matter since all the Microsoft 70-464 exam content is regularly updated and has been checked for accuracy by our team of Microsoft expert professionals.