(New Version) Actual PassLeader Microsoft 70-464 Exam Questions With Correct Answers (41-50)

Attention: These 70-464 Exam Questions Were Updated After 2014/10/1 With The Change Of New Microsoft Exam. 100 Percent Vaild And 100 Percent Pass Ensure. Visit Our PassLeader Website And Get All Valid Exam Questions With PDF And VCE.

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.)

411[3]

Answer:
412[4]

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
You execute the following code.
431[3]
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 44
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.
441[3]

Answer:
442[3]
QUESTION 45
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.)
451[3]

Answer:
452[3]


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

Case Study 1: Scenario 1 (Question 46 ~ Question 57)
Application Information
You have two servers named SQL1 and SQL2 that have SQL Server 2012 installed. You have an application that is used to schedule and manage conferences. Users report that the application has many errors and is very slow. You are updating the application to resolve the issues. You plan to create a new database on SQL1 to support the application. A junior database administrator has created all the scripts that will be used to create the database. The script that you plan to use to create the tables for the new database is shown in Tables.sql. The script that you plan to use to create the stored procedures for the new database is shown in StoredProcedures.sql. The script that you plan to use to create the indexes for the new database is shown in Indexes.sql. (Line numbers are included for reference only.)
A database named DB2 resides on SQL2. DB2 has a table named SpeakerAudit that will audit changes to a table named Speakers.
A stored procedure named usp_UpdateSpeakersName will be executed only by other stored procedures. The stored procedures executing usp_UpdateSpeakersName will always handle transactions.
A stored procedure named usp_SelectSpeakersByName will be used to retrieve the names of speakers. Usp_SelectSpeakersByName can read uncommitted data. A stored procedure named usp_GetFutureSessions will be used to retrieve sessions that will occur in the future.
Procedures.sql
01[3]
02[2]
Indexes.sql
03[3]
Tables.sql
04[3]

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

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?
491[3]

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

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?
501[2]

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B


Click Here To Get The New Update And 100 Percent Valid & Pass 70-464 Exam Questionshttp://www.passleader.com/70-464.html