Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 Aug Microsoft Official New Released 70-464
100% Free Download! 100% Pass Guaranteed!
Developing Microsoft SQL Server 2012 Databases
Question No: 11 – (Topic 2)
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 table variable
-
An OFFSET-FETCH clause
-
The ROWNUMBER keyword
-
A recursive common table expression
Answer: B Explanation:
http://www.mssqltips.com/sqlservertip/2696/comparing-performance-for-different-sql- serverpaging-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- byclause/-
http://www.sqlservercentral.com/blogs/juggling_with_sql/2011/11/30/using-offset-and-fetch/
Question No: 12 – (Topic 2)
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?
-
Option A
-
Option B
-
Option C
-
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
Question No: 13 – (Topic 2)
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?
-
(LastName);
-
(FirstName) INCLUDE (LastName);
-
(LastName, FirstName);
-
(LastName) INCLUDE (FirstName);
Answer: C
Question No: 14 – (Topic 2)
You need to create the object used by the parameter of usp_InsertSessions. Which statement should you use?
-
CREATE XML SCHEMA COLLECTION SessionDataTable
-
CREATE TYPE SessionDataTable AS Table
-
CREATE SCHEMA SessionDataTable
-
CREATE TABLE SessionDataTable
Answer: B
Question No: 15 – (Topic 2)
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?
-
Replace line 46 with the following code:
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
-
Replace line 46 with the following code:
SET TRANSACTION ISOLATION LEVEL REPEATABLE READ
-
Move the SELECT statement at line 49 to line 57.
-
Move the SET statement at line 46 to line 53.
Answer: A
Question No: 16 – (Topic 2)
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?
-
ALTER TABLE Attendees ADD Confirmed bit DEFAULT 0;
-
ALTER TABLE Attendees
ADD Confirmed char(l) DEFAULT #39;1#39;;
-
ALTER TABLE Attendees ADD Confirmed bit DEFAULT 1;
-
ALTER TABLE Attendees
ADD Confirmed char(l) DEFAULT ‘1’;
Answer: A Explanation:
http://msdn.microsoft.com/en-us/library/ms177603.aspx
Question No: 17 – (Topic 2)
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?
-
Usp_UpdateSpeakerName to use the NOLOCK query hint
-
Usp_UpdateSpeakerName to use snapshot isolation
-
Usp_SelectSpeakersByName to use the NOLOCK query hint
-
Usp_SelectSpeakersByName to use snapshot isolation
Answer: C Explanation: NOLOCK
Is equivalent to READUNCOMMITTED. READUNCOMMITTED
Specifies that dirty reads are allowed.
Question No: 18 – (Topic 2)
You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateSpeakerName.
What should you include in the recommendation?
-
The Distributed Transaction Coordinator (DTC)
-
Transactional replication
-
Change data capture
-
Change tracking
Answer: A
Question No: 19 – (Topic 2)
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.)
-
Option A
-
Option B
-
Option C
-
Option D
-
Option E
Answer: B,D
Question No: 20 – (Topic 2)
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?
-
FullName nvarchar(100) NOT NULL CONSTRAINT DF_FuIlName DEFAULT (dbo.CreateFullName (FirstName, LastName)),
-
FullName AS (FirstName ‘ ‘ LastName),
-
FullName nvarchar(100) NOT NULL DEFAULT (dbo.CreateFullName (FirstName, LastName)).
-
FullName AS (FirstName ‘ ‘ LastName) PERSISTED,
Answer: D Explanation:
http://msdn.microsoft.com/en-us/library/ms188300.aspx http://msdn.microsoft.com/en-us/library/ms191250.aspx
100% Dumps4cert Free Download!
–70-464 PDF
100% Dumps4cert Pass Guaranteed!
–70-464 Dumps
Dumps4cert | ExamCollection | Testking | |
---|---|---|---|
Lowest Price Guarantee | Yes | No | No |
Up-to-Dated | Yes | No | No |
Real Questions | Yes | No | No |
Explanation | Yes | No | No |
PDF VCE | Yes | No | No |
Free VCE Simulator | Yes | No | No |
Instant Download | Yes | No | No |