Here is a collection of 30 multiple-choice questions (MCQs) related to Advanced Indexing in SQL Server. These cover important topics such as Columnstore Indexes, Filtered Indexes, Full-Text Search and Indexing, and Index Maintenance and Performance Analysis. These questions will help you deepen your understanding of SQL Server indexing strategies and their performance optimizations.
| Qno | Answer (Option with Text) |
|---|---|
| 1 | c) Improved performance for OLAP queries |
| 2 | b) OLAP queries with large datasets |
| 3 | b) In a columnar format |
| 4 | d) It stores data in a columnar format |
| 5 | a) Data is compressed |
| 6 | b) Reduced storage by indexing only a subset of rows |
| 7 | b) WHERE |
| 8 | c) The indexed table must have fewer rows than the total table |
| 9 | a) SQL Server 2008 |
| 10 | a) A table with many unused rows |
| 11 | c) Both structured and unstructured data |
| 12 | c) Full-text index |
| 13 | c) CONTAINS |
| 14 | b) Searching text-based data efficiently |
| 15 | d) Only CHAR and VARCHAR columns |
| 16 | b) The logical ordering of index entries being inefficient |
| 17 | b) ALTER INDEX REBUILD |
| 18 | b) Decreased performance due to inefficient data access |
| 19 | b) Through the UPDATE STATISTICS command |
| 20 | a) Frequent INSERT, UPDATE, and DELETE operations |
| 21 | a) To index multiple columns for more efficient searching |
| 22 | d) Full-Text Search Manager |
| 23 | a) It speeds up query performance by storing precomputed results |
| 24 | a) An index that includes all columns required for a query |
| 25 | b) Using the sys.dm_db_index_physical_stats function |
| 26 | b) Indexing rarely queried columns |
| 27 | b) It automatically updates them when the table is modified |
| 28 | b) Decreased query performance due to overhead in maintaining indexes |
| 29 | a) The index is dropped and recreated from scratch |
| 30 | b) Database Engine Tuning Advisor |