Braindump2go New Updated Exam 70-464 Questions Are the Same With The Microsoft 70-464 Actual Test (21-30)

2015 Latest released Microsoft Official 70-464 Practice Exam Question Free Download From Braindump2go Now! All New Updated 191 Questions And Answers are Real Questions from Microsoft Exam Center!

Vendor: Microsoft
Exam Code: 70-464
Exam Name: Developing Microsoft SQL Server 2014 Databases Exam

19

QUESTION 21
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?

wps66D1.tmp_thumb[2]

A.    WITH ENCRYPTION
B.    WITH VIEW_METADATA
C.    WITH CHECK OPTION
D.    WITH SCHEMABINDING

Answer: C
Explanation:
The question concerning the view that has a clause “WHERE Column1 = ‘City1’ is wrong.
That’s not what the CHECK option is made for. Actually you will be able to updated ONLY the rows satisfied by that WHERE clause, that is, only the rows with the Column1 being ‘City1’.
None of the answers are valid from that question.
You need a trigger to achieve that.
http://msdn.microsoft.com/en-us/library/ms187956.aspx

QUESTION 22
You have an application that uses a view to access data from multiple tables.
You need to ensure that you can insert rows into the underlying tables by using the view.
What should you do?

A.    Define the view by using the SCHEMABINDING option.
B.    Define the view by using the CHECK option.
C.    Create an INSTEAD OF trigger on the view.
D.    Materialize the view.

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms180800.aspx
http://msdn.microsoft.com/en-us/library/ms187956.aspx

QUESTION 23
You have a SQL Azure database.
You execute the following code:
The Sales.Customers table will contain 100,000 rows.
You expect the FaxNumber column to contain a null value for 70 percent of the rows.
You need to create an index to support Sales.CustomersByFaxNumber.
The solution must minimize the disk storage requirements.
Which code segment should you execute?

wps9CDF.tmp_thumb

A.    CREATE INDEX IX_Customers ON Customers (FaxNumber)
WHERE FaxNumber IS NOT NULL
B.    CREATE INDEX IX_Customers ON Customers (FaxNumber)
WITH FILLFACTOR=0
C.    CREATE INDEX IX_Customers ON Customers (CustomerName)
INCLUDE (FaxNumber)
D.    CREATE INDEX IX_Customers ON Customers (FaxNumber)
E.    CREATE INDEX IX_Customers ON Customers (FaxNumber)
WHERE FaxNumber IS NULL

Answer: A

QUESTION 24
You run the following code:
You need to ensure that the root node of the XML data stored in the Details column is <Order_Details>.
What should you implement? More than one answer choice may achieve the goal. Select the BEST answer.

wpsB7EF.tmp_thumb[2]

A.    an XML index
B.    an XML schema collection
C.    a user-defined data type
D.    a Data Definition Language (DDL) trigger
E.    a data manipulation language (DML) trigger

Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/ms187856.aspx

QUESTION 25
Drag and Drop Question
You have a table named Customers that has a clustered index defined on the ID column.
You write a script to create a stored procedure.
You need to complete the script for the stored procedure.
The solution must minimize the number of locks and deadlocks.
What should you do? To answer, drag the appropriate option to the correct location in the answer area. (Answer choices may be used once, more than once, or not at all.)

wpsEB01.tmp_thumb

Answer:

wpsDFEB.tmp_thumb

QUESTION 26
You are creating a table named Orders.
You need to ensure that every time a new row is added to the Orders table, a user-defined function is called to validate the row before the row is added to the table.
What should you use? More than one answer choice may achieve the goal. Select the BEST answer.

A.    a FOREIGN KEY constraint
B.    a data manipulation language (DML) trigger
C.    a DEFAULT constraint
D.    a CHECK constraint
E.    a Data Definition Language (DDL) trigger

Answer: D
Explanation:
http://www.techrepublic.com/blog/programming-and-development/comparing-sql-server-constraints-and-dmltriggers/402
http://msdn.microsoft.com/en-us/library/ms178110.aspx

QUESTION 27
You execute the following code:

wps3396.tmp_thumb

You need to create a covering index on UserInfo.
Which code segment should you execute?

wps4A14.tmp_thumb

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 28
You plan to execute the following code:
You need to identify how many rows will be in dbo.Table1 after you execute the code.
How many rows should you identify?

wps6340.tmp_thumb

A.    3
B.    2
C.    1
D.    0

Answer: D

QUESTION 29
You have an index for a table in a SQL Azure database.
The database is used for Online Transaction Processing (OLTP).
You discover that the index consumes more physical disk space than necessary.
You need to minimize the amount of disk space that the index consumes.
What should you set from the index options?

A.    STATISTICS_NORECOMPUTE = ON
B.    STATISTICS_NORECOMPUTE = OFF
C.    FILLFACTOR = 0
D.    FILLFACTOR = 80

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms177459.aspx
http://msdn.microsoft.com/en-us/library/ms188783.aspx

QUESTION 30
Drag and Drop Question
You execute the following code:

wps82F1.tmp_thumb[2]

You discover that the Customers table was created in the dbo schema.
You need to create a code segment to move the table to another schema named Schema2.
What should you create? To answer, drag the appropriate code segments to the correct location in the answer area. (Answer choices may be used once, more than once, or not at all.)

wpsAD8A.tmp_thumb

Answer:

wpsC2B0.tmp_thumb

Explanation:
Note: ALTER SCHEMA newschema TRANSFER oldschema.TABLE This will transfer the table defined under “oldschema” and transfer it to “newschema”.


Braindump2go New Published Exam Dumps: Microsoft 70-464 Practice Tests Questions, 191 Latest Questions and Answers from Official Exam Centre Guarantee You a 100% Pass! Free Download Instantly!

15

http://www.braindump2go.com/70-464.html

Comments are closed.