Indexing Internals interview questions

27 real Indexing Internals questions from the SQL bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is B-tree index?

Mid
  1. A.the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  2. B.the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering
  3. C.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  4. D.the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
Reveal the answer + AI explanation — free account

2. Which term means: "the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time"?

Mid
  1. A.Write-heavy index penalty
  2. B.Index selectivity
  3. C.B-tree index
  4. D.Clustered index
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Mid
  1. A.B-tree index — the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  2. B.B-tree index — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  3. C.B-tree index — an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  4. D.B-tree index — a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
Reveal the answer + AI explanation — free account

4. What is Hash index?

Mid
  1. A.an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  2. B.the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  3. C.a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  4. D.a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

5. Which term means: "a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans"?

Mid
  1. A.Clustered index
  2. B.Hash index
  3. C.Non-clustered index
  4. D.B-tree index
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Hash index — an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  2. B.Hash index — the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  3. C.Hash index — the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one
  4. D.Hash index — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

7. What is Clustered index?

Mid
  1. A.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  2. B.a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  3. C.an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  4. D.an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
Reveal the answer + AI explanation — free account

8. Which term means: "an index whose key order defines the physical storage order of the table rows, so there can be only one per table"?

Mid
  1. A.Partial index
  2. B.Clustered index
  3. C.Write-heavy index penalty
  4. D.B-tree index
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Clustered index — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
  2. B.Clustered index — an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  3. C.Clustered index — an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  4. D.Clustered index — the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering
Reveal the answer + AI explanation — free account

10. What is Non-clustered index?

Mid
  1. A.a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  2. B.the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one
  3. C.an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  4. D.the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
Reveal the answer + AI explanation — free account

11. Which term means: "a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table"?

Mid
  1. A.Hash index
  2. B.Covering index
  3. C.B-tree index
  4. D.Non-clustered index
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Non-clustered index — a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  2. B.Non-clustered index — the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  3. C.Non-clustered index — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  4. D.Non-clustered index — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

13. What is Covering index?

Senior
  1. A.the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  2. B.an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  3. C.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  4. D.a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

14. Which term means: "an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap"?

Senior
  1. A.Write-heavy index penalty
  2. B.Covering index
  3. C.Index selectivity
  4. D.B-tree index
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Covering index — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  2. B.Covering index — a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  3. C.Covering index — an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  4. D.Covering index — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

16. What is Index selectivity?

Senior
  1. A.an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  2. B.a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  3. C.the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering
  4. D.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
Reveal the answer + AI explanation — free account

17. Which term means: "the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering"?

Senior
  1. A.Leftmost-prefix rule
  2. B.Covering index
  3. C.B-tree index
  4. D.Index selectivity
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.Index selectivity — the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one
  2. B.Index selectivity — an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  3. C.Index selectivity — the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  4. D.Index selectivity — the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering
Reveal the answer + AI explanation — free account

19. What is Leftmost-prefix rule?

Senior
  1. A.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  2. B.the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one
  3. C.the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  4. D.an index whose key order defines the physical storage order of the table rows, so there can be only one per table
Reveal the answer + AI explanation — free account

20. Which term means: "the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one"?

Senior
  1. A.Clustered index
  2. B.Leftmost-prefix rule
  3. C.Non-clustered index
  4. D.Partial index
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Senior
  1. A.Leftmost-prefix rule — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
  2. B.Leftmost-prefix rule — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  3. C.Leftmost-prefix rule — a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  4. D.Leftmost-prefix rule — the principle that a composite index can be used only for a query that filters on a contiguous prefix of its columns starting from the first one
Reveal the answer + AI explanation — free account

22. What is Write-heavy index penalty?

Senior
  1. A.an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  2. B.the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  3. C.a separate structure that stores keys plus pointers to the rows, leaving the table data physically unordered and allowing many per table
  4. D.a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

23. Which term means: "the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure"?

Senior
  1. A.Non-clustered index
  2. B.Hash index
  3. C.Partial index
  4. D.Write-heavy index penalty
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.Write-heavy index penalty — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  2. B.Write-heavy index penalty — an index whose key order defines the physical storage order of the table rows, so there can be only one per table
  3. C.Write-heavy index penalty — the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  4. D.Write-heavy index penalty — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

25. What is Partial index?

Senior
  1. A.an index that includes every column a query needs so the engine answers it from the index alone without touching the table heap
  2. B.an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  3. C.the situation where adding indexes slows inserts, updates, and deletes because every modification must also maintain each index structure
  4. D.a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
Reveal the answer + AI explanation — free account

26. Which term means: "an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter"?

Senior
  1. A.Partial index
  2. B.Clustered index
  3. C.Hash index
  4. D.Non-clustered index
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Senior
  1. A.Partial index — the default balanced-tree structure that keeps keys sorted and supports equality and range lookups in logarithmic time
  2. B.Partial index — an index built over only the subset of rows matching a WHERE condition, keeping it smaller and cheaper for queries that share that filter
  3. C.Partial index — a structure that maps keys to buckets via a hash function, giving fast equality lookups but no support for range or ordered scans
  4. D.Partial index — the ratio of distinct values to total rows for a column, where a high value makes the index more effective at filtering
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Indexing Internals free