PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same answer choices. An answer choice may be

Note: This question is part of a series of questions that use the same answer choices. An answer choice may be correct for more than one question on the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.

You work on an OLTP database that has no memory-optimized file group defined.

You have a table named tblTransaction that is persisted on disk and contains the information described in the following table:



Users report that the following query takes a long time to complete.



You need to create an index that:

  • improves the query performance
  • does not impact the existing index
  • minimizes storage size of the table (inclusive of index pages).

What should you do?

A. Create a clustered index on the table.

B. Create a nonclustered index on the table.

C. Create a nonclustered filtered index on the table.

D. Create a clustered columnstore index on the table.

E. Create a nonclustered columnstore index on the table.

F. Create a hash index on the table.

Explanation:

A filtered index is an optimized nonclustered index, especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to index a portion of rows in the table. A well-designed filtered index can improve query performance, reduce index maintenance costs, and reduce index storage costs compared with full-table indexes.

3 Comments on “Note: This question is part of a series of questions that use the same answer choices. An answer choice may be

  1. fnmag21 says:

    in a filter index you cannot use date functions such as DATEADD for a rolling date range – the value in WHERE clause must be exact.

    so definatelly not the proposed answer C

    D is also Wrong because it will have impact on current index

    I will choose A




    1



    0

Leave a Reply