MCQ King
39 – Clustered and Nonclustered Indices (Index) MCQ
Best of luck!
1 / 25
1. What is a clustered index in SQL Server?
2 / 25
2. Which of the following statements about clustered indices is true?
3 / 25
3. In SQL Server, what is the default index type for a primary key constraint?
4 / 25
4. Which of the following SQL statements creates a clustered index on an existing table?
5 / 25
5. What happens when a clustered index is created on a table that already has data?
6 / 25
6. Which of the following is a primary advantage of using a clustered index in SQL Server?
7 / 25
7. What is a nonclustered index in SQL Server?
8 / 25
8. Which of the following statements about nonclustered indices is true?
9 / 25
9. In SQL Server, can a table have both a clustered index and one or more nonclustered indices?
10 / 25
10. Which of the following SQL statements creates a nonclustered index on an existing table?
11 / 25
11. What is the primary advantage of using nonclustered indices in SQL Server?
12 / 25
12. In SQL Server, can a table have multiple nonclustered indices?
13 / 25
13. Which type of index is often used to enforce the uniqueness of values in a column?
14 / 25
14. What is a key lookup operation (also known as a bookmark lookup) in SQL Server?
15 / 25
15. In SQL Server, which of the following is a scenario where a nonclustered index is preferred over a clustered index?
16 / 25
16. What is the primary disadvantage of using clustered indices in SQL Server?
17 / 25
17. In SQL Server, which type of index is typically smaller in size, making it more space-efficient?
18 / 25
18. What is the purpose of the INCLUDE clause when creating a nonclustered index in SQL Server?
19 / 25
19. Which of the following SQL statements is used to drop a clustered index in SQL Server?
20 / 25
20. In SQL Server, which type of index is typically used for columns with low cardinality (few distinct values)?
21 / 25
21. What is the purpose of the FILLFACTOR option when creating an index in SQL Server?
22 / 25
22. Which of the following is a primary disadvantage of using nonclustered indices in SQL Server?
23 / 25
23. In SQL Server, can a table have both a clustered and a nonclustered index on the same column?
24 / 25
24. What is the primary purpose of the WITH (PAD_INDEX = ON) option when creating an index in SQL Server?
25 / 25
25. In SQL Server, which type of index is typically used for columns with high cardinality (many distinct values)?
Your score is
Restart quiz