Exam 70-451 preparation questions

Page 1

Exam 70-451 study material Made available by Testkingprep.com

Free 70-451 Exam Preparation Questions Exam 70-451: PRO: Designing Database Solutions and Data Access Using Microsoft SQL Server 2008

For Latest 70-451 Exam Questions and study guides- visit- http://www.testkingprep.com/70-451.html


Question:1 You work in an International company named TAKEEEN. And you're in charge of the database of your company. You intend to use SQL Server 2008 to create a database solution. A database contains a table named Clauses. Information about 100 million insurance clauses are stored in this table. A complex stored procedure executes daily to count the risk amount of each clause and stores the information in the table. Query time-out errors occur and users experience poor performance when the stored procedure executes. In order to optimize the performance, you optimize the queries used in the stored procedure. You must make sure that when the stored procedure is being executed, the users will be affected as little as possible and the disruption to them is minimal. So what should you do? A. You should use the READ UNCOMMITTED transaction isolation level B. You should split the execution of the stored procedure into batches C. Before you update the Clauses table, the risk amounts should be written to a temporary table D. Before you update the Clauses table, the risk amounts should be written to a table variable Answer: B Question:2 You work in an International company named TAKEEEN. And you're in charge of the database of your company. You intend to use SQL Server 2008 to create a database solution. A stored procedure load data into a table by using the INSERT, UPDATE, and DELETE statements separately. Now you want to load the data by using a single statement. Therefore, the stored procedure has to be rewritten. So what should you do? A. ou should use a WHEN MATCHED clause and a WHEN NOT MATCHED BY SOURCE clause to write a MERGE statement B. You should use a WHEN MATCHED clause and a WHEN NOT MATCHED BY TARGET clause to write a MERGE statement. C. You should use a WHEN MATCHED clause and two WHEN NOT MATCHED BY SOURCE clauses to write a MERGE statement by D. You should use a WHEN MATCHED clause, a WHEN NOT MATCHED BY TARGET clause, and a WHEN NOT MATCHED BY SOURCE clause to write a MERGE statement Answer: D Question:3 You work in an International company named TAKEEEN. And you're in charge of the database of your company. You intend to use SQL Server 2008 to create a database solution.The product inventory information such as Item, Class, Quantity, Department is contained in a table of the database. You intend to write a query by using as little number of Transact-SQL statements as possible. The query will produce the sum of quantity data broken into these groups: Department; Department and Item; Department and Class; Department, Class, and Item. What should you do to write the query? A. You should write a single query and the query should include a GROUP BY clause B. You should write a single query that the query should include a GROUP BY WITH CUBE clause. C. You should write a single query that the query should include a GROUP BY WITH ROLLUP clause D. You should write a single query that the query should include a GROUP BY GROUPING SETS clause Answer: D Question:4 You work in an International company named TAKEEEN. And you're in charge of the database of your company. You intend to use SQL Server 2008 to create a database solution. A database contains a table named Employee_Vacation. The HR gives you an updated list ofemployee vacations used which is in an XML formatted file. The extract of the XML format is

For Latest 70-451 Exam Questions and study guides- visit- http://www.testkingprep.com/70-451.html


written in the manner below. <Company Name ="ABC Company Pvt Ltd"> <EmployeeLeave> <Employee ID = "1" Name="Jim Reeves" /><Leaves><Leave Date="2008-02-12" /> <Leave Date="2008-02-13" /> <Leave Date="200802-14" /> </Leaves> </EmployeeLeave> You plan to import the data and update the Employee_Vacation table. In order to check the vacations days that used by each people, you design a query to count the number. What should you do to make sure that you can accurately calculate the vacation days for each people? A. An XQuery expression should be used along with the LET clause and the count function. Return the count in XML format B. ou should aggregate the number of vacation days for each employee, and then return the total count in XML format. And an XML index should be used C. You should you return the count in XML format after you execute the Transact-SQL count function on the vacation days. Before you perform this, you should convert XML data into a standard table format by using the OPENXML function D. You should you return the count in XML format after you aggregate the number of vacation days from the tables. Before you perform this, you should use an XQuery expression to write the information from XML format to a SQL Server table Answer: A Question:5 You work in an International company named TAKEEEN. And you're in charge of the database of your company. You intend to use SQL Server 2008 to create a database solution. A table which contains information about Web pages is created by you. And the Web pages are added to the Web sit which contains a home page and various other Web pages. The home page is the root page of the site. All pages except the root page have a link to an upper-level page. the table you design must meet the following requirements: Changing the links to the upper-level pages is a rare requirement; Records of the Web pages that are linked to a particular page can be quickly retrieved. The position of a Web page in a collection of linked pages can be quickly retrieved. You have to make sure that the table is well designed. So what should you use? A. The XML data type should be used B. The hierarchyid data type should be used C. A Parent/Child mechanism that references the same table should be used D. A Parent/Child mechanism that references one or more additional tables should be used Answer: B

For Latest 70-451 Exam Questions and study guides- visit- http://www.testkingprep.com/70-451.html


For complete Exam 70-451 Training kits and Self-Paced Study Material Visit: http://www.testkingprep.com/70-451.html

http://www.testkingprep.com/

For Latest 70-451 Exam Questions and study guides- visit- http://www.testkingprep.com/70-451.html


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.