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?

  1. A table variable

  2. An OFFSET-FETCH clause

  3. The ROWNUMBER keyword

  4. 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?

Dumps4Cert 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. 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?

  1. (LastName);

  2. (FirstName) INCLUDE (LastName);

  3. (LastName, FirstName);

  4. (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?

  1. CREATE XML SCHEMA COLLECTION SessionDataTable

  2. CREATE TYPE SessionDataTable AS Table

  3. CREATE SCHEMA SessionDataTable

  4. 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?

  1. Replace line 46 with the following code:

    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE

  2. Replace line 46 with the following code:

    SET TRANSACTION ISOLATION LEVEL REPEATABLE READ

  3. Move the SELECT statement at line 49 to line 57.

  4. 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?

  1. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 0;

  2. ALTER TABLE Attendees

    ADD Confirmed char(l) DEFAULT #39;1#39;;

  3. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 1;

  4. 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?

  1. Usp_UpdateSpeakerName to use the NOLOCK query hint

  2. Usp_UpdateSpeakerName to use snapshot isolation

  3. Usp_SelectSpeakersByName to use the NOLOCK query hint

  4. 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?

  1. The Distributed Transaction Coordinator (DTC)

  2. Transactional replication

  3. Change data capture

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

Dumps4Cert 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

  5. 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?

  1. FullName nvarchar(100) NOT NULL CONSTRAINT DF_FuIlName DEFAULT (dbo.CreateFullName (FirstName, LastName)),

  2. FullName AS (FirstName ‘ ‘ LastName),

  3. FullName nvarchar(100) NOT NULL DEFAULT (dbo.CreateFullName (FirstName, LastName)).

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

Comments are closed.