You need to design a plan for finding out which configuration changes might have been made shortly before the
system failure. Which plan should you recommend?
You are attempting to identify the query performance problems that are being reported by the testers of the
MRS application. You need to identify the problem queries. Which tool should you use?
You create the BillingByPostalCode stored procedure by using the following Transact-SQL code.
CREATE PROCEDURE BillingByPostalCode
(@BeginPostalCode char(5), @EndPostalCode char(5))
AS
SELECT AddressLine1, AddressLine2, City, StateID, PostalCode
FROM Address
WHERE PostalCode BETWEEN @BeginPostalCode and @EndPostalCode
During performance testing, you discover that the performance of this stored procedure is not fulfilling
requirements. You need to optimize this stored procedure. Which optimization strategy should you use?
You are designing a stored procedure that will be exposed to the companys energy trading partners. These
partners are assigned minimal permissions in the BAP database. This procedure contains logic that constructs
dynamic SQL that requires elevated permissions. You must provide the appropriate permissions. What should
you do?
You are testing the PlantGeneration stored procedure. When you query for the current months data, query
performance is exceeding 30 seconds. You need to correct the performance problem. What should you do?
You are executing performance testing on the BAP application. You discover that the system is not performing
according to requirements. In addition, you discover that there is excessive disk activity. You need to find out
which stored procedures are causing the excessive disk activity. Which Transact-SQL statement should you
run prior to executing each stored procedure that you suspect is performing poorly?