New Updated Microsoft MCSE 70-464 Real Exam Questions and Answers Download 151-160

Ensurepass

QUESTION 151

You plan to migrate an instance of SQL Server 2008 to a new installation of SQL Server 2012. You need to migrate alerts and e-mail notifications. Which system stored procedures should you use? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

sp_syspolicy_create_job

B.

sp_add_operator

C.

sp_audit_write

D.

sp_add_alert

 

Correct Answer: BC

Explanation:

B: sp_add_operator

Creates an operator (notification recipient) for use with alerts and jobs.

C: sp_audit_write

Adds a user-defined audit event to the USER_DEFINED_AUDIT_GROUP. If USER_DEFINED_AUDIT_GROUP is not enabled, sp_audit_write is ignored.

 

 

QUESTION 152

You have a Microsoft SQL Azure database that contains a table named Customers. You have a table-valued function named TopCustomers that returns a list of all the customers that have purchased items during the last 12 months. The ID of the customer is passed as an argument to the TopCustomers function. You need to create a query that returns a list of all the Customer names and the purchase dates. The solution must return only customers that have purchased an item during the last 12 months. What should you add to the query?

 

A.

OUTER JOIN

B.

CROSS JOIN

C.

CROSS APPLY

D.

OUTER APPLY

 

Correct Answer: C

 

 

QUESTION 153

You have a SQL Server 2012 database named Database1.

 

You execute the following code:

 

clip_image001

 

You insert 3 million rows into Sales.

 

You need to reduce the amount of time it takes to execute Proc1.

 

What should you do?

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 154

DRAG DROP

You have a SQL Server 2012 database named Database1. Database1 has a data file named database1_data.mdf and a transaction log file named database1_Log.ldf.

 

Database1_Data.mdf is 1.5 GB.

 

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

 

clip_image003

 

Correct Answer:

clip_image004

 

 

QUESTION 155

DRAG DROP

You plan to deploy SQL Server 2012. You must create two tables named Table1 and Table2 that will have the following specifications:

 

clip_image006Table1 will contain a date column named Column1 that will contain a null value approximately 80 percent of the time.

clip_image006[1]Table2 will contain a column named Column2 that is the product of two other columns in Table2.

clip_image006[2]Both Table1 and Table2 will contain more than 1 million rows.

 

You need to recommend which options must be defined for the columns. The solution must minimize the storage requirements for the tables. Which options should you recommend?

 

To answer, drag the appropriate options to the correct column in the answer area.

clip_image007

 

Correct Answer:

clip_image008

 

 

QUESTION 156

DRAG DROP

You are designing a database for a university. The database will contain two tables named

 

Classes and StudentGrades that have the following specifications:

 

clip_image006[3]Classes will store brochures in the XPS format.

clip_image006[4]The brochures must be structured in folders and must be accessible byusing UNC paths.

clip_image006[5]StudentGrades must be backed up on a separate schedule than the rest ofthe database.

 

You need to identify which SQL Server technology meets the specifications of each table. Which technologies should you identify?

 

To answer, drag the appropriate technology to the correct table in the answer area.

 

clip_image009

 

Correct Answer:

clip_image010

 

 

QUESTION 157

DRAG DROP

You have a SQL Azure database named Database1. You need to design the schema for a table named table1.

 

Table1 will have less than one million rows. Table1 will contain the following information for each row:

 

clip_image012

 

The solution must minimize the amount of space used to store each row. Which data types should you recommend for each column? To answer, drag the appropriate data type to the correct column in the answer area.

 

clip_image013

 

Correct Answer:

clip_image014

 

 

QUESTION 158

Your network contains a server named SQL1 that has SQL Server 2012 installed. SQL1 contains a database name DB1 and a table named Customers. You add an additional server named SQL2 that runs SQL Server 2012. You need to create a distributed partitioned view. The solution must minimize the amount of network traffic. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

Add SQL2 as a Distributor.

B.

Add the Customers table to SQL2.

C.

Add SQL2 as a linked server.

D.

Create the view on SQL1.

E.

Remove the Customers table from SQL1.

F.

Create the view on SQL2.

 

Correct Answer: BCDF

 

 

QUESTION 159

You have a table named Table1 that stores customer data. Each customer has a credit limit that can only be discovered by querying multiple tables. You need to ensure that the value of the credit limit is returned by executing a query on Table1. What should you create?

 

A.

A trigger that uses a ranking function

B.

A trigger that uses a table-valued function

C.

A calculated column that uses a table-valued function

D.

A calculated column that uses a scalar function

 

Correct Answer: C

 

 

QUESTION 160

You are creating a stored procedure named usp1. Usp1 will create a table that will be used during the execution of usp1. Only usp1 will be allowed to access the table. You need to write the code required to create the table for usp1. The solution must minimize the need to recompile the stored procedure. Which code segment should you use to create the table?

 

A.

CREATE TABLE oneTable

B.

CREATE TABLE ##oneTable

C.

CREATE TABLE #oneTable

D.

DECLARE oneTable TABLE

 

Correct Answer: B

 

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

Try Microsoft MCSE 70-464 Free Demo