[Free] 2019(Nov) EnsurePass Microsoft 70-464 Dumps with VCE and PDF 1-10

Get Full Version of the Exam
http://www.EnsurePass.com/70-464.html

Question No.77

DRAG DROP

You have a table named Table1 that contains 1 million rows. Table1 contains a column named Column1 that stores sensitive information. Column1 uses the nvarchar (16) data type. You have a certificate named Cert1. You need to replace Column1 with a new encrypted column named Column2 that uses one-way hashing. Which code segment should you execute before you remove Column1?

To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

image

Correct Answer:

image

Question No.78

You use SQL Azure to store data used by an e-commerce application. You develop a stored procedure named sp1. Sp1 is used to read and change the price of all the products sold on the e- commerce site. You need to ensure that other transactions are blocked from updating product

data while sp1 is executing. Which transaction isolation level should you use in sp1?

  1. Repeatable read

  2. Read committed

  3. Serializable

  4. Snapshot

Correct Answer: C

Question No.79

You review a query that runs slowly. The query accesses data in a table named Schema1.Table1. The following is the relevant portion of the execution plan for the query:

image

You need to create the missing index. Which code segment should you execute?

  1. CREATE NONCLUSTERED INDEX IX1 on Schema1.Table1 (Column1) INCLUDE (Column4) WHERE Column2 lt;gt; Column3

  2. CREATE NONCLUSTERED INDEX IX1 on Schema1.Table1 (Column1)

  3. CREATE NONCLUSTERED INDEX IX1 on Schema1.Table1 (Column1, Column2, Column3) INCLUDE (Column4)

  4. CREATE NONCLUSTERED INDEX IX1 on schema1.Table1 (Column1) INCLUDE (Column4)

Correct Answer: C

Question No.80

You use SQL Server 2012 to maintain the data used by the applications at your company. You plan to create a table named Table1 by using the following statement. (Line numbers are included for reference only.)

image

You need to ensure that Table1 contains a column named UserName. The UserName column will:

image

image

Store string values in any language. Accept a maximum of 200 characters.

image

Be case-insensitive and accent-insensitive. Which code segment should you add at line 03?

  1. UserName nvarchar(200) COLLATE Latin1_General_CS_AS NOT NULL,

  2. UserName varchar(200) COLLATE Latin1_General_CI_AI NOT NULL,

  3. UserName varchar(200) COLLATE Latin 1_General_CS_AS NOT NULL,

  4. UserName nvarchar(200) COLLATE Latin1_General_CI_AI NOT NULL,

Correct Answer: D

Question No.81

You execute the following code:

image

You need to select the task that has an IsFinished value of true from the Project that has an Id value of 1. Which code segment should you use?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: B

Question No.82

You are creating a table to support an application that will cache data outside of SQL Server. The application will detect whether cached values were changed before it updates the values. You need to create the table, and then verify that you can insert a row into the table. Which code segment should you use?

image

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Correct Answer: C

Explanation:

http://msdn.microsoft.com/en-us/library/ms182776.aspx http://msdn.microsoft.com/en- us/library/ms187942.aspx http://msdn.microsoft.com/en-us/library/ms190348.aspx

Question No.83

Your company has a SQL Azure subscription. You implement a database named Database1. Database1 has two tables named Table1 and Table2. You create a stored procedure named sp1. Sp1 reads data from Table1 and inserts data into Table2. A user named User1 informs you that he is unable to run sp1. You verify that User1 has the SELECT permission on Table1 and Table2. You need to ensure that User1 can run sp1. The solution must minimize the number of permissions assigned to User1. What should you do?

  1. Change sp1 to run as the saUser.

  2. Grant User1 the EXECUTE permission on sp1.

  3. Add User1 to the db_datawriter role.

  4. Grant User1 the INSERT permission on Table2.

Correct Answer: B

Explanation:

http://msdn.microsoft.com/en-us/library/ms191291.aspx

Question No.84

DRAG DROP

You run the following code segment:

image

After you add 10,000 rows to Customers, you discover that the index is fragmented. You need to defragment the index in the least amount of time. Which code segment should you execute?

To answer, drag the appropriate value to the correct location in the code segment in the answer area. (Answer choices may be used once, more than once, or not at all.)

image

Correct Answer:

image

Question No.85

You execute the following code:

image

You create a nonclustered index named IX_CustomerName on the CustomerName column. You execute the following query:

image

You need to reduce the amount of time it takes to execute the query. What should you do?

  1. Partition the table and use the CustomerName column for the partition scheme.

  2. Replace IX_CustomerName with a clustered index.

  3. Replace LEFT(CustomerName ,1) = #39;a#39; with CustomerName LIKE #39;a%#39;.

  4. Replace LEFT(CustomerName ,1) = #39;a#39; with SUBSTRING(CustomerName ,1,1) – #39;a#39;.

Correct Answer: C

Explanation:

http://msdn.microsoft.com/en-us/library/ms179859.aspx http://msdn.microsoft.com/en- us/library/ms187748.aspx

Question No.86

You have a table named Rooms that contains three columns. You execute the following query:

image

You discover the execution plan shown in the exhibit. (Click the Exhibit button.)

image

You need to recommend a solution to reduce the amount of time it takes to execute the query. What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

  1. Include the RoomName column and the Position column in the Room_IX index.

  2. Create a nonclustered index for RoomName, Id, and Position.

  3. Create a clustered index for Id.

  4. Use the WITH (INDEX(Room_IX),NOLOCK) query hint.

Correct Answer: B

Get Full Version of the Exam
70-464 Dumps
70-464 VCE and PDF

You must be logged in to post a comment.

Proudly powered by WordPress   Premium Style Theme by www.gopiplus.com