free microsoft certification 70-433 exams

8

Click here to load reader

Upload: selftest-exams

Post on 18-Mar-2016

217 views

Category:

Documents


2 download

DESCRIPTION

Here you can get free Microsoft Certification 70-433 exams study material for the best preparation of your exams. For further details visit http://www.selftestexams.com/70-433.html

TRANSCRIPT

Page 1: Free Microsoft certification 70-433 exams

Microsoft 70-433

TS: Microsoft SQL Server 2008, Database

DevelopmentVersion: Demo 4.0

Page 2: Free Microsoft certification 70-433 exams

Topic 1, Exam Set C

QUESTION NO: 1 You need to identify which tables are referenced by name in a stored procedure that doesnot use dynamic SQL. Which catalog view should you use? A. sys.procedures B. INFORMATION_SCHEMA.TABLES C. INFORMATION_SCHEMA.ROUTINES D. sys.sql_expression_dependencies

Answer: D

Explanation:

____________________________________________________________________________

Topic 2, Exam Set A

QUESTION NO: 2 You have multiple tables that represent properties of the same kind of entities. Theproperty values are comprised of text, geometry, varchar(max), and user-defined typesspecified as 'bit NOT NULL' data types. You plan to consolidate the data from multiple tables into a single table. The table will usesemi-structured storage by taking advantage of the SPARSE option. You are tasked to identify the data types that are compatible with the SPARSE option. Which data type is compatible with the SPARSE option? A. text B. geometry C. varchar(max) D. A user-defined type defined as 'bit NOT NULL'

Answer: C

Explanation:

Topic 1, Exam Set C

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 2

Page 3: Free Microsoft certification 70-433 exams

QUESTION NO: 3 You attempt to query sys.dm_db_index_usage_stats to check the status on the indexes inthe Contoso database. The query fails and you receive the following error: "The user does not have permission to perform this action." You need to have the least amount of permissions granted to access the dynamicmanagement views. Which permissions should be granted? A. CONTROL B. VIEW SERVER STATE C. VIEW DATABASE STATE D. CREATE EXTERNAL ACCESS ASSEMBLY

Answer: B

Explanation:

Topic 3, Exam Set B

QUESTION NO: 4 Your company stores vendor and price information in a database. All items in the databasehave a list price. You need to increase the list price for all products of only the vendor named Fabrikam by20.00. Which query should you use? A. UPDATE Production.Product SET ListPrice = ListPrice + 20.00 WHERE NOT EXISTS (SELECT VendorId FROM Purchasing.Vendor); WHERE VendorName = 'Fabrikam'); B. UPDATE Production.Product SET ListPrice = ListPrice + 20.00 WHERE VendorId NOT IN (SELECT VendorId FROM Purchasing.Vendor); WHERE VendorName = 'Fabrikam'); C. UPDATE Production.Product SET ListPrice = ListPrice + 20.00 WHERE EXISTS (SELECT VendorId FROM Purchasing.Vendor WHERE VendorName = 'Fabrikam');

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 3

Page 4: Free Microsoft certification 70-433 exams

D. UPDATE Production.Product SET ListPrice = ListPrice + 20.00 WHERE VendorId IN (SELECTVendorId FROM Purchasing.Vendor WHERE VendorName = 'Fabrikam');

Answer: D

Explanation:

Topic 1, Exam Set C

QUESTION NO: 5 You are given a database design to evaluate. All of the tables in this database should havea clustered index. You need to determine the tables that are missing a clustered index by using the systemcatalog views. Which Transact-SQL statement should you use? A. SELECT name AS table_name FROM sys.tables WHERE OBJECTPROPERTY(object_id,'TableHasClustIndex') = 0 ORDER BY name; B. SELECT name AS table_name FROM sys.tables WHERE OBJECTPROPERTY(object_id,'TableHasUniqueCnst') = 0 ORDER BY name; C. SELECT name AS table_name FROM sys.tables WHERE OBJECTPROPERTY(object_id,'TableHasClustIndex') = 0 AND OBJECTPROPERTY(object_id,'TableHasUniqueCnst') = 1 ORDER BY name; D. SELECT name AS table_name FROM sys.tables WHEREOBJECTPROPERTY(object_id,'TableHasClustIndex') = 1 AND OBJECTPROPERTY(object_id,'TableHasUniqueCnst') = 1 ORDER BY name;

Answer: A

Explanation:

Topic 3, Exam Set B

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 4

Page 5: Free Microsoft certification 70-433 exams

QUESTION NO: 6 You have a SQL Server 2008 database. You have not installed a MAPI client. You need tosend e-mail from a stored procedure. Which system stored procedure should you use? A. xp_sendmail B. xp_startmail C. sp_send_dbmail D. sysmail_start_sp

Answer: C

Explanation:

QUESTION NO: 7 You are tasked to create a table that has a column that must store the current time accurateto ten microseconds. You need to use a system function in conjunction with the DEFAULT option in the columndefinition. Which system function should you use? A. DATEADD B. GETUTCDATE C. SYSDATETIME D. CURRENT_TIMESTAMP

Answer: C

Explanation:

Topic 1, Exam Set C

QUESTION NO: 8 A database contains tables named Sales and SalesArchive. SalesArchive containshistorical sales data. You configure Change Tracking on the Sales table. The minimumvalid version of the Sales table is 10. You need to write a query to export only sales data that changed since version 10,including the primary key of deleted rows. Which method should you use? A. FROM Sales RIGHT JOIN CHANGETABLE (CHANGES Sales, 10) AS C ... B. FROM Sales

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 5

Page 6: Free Microsoft certification 70-433 exams

INNER JOIN CHANGETABLE (CHANGES Sales, 10) AS C ... C. FROM Sales INNER JOIN CHANGETABLE (CHANGES SalesArchive, 10) AS C ... D. FROM Sales RIGHT JOIN CHANGETABLE (CHANGES SalesArchive, 10) AS C ...

Answer: A

Explanation:

Topic 2, Exam Set A

QUESTION NO: 9 You administer a SQL Server 2008 database that contains a table name dbo.Sales, whichcontains the following table definition: CREATE TABLE [dbo].[Sales]( [SalesID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED, [OrderDate] [datetime] NOT NULL, [CustomerID] [int] NOT NULL, [SalesPersonID] [int] NULL, [CommentDate] [date] NULL); This table contains millions of orders. You run the following query to determine when salespersons comment in the dbo.Sales table: SELECT SalesID,CustomerID,SalesPersonID,CommentDate FROM dbo.Sales WHERE CommentDate IS NOT NULL AND SalesPersonID IS NOT NULL; You discover that this query runs slow. After examining the data, you find only 1% of rowshave comment dates and the SalesPersonID is null on 10% of the rows. You need to createan index to optimize the query. The index must conserve disk space while optimizing yourquery. Which index should you create? A. CREATE NONCLUSTERED INDEX idx1 ON dbo.Sales (CustomerID)

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 6

Page 7: Free Microsoft certification 70-433 exams

INCLUDE (CommentDate,SalesPersonID); B. CREATE NONCLUSTERED INDEX idx1 ON dbo.Sales (SalesPersonID) INCLUDE (CommentDate,CustomerID); C. CREATE NONCLUSTERED INDEX idx1 ON dbo.Sales (CustomerID) INCLUDE(CommentDate) WHERE SalesPersonID IS NOT NULL; D. CREATE NONCLUSTERED INDEXidx1 ON dbo.Sales (CommentDate, SalesPersonID) INCLUDE(CustomerID) WHERE CommentDate IS NOT NULL;

Answer: D

Explanation:

Topic 3, Exam Set B

QUESTION NO: 10 You have two tables named Customers and Orders. for customers that have placed at least one order, you need to produce a list of customernames and the number of orders for each customer. Which query should you use? A. SELECT c.CustomerName, SUM(o.OrderID) AS [OrderCount] FROM Customers c JOINOrders o ON c.CustomerID = o.CustomerID GROUP BY c.CustomerName B. SELECT COUNT(o.OrderId) AS [OrderCount] FROM CUSTOMERS c JOIN ORDERS o ON c.CUSTOMERID = o.CUSTOMERID C. SELECT c.CustomerName, COUNT(o.OrderID) AS [OrderCount] FROM Customers c JOIN Orders o ON c.CustomerID = o.CustomerID GROUP BY c.CustomerName HAVING COUNT(o.OrderID) > 1 D. SELECT c.CustomerName, COUNT(o.OrderId) AS [OrderCount]

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 7

Page 8: Free Microsoft certification 70-433 exams

FROM Customers c JOIN Orders o ON c.CustomerId =o.CustomerId GROUP BY c.CustomerName

Answer: D

Explanation:

Microsoft 70-433 Exam

"Excellent Results in Minimum Time" - SelfTestExams.com 8