Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 8 - RDBMS Concepts
Lesson Content Link:Index Types
Current Quiz Count:45
Progress
0%
Q1
True / False

A clustered index determines the physical order of data in a table.

Q2
True / False

A table can have multiple clustered indexes.

Q3
True / False

Unique indexes in SQL Server can enforce the uniqueness of data in one or more columns.

Q4
True / False

Non-clustered indexes affect the physical order of rows in a table.

Q5
True / False

Full-text indexes are used for optimizing text-based searches.

Q6
True / False

Composite indexes are useful for optimizing queries that involve multiple columns.

Q7
True / False

A unique index can be created on a column with duplicate values.

Q8
True / False

A filtered index includes only a subset of rows in a table based on a filter condition.

Q9
True / False

Index fragmentation can impact the performance of queries.

Q10
True / False

SQL Server automatically manages index maintenance tasks like rebuilding and reorganizing indexes.

Q11
True / False

Indexes can speed up data retrieval operations but may slow down data modification operations.

Q12
True / False

Creating an index on a large table always results in improved query performance.

Q13
True / False

Covering indexes include all columns needed by a query, allowing the query to be satisfied entirely by the index.

Q14
True / False

Index seek operations are generally faster than index scan operations.

Q15
True / False

SQL Server automatically decides the best index type for each query.

Q16
Single Choice

Which of the following is a clustered index?

Q17
Single Choice

What type of index improves performance for queries involving text searching?

Q18
Single Choice

Which index type can be used to enforce the uniqueness of values in one or more columns?

Q19
Single Choice

Which type of index includes columns not used in the WHERE clause but needed for SELECT statements?

Q20
Single Choice

Which index type is specifically designed for indexing XML data in SQL Server?

Q21
Single Choice

What is a primary key index?

Q22
Single Choice

Which type of index is created to enhance query performance by including only a subset of rows based on a condition?

Q23
Single Choice

What index type is useful for spatial data in SQL Server?

Q24
Single Choice

What is an example of a non-clustered index?

Q25
Single Choice

Which index type is specifically for enhancing performance of queries that search for text within string columns?

Q26
Single Choice

Which of the following is a characteristic of a composite index?

Q27
Single Choice

Which index type allows for data retrieval based on a specific subset of rows defined by a filter?

Q28
Single Choice

Which index type helps improve the performance of spatial queries?

Q29
Single Choice

A filtered index can only be created on columns with numeric data types.

Q30
Single Choice

What index type is used to optimize performance for queries on XML data?

Q31
Multiple Choice

Which of the following index types allows for multiple columns to be indexed together?

Q32
Multiple Choice

Which index type is beneficial for queries involving a specific subset of rows based on a filter condition?

Q33
Multiple Choice

Which index type should be used to optimize performance for spatial data types?

Q34
Multiple Choice

Which index type enhances query performance by including all necessary columns in the index?

Q35
Multiple Choice

Which type of index is used to enforce the uniqueness of column values?

Q36
Multiple Choice

A full-text index can be used to improve performance for queries that include LIKE conditions.

Q37
Multiple Choice

Which of the following index types can only be created on columns with unique values?

Q38
Multiple Choice

Which index type is typically used to improve performance for queries that filter data based on a specific condition?

Q39
Multiple Choice

What is the main purpose of a composite index?

Q40
Multiple Choice

Which type of index is best suited for large text searches in SQL Server?

Q41
Multiple Choice

Which index type improves query performance by reducing fragmentation and maintaining the index?

Q42
Multiple Choice

Which index type can be used to optimize queries involving large amounts of spatial data?

Q43
Multiple Choice

Which index type is not suitable for enforcing data integrity constraints?

Q44
Multiple Choice

What is the effect of index fragmentation on query performance?

Q45
Multiple Choice

Which of the following can be used to manage index fragmentation?