Home » New Updated Microsoft MCSE 70-464 Real Exam Questions and Answers Download 29-40

New Updated Microsoft MCSE 70-464 Real Exam Questions and Answers Download 29-40

Ensurepass

QUESTION 29

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. Grant User1the INSERT permission on Table2.

  2. Add User1to the db_datawriter role.

  3. Change sp1to run as the sa user.

  4. Grant User1the EXECUTE permission on sp1.

 

Correct Answer: D

 

 

QUESTION 30

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

 

70-464-demo-30

 

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

 

  • Store string values in any language.

  • Accept a maximum of 200 characters.

  • Be case-insensitive and accent-insensitive.

 

Which code segment should you add at line 03?

 

  1. UserName varchar(200) COLLATE Latin1_General_CI_AI NOT NULL.

  2. UserName nvarchar(200) COLLATE Latin1_General_CI_AI NOT NULL.

  3. UserName nvarchar(200) COLLATE Lati1l_General_CS_AS NOT NULL.

  4. UserName varchar(200) COLLATE Latin1 General CS AS NOT NULL.

 

Correct Answer: B

 

 

QUESTION 31

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.

 

Select and Place:

70-464-demo-31

 

Correct Answer:

70-464-demo-32

 

 

QUESTION 32

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

 

70-464-demo-33

 

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

 

  1. CREATE NCNCLUSTERED INDEX 1X1 on Schema1.Table1 (Column1)

INCLUDE (Column4)

  1. CREATE NCNCLUSTERED INDEX 1X1 on Schema1.Table1(Column1)

  2. CREATE NONCLUSTERED INDEX 1X1 on Schema1.Table1(Column1, Column2,

Column3) INCLUDE (Column4)

  1. CREATE NONCLUSTERED INDEX 1X1 on Schema1.Table1(Column1)

INCLUDE (Column4) WHERE Column2 <> Column3

 

Correct Answer: C

 

 

QUESTION 33

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?

 

70-464-demo-34

 

  1. Option A

  2. Option B

  3. Option C

  4. Option D

 

Correct Answer: C

 

 

QUESTION 34

DRAG DROP

You run the following code segment:

 

70-464-demo-35

 

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

 

Select and Place:

70-464-demo-36

 

Correct Answer:

70-464-demo-37

 

 

QUESTION 35

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. read committed

  2. repeatable read

  3. snapshot

  4. serializable

 

Correct Answer: D

 

 

QUESTION 36

You execute the following code:

 

70-464-demo-38

 

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

 

  1. Replace LEFT(CustomerName ,1) = ‘a’ with CustomerName LIKE ‘a%’.

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

  3. Replace LEFT(CustomerName ,1) = ‘a’ with SUBSTRING(CustomerName ,1/1) = ‘a’.

  4. Replace IX_CustomerName with a clustered index.

 

Correct Answer: A

 

 

QUESTION 37

You execute the following code:

 

70-464-demo-39

 

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?

 

70-464-demo-40

 

  1. Option A

  2. Option B

  3. Option C

  4. Option D

 

Correct Answer: B

 

 

QUESTION 38

You have a SQL Server 2012 database named DB1. You have a backup device named Device1. You discover that the log file for the database is full. You need to ensure that DB1 can complete transactions. The solution must not affect the chain of log sequence numbers (LSNs). Which code segment should you execute?

 

  1. BACKUP LCG DB1 TO Device1WITH COPY_ONLY

  2. BACKUP LOG DB1 TO Device1

  3. BACKUP LOG DB1 TO Device1WITH NCRECCVERY

  4. BACKUP LOG D31 TO Device1WITH TRUNCATE ONLY

 

Correct Answer: B

 

 

QUESTION 39

You have a database for a mission-critical web application. The database is stored on a SQL Server 2012 instance and is the only database on the instance. The application generates all T-SQL statements dynamically and does not use stored procedures. You need to maximize the amount of memory available for data caching. Which advanced server option should you modify?

 

  1. scan for Startup Procs

  2. Allow Triggers to Fire Others

  3. Enable Contained Databases

  4. Optimize for Ad hoc Workloads

 

Correct Answer: C

 

 

QUESTION 40

You execute the following code:

 

70-464-demo-41

 

The execution plan for the query is shown in the exhibit.

 

70-464-demo-42

 

You need to prevent the key lookup.

 

70-464-demo-43

 

  1. Option A

  2. Option B

  3. Option C

  4. Option D

 

Correct Answer: C

 

Instant Access to Download Latest Complete Collection of Microsoft MCSE 70-464 Real Exam

Try Microsoft MCSE 70-464 Free Demo

HOT EXAM!
New Updated Microsoft MCSE 70-464 Real Exam Questions and Answers Download 41-50
New Updated Microsoft MCSE 70-464 Real Exam Questions and Answers Download Topic 4, Application Scenario

Name of author

Name: admin