PrepAway - Latest Free Exam Questions & Answers

Category: 70-464 (v.3)

Briefing 70-464: Developing Microsoft SQL Server 2012 Databases (update January 2nd, 2018)

What should you add to the query?

You have a database that contains a table named Department. Department contains the names and locations
of each department.
You have a table-valued function named ProjectList() that returns a list of all the projects assigned to a
department. The name of the department is passed as an argument to the ProjectList() function.
You need to create a query that returns a list of all the department names and the project names. The solution
must return only departments that are associated to projects.
What should you add to the query?

What should you include in the recommendation?

You plan to create a database that has multiple tables. The tables will contain product information. Each
product has a stock-keeping unit (SKU).
You need to recommend a solution to ensure that each SKU starts with the letters “ADV” and is followed by 10
digits.
The solution must minimize the amount of development effort required.
What should you include in the recommendation?

What should you change Proc1 to do?

You have a database named Database1. Database1 has two stored procedures named Proc1 and Proc2 and a
table named Table1. Table1 has millions of rows.
Proc1 updates data in Table1. Proc2 reads data from Table1.
You discover that when Proc1 is executed to update more than 4,000 rows, Proc2 is blocked. The block affects
all rows, including those that are not being updated by Proc1. You need to ensure that when Proc1 is executing,
Proc2 can access the data in Table1 that Proc1 is not updating.
What should you change Proc1 to do?
More than one answer choice may achieve the goal. Select the BEST answer.

You need to ensure that HR.Employees is always updated …

You have a Microsoft SQL Azure database.
You have the following stored procedure:

You discover that the stored procedure periodically fails to update HR.Employees.
You need to ensure that HR.Employees is always updated when up_employees executes.
The solution must minimize the amount of time required for the stored procedure to execute and the number of
locks held.
What should you do?

Which options should you identify?

You are planning two stored procedures named SProc1 and SProc2. You identify the following requirements:
SProc1 must return a table.
SProc2 must return a status code.
You need to identify which options must be implemented to meet each stored procedure requirement.
Which options should you identify?
To answer, drag the appropriate option to the correct requirement in the answer area. (Answer choices may be
used once, more than once, or not at all.)
Select and Place:

Which code segment should you add at line 06?

You have a database hosted on SQL Azure.
You are developing a script to create a view that will be used to update the data in a table.
The following is the relevant portion of the script. (Line numbers are included for reference only.)

You need to ensure that the view can update the data in the table, except for the data in Column1.
Which code segment should you add at line 06?

Which query should you use?

You have a database that contains a user-defined function named Schema1.Udf1 and two tables named
Schema1.Table1 and Schema1.Table2.
Schema1.Table1 has 1 million rows. The schema for Schema1.Table1 is configured as shown in the following
table.

Schema1.Udf1 was defined by using the following code:

You need to write a query that will contain the following columns:
Country
CountryID
CustomerName
The solution must meet the following requirements:
Rows must be returned only if the function returns data.
The amount of time it takes the query to execute must be minimized.
Which query should you use?

Which technologies should you identify?

You are designing two stored procedures named Procedure1 and Procedure2.
You identify the following requirements:
Procedure1 must take a parameter that ensures that multiple rows of data can pass into the stored
procedure.
Procedure2 must use business logic that resides in a Microsoft .NET Framework assembly.
You need to identify the appropriate technology for each stored procedure.
Which technologies should you identify?
To answer, drag the appropriate technology to the correct stored procedure in the answer area. (Answer
choices may be used once, more than once, or not at all.)
Select and Place:


Page 10 of 19« First...89101112...Last »