Lead2pass are providing complete solutions for Microsoft 70-464 that will help the candidates learn extensively and score exceptional in the Microsoft ’s 70-464 exam. Passing the Microsoft is not a dream anymore as our user friendly learning resources ensure guaranteed success.
QUESTION 41
Drag and Drop Question
You are planning two stored procedures named SProc1 and SProc2.
You identify the following requirements:
– SProc1 must return a table.
– SProc2 must return a scalar value.
You need to identify which option must be implemented for each stored procedure to return the desired data. Which options should you identify? To answer, drag the appropriate option to the correct requirement in the answer area. (Answer choices may be used once, more than once, or not at all.)
Answer:
QUESTION 42
You have a SQL Server 2012 instance that hosts a single-user database.
The database does not contain user-created stored procedures or user-created functions.
You need to minimize the amount of memory used for query plan caching.
Which advanced server option should you modify?
A. Enable Contained Databases
B. Allow Triggers to Fire Others
C. Optimize for Ad hoc Workloads
D. Scan for Startup Procs
Answer: C
QUESTION 43
Drag and Drop Question
You have a SQL Server 2012 database named Database1. Database1 has a data file named Database1_data.mdf and a transaction log named Database1jog.ldf. Database1_data.mdf is 1.5 GB. Database1jog.ldf is 1.5 terabytes.
A full backup of Database1 is performed every day.
You need to reduce the size of the log file. The solution must ensure that you can perform transaction log backups in the future.
Which code segment should you execute? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
Answer:
QUESTION 44
Drag and Drop Question
You have a database named database1. Each table in database1 has one index per column. Users often report that creating items takes a long time.
You need to perform the following maintenance tasks:
– Identify unused indexes.
– Identify indexes that need to be defragmented.
What should you use?
To answer, drag the appropriate function to the correct management task in the answer area. (Answer choices may be used once, more than once, or not at all.)
Answer:
QUESTION 45
You execute the following code.
You need to reduce the amount of time it takes to execute the query.
What should you do?
A. Change SUBSTRING (JobTitle, l, l) = ‘c’ to LEFT(JobTitle,1) = ‘c’.
B. Change SUBSTRING(JobTitle, l, l) = ‘c’ to JobTitle LIKE ‘c%\
C. Partition the table and use the JobTitle column for the partition scheme.
D. Replace IX_Employees with a clustered index.
Answer: B
QUESTION 46
You are evaluating the index design.
You need to recommend a change to Indexes.sql that will minimize the amount of time it
takes for usp_AttendeesReport to execute.
The solution must minimize the amount of database fragmentation.
Which line of code should you use to replace line 12 of Indexes.sql?
A. (LastName);
B. (FirstName) INCLUDE (LastName);
C. (LastName, FirstName);
D. (LastName) INCLUDE (FirstName);
Answer: C
QUESTION 47
You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateSpeakerName.
What should you include in the recommendation?
A. The Distributed Transaction Coordinator (DTC)
B. Transactional replication
C. Change data capture
D. Change tracking
Answer: A
QUESTION 48
You need to modify usp_SelectSpeakersByName to support server-side paging.
The solution must minimize the amount of development effort required.
What should you add to usp_SelectSpeakersByName?
A. an OFFSET-FETCH clause
B. a table variable
C. the ROWNUMBER keyword
D. a recursive common table expression
Answer: A
Explanation:
http://www.mssqltips.com/sqlservertip/2696/comparing-performance-for-different-sql-server-paging-methods/
http://msdn.microsoft.com/en-us/library/ms188385.aspx
http://msdn.microsoft.com/en-us/library/ms180152.aspx
http://msdn.microsoft.com/en-us/library/ms186243.aspx
http://msdn.microsoft.com/en-us/library/ms186734.aspx
http://www.sqlserver-training.com/how-to-use-offset-fetch-option-in-sql-server-order-by-clause/-
http://www.sqlservercentral.com/blogs/juggling_with_sql/2011/11/30/using-offset-and-fetch/
QUESTION 49
You are evaluating the table design.
You need to recommend a change to Tables.sql that reduces the amount of time it takes for usp_AttendeesReport to execute.
What should you add at line 14 of Tables.sql?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation:
http://msdn.microsoft.com/en-us/library/ms188300.aspx
http://msdn.microsoft.com/en-us/library/ms191250.aspx
QUESTION 50
You need to provide referential integrity between the Sessions table and Speakers table.
Which code segment should you add at line 47 of Tables.sql?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/ms189049.aspx
http://msdn.microsoft.com/en-us/library/ms179610.aspx
http://msdn.microsoft.com/en-us/library/ff878370.aspx
Lead2pass Microsoft 70-464 practice question and answer PDF set is developed using the latest Microsoft exam content published by Microsoft. Every Microsoft 70-464 exam question is verified and detailed descriptions are given to understand the answer fully. Microsoft’s comprehensive and relevant answers along with examples help the user grasp the concepts thoroughly.