70-433 Exam Details

  • Exam Code
    :70-433
  • Exam Name
    :TS: Microsoft SQL Server 2008, Database Development
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :202 Q&As
  • Last Updated
    :Dec 09, 2021

Microsoft 70-433 Online Questions & Answers

  • Question 181:

    You are a database developer located in Seattle. You have a client in Melbourne, which is in a different time zone from Seattle. You have been using the datetimeoffset data type and storing data by using the Seattle offset. You need to display the dates in the Melbourne offset.

    Which function should you use?

    A. CONVERT
    B. DATEADD
    C. SWITCHOFFSET
    D. TODATETIMEOFFSET

  • Question 182:

    Your company uses an application that passes XML to the database server by using stored procedures.

    The database server has a large number of XML handles that are currently active. You determine that the XML is not being flushed from SQL Server memory. You need to identify the system stored procedure to flush the XML from memory.

    Which Transact-SQL statement should you use?

    A. DBCC DROPCLEANBUFFERS
    B. DBCC FREEPROCACHE
    C. sp_xml_preparedocument
    D. sp_xml__removedocument

  • Question 183:

    Your database contains sales information for millions of orders.

    You need to identify the orders with the highest average unit price and an order total greater than 10,000. The list should contain no more than 20 orders.

    Which query should you use?

    A. SELECT TOP (20)
    B. SalesOrderId,
    C. OrderDate,
    D. Total, SUM(od.QTY * od.UnitPrice) / SUM(od.Qty) AS [AvgUnitPrice] FROM Sales.SalesOrderHeader o JOIN SALES.SalesOrderDetail od ON o.SalesOrderId = od.SalesOrderId WHERE o.Total> 10000 GROUP BY o.SalesOrderId, o.OrderDate, o.Total ORDER BY AvgUnitPrice;
    E. SELECT TOP (20)
    F. SalesOrderId,
    G. OrderDate,
    H. Total, (SELECT SUM(od.Qty * od.UnitPrice) / SUM(od.QTY) FROM Sales.SalesOrderDetail od WHERE o.SalesOrderId = od.SalesOrderId) AS [AvgUnitPrice] FROM Sales.SalesOrderHeader o WHERE o.Total> 10000 ORDER BY AvgUnitPrice DESC;
    I. SELECT TOP (20)
    J. SalesOrderId,

  • Question 184:

    You are troubleshooting query performance on SQL Server 2008. You are tasked to create an estimated execution plan by using Transact-SQL. You should be able to view the plan graphically in SQL Server Management Studio. You need to ensure that the execution plan can be saved as a .sqlplan file.

    Which Transact- SQL setting should you use?

    A. SET SHOWPLAN_ALL ON;
    B. SET SHOWPLAN_XML ON;
    C. SET STATISTICS XML ON;
    D. SET STATISTICS PROFILE ON;

  • Question 185:

    You administer a Microsoft SQL Server 2008 instance that has two databases. The first database named AdventureWorks contains a table named Sales.SalesOrders. The Sales.SalesOrders table has the following definition:

    The second database named AdventureWorksDW contains a table named dbo.SalesOrderSummary. The dbo.SalesOrderSummary table has the following definition:

    You plan to migrate sales data for the year 2011 from the SalesOrderDetail table into the SalesOrderSummary table.

    You need to ensure that the following requirements are met:

    All data is removed from the SalesOrderSummary table before migrating data. A subset of data is migrated from the SalesOrderDetail table in the AdventureWorks

    database to the SalesOrderSummary table in the AdventureWorksDW database.

    Migrated data summarizes order quantity in one row per product for the year 2011.

    Which three Transact-SQL statements should you use? (To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.)

    Select and Place:

  • Question 186:

    You need to capture and record a workload for analysis by the Database Engine Tuning Advisor (DTA).

    Which tool should you use?

    A. DTA utility
    B. Activity Monitor
    C. SQL Server Profiler
    D. Performance Monitor

  • Question 187:

    You administer a Microsoft SQL Server 2008 database that contains a stored procedure named dbo.SalesOrderDetails. The stored procedure has following definition:

    Parameter values passed to the stored procedure largely vary. You discover that the stored procedure executes quickly for some parameters but slowly for other parameters. You need to ensure that the query plan generated is optimized to provide the most consistent execution times for any set of parameters passed to the stored procedure. Which query hint should you use?

    A. OPTION (FAST 25)
    B. OPTION (ROBUST PLAN)
    C. OPTION (KEEP PLAN)
    D. OPTION (OPTIMIZE FOR UNKNOWN)

  • Question 188:

    You have a table named Customers that has an XML column named CustomerData. There are currently no indexes on the table. You use the following WHERE clause in a query:

    WHERE CustomerData.exist ('/CustomerDemographic/@Age[.>="21"]') = 1

    You need to create indexes for the query.

    Which Transact-SQL statements should you use?

    A. CREATE CLUSTERED INDEX CL_IDX_Customer ON Customers(CustomerID); CREATE PRIMARY XML INDEX PXML_IDX_Customer ON Customers(CustomerData); CREATE XML INDEX SXML_IDX_Customer ON Customer(CustomerData) USING XML INDEX PXML_IDX_Customer FOR PATH;
    B. CREATE PRIMARY XML INDEX PXML_IDX_Customer ON Customers(CustomerData); CREATE XML INDEX SXML_IDX_Customer ON Customer(CustomerData) USING XML INDEX PXML_IDX_Customer FOR VALUE;
    C. CREATE PRIMARY XML INDEX PXML_IDX_Customer ON Customers(CustomerData); CREATE XML INDEX SXML_IDX_Customer ON Customer(CustomerData) USING XML INDEX PXML_IDX_Customer FOR PATH;
    D. CREATE CLUSTERED INDEX CL_IDX_Customer ON Customers(CustomerID); CREATE PRIMARY XML INDEX PXML_IDX_Customer ON Customers(CustomerData); CREATE XML INDEX SXML_IDX_Customer_Property ON Customer(CustomerData) USING XML INDEX PXML_IDX_Customer FOR VALUE;

  • Question 189:

    You are using TRY...CATCH error handling.

    You need to raise an error that will pass control to the CATCH block.

    Which severity level should you use?

    B. 9
    C. 10
    D. 16

  • Question 190:

    You have a table named Stores that has an XML column named OpenHours. This column contains the opening and closing times.

    ...

    You need to write a query that returns a list of stores and their opening time for a specified day.

    Which code segment should you use?

    A. DECLARE @Day VARCHAR(10) = 'Tuesday' SELECT StoreName, OpenHours.value('/hours[1]/@open','time') FROM Stores WHERE OpenHours.value('/hours[1]/@dayofWeek','varchar(20)') = @Day
    B. DECLARE @Day VARCHAR(10) = 'Tuesday' SELECT StoreName, OpenHours.value('/hours[1]/@open','time') FROM Stores WHERE OpenHours.exist('/hours[@dayofWeek=sql:variable("@Day")]') = 1
    C. DECLARE @Day VARCHAR(10) = 'Tuesday' SELECT Storename, OpenHours.query('data(/hours[@dayofWeek=sql:variable("@Day")]/@open)') FROM Stores
    D. DECLARE @Day VARCHAR(10) = 'Tuesday' SELECT StoreName, OpenHours.value('/hours[1][@dayofWeek=sql:variable("@Day")]/@open','time') FROM Stores

Tips on How to Prepare for the Exams

Nowadays, 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-433 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.