Latest Microsoft 70-464 Practice Tests Free Download with PDF & VCE (31-40)

July 7, 2014

QUESTION 31
You plan to design an application that temporarily stores data in a SQL Azure database. You need to identify which types of database objects can be used to store data for the application. The solution must ensure that the application can make changes to the schema of a temporary object during a session. Which type of objects should you identify?

A.    common table expressions (CTEs)
B.    table variables
C.    temporary tables
D.    temporary stored procedures

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms175972.aspx http://msdn.microsoft.com/en-us/library/ms189084.aspx http://msdn.microsoft.com/en-us/library/ms175010.aspx http://msdn.microsoft.com/en-us/library/bb510489.aspx http://msdn.microsoft.com/en-us/library/ms187926.aspx http://zacksfiasco.com/post/2010/01/21/SQL-Server-Temporary-Stored-Procedures.aspx

QUESTION 32
You have a text file that contains an XML Schema Definition (XSD). You have a table named Schemal.Table1. You have a stored procedure named Schemal.Proc1 that accepts an XML parameter named Param1. You need to store validated XML data in Schemal.Table1. The solution must ensure that only valid XML data is accepted by Param1. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Define an XML column in Table1 by using an XML schema collection.
B.    Create an XML schema collection in the database from the text file.
C.    Declare Param1 var1 as type XML and associate the variable to the XML schema collection.
D.    use the modify method to insert the XML schema into each row of the XML column in Table1.

Answer: ABD
Explanation:
http://msdn.microsoft.com/en-us/library/bb510420.aspx http://msdn.microsoft.com/en-us/library/ms187856.aspx
http://msdn.microsoft.com/en-us/library/ms176009.aspx http://msdn.microsoft.com/en-us/library/hh403385.aspx http://msdn.microsoft.com/en-us/library/ms184277.aspx

QUESTION 33
Drag and Drop Question
You plan to deploy two stored procedures named SP1 and SP2 that read data from the database. Your company identifies the following requirements for each stored procedure:
– SP1 must allow dirty reads.
– SP2 must place range locks on the data to ensure read consistency.
You need to identify which isolation level you must set for each stored procedure. The solution must minimize the number of locks. Which isolation level should you identify? To answer, drag the appropriate isolation level to the correct stored procedure in the answer area. (Answer choices may be used once, more than once, or not at all.)

image
Answer:

image

QUESTION 34
You have an index for a table in a SQL Azure database. The database is used for Online Transaction Processing (OLTP). You discover that many page splits occur when records are inserted or updated in the table. You need to minimize the number of page splits. What should you set from the index options?

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

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

QUESTION 35
You have a SQL Server 2012 database named Database1. You execute the following code:

image
You insert 3 million rows into Sales. You need to reduce the amount of time it takes to execute Proc1. What should you do?

A.    ProductType varchar(11) ‘@ProductType’,
B.    ProductType varchar(11) ‘ProductType/ID’,
C.    ProductType varchar(11) ‘ProductType/@ID’,
D.    ProductType varchar(11) ‘ProductType1’.

Answer: D

QUESTION 36
You have a SQL Azure database. You execute the following script:
CREATE TABLE dbo.Table1
(
Column1 int PRIMARY KEY,
Colunm2 varchar(50) SPARSE NULL )
You add 1 million rows to Table1. Approximately 85 percent of all the rows have a null value for Column2. You plan to deploy an application that will search Column2. You need to create an index on Table1 to support the planned deployment. The solution must minimize the storage requirements. Which code segment should you execute?

A.    CREATE INDEX IX_Table1 ON Table1 (Column2)
WITH FILLFACTOR-0
B.    CREATE INDEX IX_Table1 OK Table1 (Column1)
INCLUDE (Column2)
C.    CREATE INDEX IX_Table1 ON Table1 (Column2)
WHERE Column2 IS NULL
D.    CREATE INDEX IX_Table1 ON Table1 (Column2)
WHERE Column2 IS NOT NOLL

Answer: D
Explanation:
http://msdn.microsoft.com/en-us/library/ms188783.aspx http://msdn.microsoft.com/en-us/library/cc280372.aspx

QUESTION 37
You are creating a table named Orders. You need to ensure that every time a new row is added to the Orders table, a table that is used for auditing is updated. What should you use? More than one answer choice may achieve the goal. Select the BEST answer.

A.    a CHECK constraint
B.    a FOREIGN KEY constraint
C.    a DEFAULT constraint
D.    a data manipulation language (DML) trigger
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 38
You have a SQL Azure database. You need to identify which keyword must be used to create a view that will be indexed. Which keyword should you identify?

A.    VIEW_METADATA
B.    SCHEMABINDING
C.    DEFAULT
D.    DISTINCT

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

QUESTION 39
Drag and Drop Question
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.)

image
Answer:

image

QUESTION 40
You create a view by using the following code:

image
Several months after you create the view, users report that the view has started to return unexpected results. You discover that the design of Table2 was modified since you created the view. You need to ensure that the view returns the correct results. Which code segment should you run?

image

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

Answer: A

If you want to pass Microsoft 70-464 successfully, donot missing to read latest lead2pass Microsoft 70-464 exam questions.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

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

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org