You need to create an index that meets the following re…

Note: This question is part of a series of questions that use the same or similar answer choices. An answer
choice may be correct for more than one question in 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 have a database named DB1. There is no memory-optimized filegroup in the database.
You have a table and a stored procedure that were created by running the following Transact-SQL statements:

The Employee table is persisted on disk. You add 2,000 records to the Employee table.
You need to create an index that meets the following requirements:
Optimizes the performance of the stored procedure.
Covers all the columns required from the Employee table.
Uses FirstName and LastName as included columns.
Minimizes index storage size and index key size.
What should you do?

Note: This question is part of a series of questions that use the same or similar answer choices. An answer
choice may be correct for more than one question in 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 have a database named DB1. There is no memory-optimized filegroup in the database.
You have a table and a stored procedure that were created by running the following Transact-SQL statements:

The Employee table is persisted on disk. You add 2,000 records to the Employee table.
You need to create an index that meets the following requirements:
Optimizes the performance of the stored procedure.
Covers all the columns required from the Employee table.
Uses FirstName and LastName as included columns.
Minimizes index storage size and index key size.
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:
https://technet.microsoft.com/en-us/library/jj835095(v=sql.110).aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Waleed

Waleed

I think ‘nonclustered filtered index’ is better.
we filter on status = ‘T’ so we ‘Minimizes index storage’ as required 🙂