100% Pass 70-464 Real Test is not a dream! Braindump2go Latest Released 70-464 Exam Practice Exam Dumps will help you pass 70-464 Exam one time easiluy! Free Sample Exam QAuestions and Answers are offered for free download now! Quickly having a try today! Never loose this valuable chance!

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

192

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_thumb2_thumb

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_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_thumb2_thumb

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_thumb

Answer:

wpsDFEB.tmp_thumb_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_thumb

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

wps4A14.tmp_thumb_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_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_thumb2_thumb

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_thumb

Answer:

wpsC2B0.tmp_thumb_thumb

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


For those who feel the overwhelming anxiety before their 70-464 exam,Braindump2go Latest updated 70-464 Exam Dumps will help you Pass 100% in a short time preparation! 70-464 Exam Dumps PDF & VCE Full Version Instant Download!

152

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