You plan to deploy a new application. The application will perform the following operations:
You need to configure a login to support the deployment of the new application. The solution must ensure that the application uses the most restrictive permissions possible.
What should you do?
A. Add the login to the sysadmin server role.You are a database developer. You create a database by using SQL Server 2008 in an enterprise environment.
The database contains two stored procedures named ModifySales and RetrieveSalesTrend. The ModifySales stored procedure uses a transaction that updates a table named SalesOrders. The RetrieveSalesTrend stored procedure retrieves
and aggregates data from the SalesOrders table for a
sales trend analysis report.
Both stored procedures are executed frequently each day. Users report a considerable wait time while they run the sales trend analysis report. You need to ensure that sales trend analysis report runs as quickly as possible.
What should you do?
A. Change the isolation level to SERIALIZABLE for ModifySales.You are a database developer. You plan to design a database solution by using SQL Server 2008. A database will contain 10 tables that are used to generate reports. Data in the tables ranges from 50,000 to 100,000 records.
During a query execution that joins four tables, you discover the following problems:
You need to identify the most likely cause for the problems by analyzing the execution plan.
What should you do?
A. Look for table scans in the execution plan.You plan to implement a Web-based application that will save XML data to a column in a table.
You need to design a query that ensures that before saving the XML data to the table, the data contains valid elements. The solution must be developed by using the minimum amount of effort.
What should you include in the query?
A. .exist()You have a SQL Server Integration Services (SSIS) package that contains an Execute Process task. You need to schedule the SSIS package to run on a regular basis. What should you do?
A. Create a credential and a login. Configure a SQL Server Agent job to run the package by using the login.You are a database developer. You plan to design a database solution by using SQL Server 2008. The database will contain information on retail sales transactions of more than 500 stores. The marketing department uses the solution to analyze daily sales patterns for each store. Users report that the solution takes a long time to retrieve the required data. You need to ensure that the solution provides results in the minimum possible time.
What should you do?
A. Create a nonclustered index on a view of the sales transactions.You are a database developer. You plan to design a database solution by using SQL Server 2008.
The database contains a table that has two partitions. The first partition contains the current data, and the second partition contains historical data. There is a high frequency of data manipulation on the current data.
The testers report that they are frequently unsuccessful in querying the historical data only. You discover that locks are being escalated to the table-level lock.
You need to ensure that without modifying the SELECT statements, you enable users to query the historical data. You want to achieve this goal by using the minimum amount of administrative effort and minimally affecting other queries.
What should you do?
A. Use the ALTER TABLE ... SET (LOCK_ESCALATION = AUTO) command.You are a database developer. You develop a database by using SQL Server 2008 in an enterprise environment.
The database has a table named Sales.Inventory. The table is partitioned into four geographic regions.
You update the Sales.Inventory table for each region by using the following stored procedure.
CREATE STORED PROCEDURE usp_Update
@RegionID tinyint
AS
UPDATE Sales.Inventory
SET Qty = T.CurrentQuantity
FROM Sales.Inventory I
JOIN Sales.TempData T ON I.ItemID = T.ItemID
AND I.RegionID = @RegionID;
The UPDATE statement locks the Sales.Inventory table when a single region is updated. You need to prevent the locking of the Sales.Inventory table when a single region is updated.
What should you do?
A. Modify the usp_Update stored procedure to use the NOLOCK table hint for the UPDATE statement.You have a table that has an XML column named XMLOrderHeader. You need to design a stored procedure that extracts the order header values and stores them in a table.
The solution must meet the following requirements:
What should the solution include?
A. Use a single Exists() method.You need to create a Service Broker solution. Which object should you create first?
A. ContractNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-451 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.