70-433 Exam Questions
203 real 70-433 exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1
You have a table named Inventory. You open a Microsoft Windows PowerShell session at the following location by using the SQL Server Windows PowerShell provider. PS SQLSERVER:\SQL\C...
- Question #2
You are configuring Service Broker to process messages within a single database. You have performed the following steps. CREATE MESSAGE TYPE CREATE CONTRACT CREATE QUEUE You need t...
- Question #3
You have a database named Contoso. The Contoso database has a Service Broker queue named VacationRequestQueue. The Contoso database has been restored to a new server. Since restori...
- Question #4Implement a desktop infrastructure
You created a Service Broker queue by using the following Transact-SQL statement: CREATE QUEUE VacationRequestQueue WITH RETENTION = OFF, ACTIVATION ( PROCEDURE_NAME = dbo.Vacation...
Service Brokerqueue activationSQL Servermessage processing - Question #5
You use the same Service Broker configuration to support a Web site and an internal application. The Web site generates a greater workload than the internal application. You need t...
- Question #6Implement a desktop infrastructure
You are using Microsoft SQL Server 2008 Enterprise Edition. You need to maintain a history of all data modifications made to a table, including the type of modification and the val...
Change Data Capturechange trackingSQL Serverdata auditing - Question #7
A database contains tables named Sales and SalesArchive. SalesArchive contains historical sales data. You configure Change Tracking on the Sales table. The minimum valid version of...
- Question #8Implement a desktop infrastructure
You are required to modify a table named Sales.SalesOrder. The table has change tracking enabled on it. You need to disable change tracking prior to modifying the Sales.SalesOrder...
change trackingALTER TABLESQL Servertable management - Question #9Implement a desktop infrastructure
You have implemented change tracking on a table named Sales.SalesOrder. You need to determine all columns that have changed since the minimum valid version. Which function should y...
CHANGETABLEchange trackingSQL Server functionscolumn tracking - Question #10
You have two tables named Customers and Orders. They are related by a foreign key constraint on the CustomerID on each table. You need to generate the following XML structure that...
- Question #11
You need to generate the following XML document. <ProductExport> <Product Price="99">Product1</Product> <Product Price="199">Product2</Product> <Product Price="299">Product3</Produ...
- Question #12
Your company's database contains Customers and Orders tables. You have been tasked to write a SELECT statement that outputs customer and order data as a valid and well-formed XML d...
- Question #13Implement a desktop infrastructure
Your company's database contains Customers and Orders tables. You have been tasked to write a SELECT statement that exposes the data as a valid and well- formed XML document. The X...
FOR XMLXML outputnested XMLSQL Server - Question #14
You have a table named Customer that has an XML column named Locations. This column stores an XML fragment that contains details of one or more locations, as show in the following...
- Question #15Implement a desktop infrastructure
Click the Exhibit button. You have the following XML: </Site> </Site> </Site> You are tasked to query the sites listed in the XML by using OPENXML. The results will have two column...
OPENXMLXML parsinghierarchical dataSQL Server - Question #16Implement Programming Objects
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....
sp_xml_removedocumentXML memory managementsystem stored proceduresOPENXML - Question #17
You work for a company that provides marketing data to other companies. You have the following Transact-SQL statement: DECLARE @CustomerDemographics XML SET @CustomerDemographics=N...
- Question #18Implement Tables and Views
You have a table named Stores that has an XML column named OpenHours. This column contains the opening and closing times. <hours dayofWeek= "Monday" open ="8:00 AM" closed="8:00 PM...
XQueryXML columnvalue() methodSQL XML - Question #19
You have the following XML document that contains Product information. DECLARE @prodList xml =' <ProductList xmlns="urn:Wide_World_Importers/schemas/Products"> <Product Name="Produ...
- Question #20
You have a table named Products.Product. The table has columns ProductID, Name, Size, and Category. You have a variable named @XML with following XML value: <Root> <Category Name="...
- Question #21Implement Tables and Views
Your company exchanges information with other companies by using XML and Web services. Your manager asks you to remove a schema collection that is no longer used. Before dropping t...
XML schema collectioncatalog viewssys.column_xml_schema_collection_usagesschema management - Question #22
You have an XML schema that you must use to validate XML data in your database. You need to store this XML schema. Which code segment should you use?
- Question #23Troubleshoot and Optimize Databases
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 Custom...
primary XML indexXML column indexingclustered indexquery optimization - Question #24Troubleshoot and Optimize Databases
You need to capture the execution plan for a query. Which statement should you use?
execution planSHOWPLAN_XMLquery analysisSET options - Question #25
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB02 hosting the Inventory database. The Inventory database has two tables named Sa...
- Question #26
You are troubleshooting query performance on SQL Server 2008. You are tasked to capture a graphical execution plan. You need to save the plan to a file that can be used by SQL Serv...
- Question #27Troubleshoot and Optimize Databases
You have run a server side trace that created 45 trace files. You want to load the trace files on your workstation in a database table called PerfData for further analysis. ou need...
trace filesfn_trace_gettableSQL Server Profilerperformance data loading - Question #28Troubleshoot and Optimize Databases
You are using SQL Server Profiler to gather deadlock information. You need to capture an XML description of a deadlock. Which event should you use?
deadlockSQL Server ProfilerDeadlock Graphtrace events - Question #29Troubleshoot and Optimize Databases
You are troubleshooting query performance on SQL Server 2008. You have profiler trace data in a table named PerfData. You need to determine which events are taking longer than one...
query performanceprofiler trace dataCPU time filterduration threshold - Question #30
You are using the Database Engine Tuning Advisor (DTA) to analyze a workload. You need to save the recommendations generated by the DTA. Which command should you use?
- Question #31
You need to capture and record a workload for analysis by the Database Engine Tuning Advisor (DTA). Which tool should you use?
- Question #32
You have a database that uses stored procedures to perform INSERT, UPDATE, DELETE, and SELECT statements. You are tasked with providing a recommendation of indexes to be created an...
- Question #33Troubleshoot and Optimize Databases
You are tasked with creating a workload that will be used by the Database Engine Tuning Advisor (DTA). You need to create a workload in an appropriate format. Which format should y...
Database Engine Tuning AdvisorDTA workload formatstrace fileT-SQL script - Question #34Troubleshoot and Optimize Databases
You need to build CREATE INDEX statements for all the missing indexes that SQL Server has identified. Which dynamic management view should you use?
missing indexesdynamic management viewssys.dm_db_missing_index_detailsindex recommendations - Question #35
You notice that a database server is responding slowly to queries. You run the following dynamic management views (DMV) query on the server. SELECT TOP (10) wait_type, wait_time_ms...
- Question #36
You attempt to query sys.dm_db_index_usage_stats to check the status on the indexes in the Contoso database. The query fails and you receive the following error: "The user does not...
- Question #37Troubleshoot and Optimize Databases
You have been tasked to delete a number of Database Mail messages that have been sent. You need to delete all the emails that were sent more than one month ago. Which Transact-SQL...
Database Mailsysmail_delete_mails_spmail message cleanupdate functions - Question #38
You administer a SQL Server 2008 database that contains a table name dbo.Sales, which contains the following table definition: CREATE TABLE [dbo].[Sales]( [SalesID] [int] IDENTITY(...
- Question #39
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB01 that hosts the Inventory database. ABC.com has a user named Rory Allen has the...
- Question #40
You are creating a new table in a database. Your business requires you to store data in the table for only seven days. You need to implement a partitioned table to meet this busine...
- Question #41
You have a table named Customer. You need to ensure that customer data in the table meets the following requirements: credit limit must be zero unless customer identification has b...
- Question #42
You have been tasked to delete 1000 rows from a table named NewWidgets. There are 2000 rows in which the column ToBeDeleted set to 1. You need to write a Transact-SQL batch that wi...
- Question #43
You work for an international charity organization. You are writing a query to list the highest 100 different amounts that were donated. You have written the following code segment...
- Question #44
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB01 that hosts the Inventory database and transaction files. You notice that there...
- Question #45
You work as a network database administrator at ABC.com. ABC.com has a database server named ABC-DB01 that hosts the Inventory database. You need to use an explicit transaction to...
- Question #46Implement Security
You have a user named John. He has SELECT access to the Sales schema. You need to eliminate John's SELECT access rights from the Sales.SalesOrder table without affecting his other...
DENYREVOKEschema permissionspermission inheritance - Question #47
You are the administrator of a SQL Server 2008 instance with a database named DB1. A backup of DB1 is performed every day. You have to minimize the size of the full database backup...
- Question #48
You are the administrator of a SQL Server 2008 instance with a database named DB1. When you are absent, a user will use a login named Mary to log in and maintain the database snaps...
- Question #49
You are the administrator of a SQL Server 2008 instance. Users report that they are unable to connect to the named instances. You check and verify that they can only connect to the...
- Question #50
You are a database developer for your company. You are developing a stored procedure that must accept a parameter of the xml data type and store the data in a relational table stru...