Pass 70-464 100% By Using Latest 70-464 Exam Questions in PDF&VCE From Microsoft Official Exam Center! (41-50)
Microsoft Official Exam Center New Released 70-464 Dumps Questions, Many New Questions added into it! Braindump2go Offer Free Sample Questions and Answers for Download Now! Visit Our Webiste, get the new updated Questions then pass Microsoft 70-464 at the first try!
Vendor: Microsoft
Exam Code: 70-464
Exam Name: Developing Microsoft SQL Server 2014 Databases Exam
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 shoul
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
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
Indexes.sql
Tables.sql
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: C
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
Braindump2go New Released 70-464 Dumps PDF are Now For Free Download, 191 Latest Questions, Download It Right Now and Pass Your Exam 100%: