nerdexam
Microsoft

70-433 · Question #38

70-433 Question #38: Real Exam Question with Answer & Explanation

Sign in or unlock 70-433 to reveal the answer and full explanation for question #38. The question stem and answer options stay visible for context.

Question

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(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 sales persons 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 rows have comment dates and the SalesPersonID is null on 10% of the rows. You need to create an index to optimize the query. The index must conserve disk space while optimizing your query. Which index should you create?

Options

  • ACREATE NONCLUSTERED INDEX idx1
  • BCREATE NONCLUSTERED INDEX idx1
  • CCREATE NONCLUSTERED INDEX idx1
  • DCREATE NONCLUSTERED INDEX idx1

Unlock 70-433 to see the answer

You've previewed enough free 70-433 questions. Unlock 70-433 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-433 Practice