DBMS · Indexing & Storage interview questions

39 real DBMS · Indexing & Storage questions from the Computer Science Fundamentals 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 Index?

Junior
  1. A.a balanced multiway search tree storing keys and record pointers in every node
  2. B.an index with one entry for every search-key value in the data file
  3. C.an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
  4. D.an index with an entry only for some keys, typically one per data block
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Index — an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
  2. B.Index — an index whose order physically determines how the table's rows are stored on disk
  3. C.Index — an index built on the ordering key of a sequentially ordered data file
  4. D.Index — an index using a hash function to map keys to buckets for fast equality lookups
Reveal the answer + AI explanation — free account

4. What is Primary index?

Mid
  1. A.an index built on top of another index to reduce the number of blocks searched
  2. B.an index built on the ordering key of a sequentially ordered data file
  3. C.an index using bit arrays per value, efficient for columns with few distinct values
  4. D.the linking of leaf nodes that lets a B+ tree perform efficient ordered range queries
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Primary index — an index with an entry only for some keys, typically one per data block
  2. B.Primary index — a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  3. C.Primary index — an index with one entry for every search-key value in the data file
  4. D.Primary index — an index built on the ordering key of a sequentially ordered data file
Reveal the answer + AI explanation — free account

7. What is Secondary index?

Mid
  1. A.a balanced multiway search tree storing keys and record pointers in every node
  2. B.an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
  3. C.the linking of leaf nodes that lets a B+ tree perform efficient ordered range queries
  4. D.an index built on a non-ordering attribute to support lookups on a second field
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Secondary index — an index built on a non-ordering attribute to support lookups on a second field
  2. B.Secondary index — an index using a hash function to map keys to buckets for fast equality lookups
  3. C.Secondary index — a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  4. D.Secondary index — the linking of leaf nodes that lets a B+ tree perform efficient ordered range queries
Reveal the answer + AI explanation — free account

10. What is Clustered index?

Mid
  1. A.an index with one entry for every search-key value in the data file
  2. B.an index built on top of another index to reduce the number of blocks searched
  3. C.an index whose order physically determines how the table's rows are stored on disk
  4. D.an index built on a non-ordering attribute to support lookups on a second field
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Clustered index — a balanced multiway search tree storing keys and record pointers in every node
  2. B.Clustered index — an index built on the ordering key of a sequentially ordered data file
  3. C.Clustered index — an index whose order physically determines how the table's rows are stored on disk
  4. D.Clustered index — an index using a hash function to map keys to buckets for fast equality lookups
Reveal the answer + AI explanation — free account

13. What is Dense index?

Mid
  1. A.the linking of leaf nodes that lets a B+ tree perform efficient ordered range queries
  2. B.an index whose order physically determines how the table's rows are stored on disk
  3. C.an index with one entry for every search-key value in the data file
  4. D.an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Dense index — an index built on top of another index to reduce the number of blocks searched
  2. B.Dense index — the linking of leaf nodes that lets a B+ tree perform efficient ordered range queries
  3. C.Dense index — an index with one entry for every search-key value in the data file
  4. D.Dense index — an index using a hash function to map keys to buckets for fast equality lookups
Reveal the answer + AI explanation — free account

16. What is Sparse index?

Mid
  1. A.an index with an entry only for some keys, typically one per data block
  2. B.a balanced multiway search tree storing keys and record pointers in every node
  3. C.a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  4. D.an index built on a non-ordering attribute to support lookups on a second field
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.Sparse index — an index built on top of another index to reduce the number of blocks searched
  2. B.Sparse index — an index with an entry only for some keys, typically one per data block
  3. C.Sparse index — a balanced multiway search tree storing keys and record pointers in every node
  4. D.Sparse index — an index using bit arrays per value, efficient for columns with few distinct values
Reveal the answer + AI explanation — free account

19. What is B-tree index?

Mid
  1. A.an index whose order physically determines how the table's rows are stored on disk
  2. B.an index built on the ordering key of a sequentially ordered data file
  3. C.an index with one entry for every search-key value in the data file
  4. D.a balanced multiway search tree storing keys and record pointers in every node
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.B-tree index — an index with an entry only for some keys, typically one per data block
  2. B.B-tree index — an unordered file that simply appends new records wherever free space exists
  3. C.B-tree index — an index whose order physically determines how the table's rows are stored on disk
  4. D.B-tree index — a balanced multiway search tree storing keys and record pointers in every node
Reveal the answer + AI explanation — free account

22. What is B+ tree index?

Senior
  1. A.an index using a hash function to map keys to buckets for fast equality lookups
  2. B.a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  3. C.an unordered file that simply appends new records wherever free space exists
  4. D.a balanced multiway search tree storing keys and record pointers in every node
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.B+ tree index — a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  2. B.B+ tree index — an index whose order physically determines how the table's rows are stored on disk
  3. C.B+ tree index — an index with an entry only for some keys, typically one per data block
  4. D.B+ tree index — an index built on a non-ordering attribute to support lookups on a second field
Reveal the answer + AI explanation — free account

25. What is Hash index?

Mid
  1. A.an index using a hash function to map keys to buckets for fast equality lookups
  2. B.an index with one entry for every search-key value in the data file
  3. C.an unordered file that simply appends new records wherever free space exists
  4. D.a balanced multiway search tree storing keys and record pointers in every node
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.Hash index — an index using a hash function to map keys to buckets for fast equality lookups
  2. B.Hash index — an index built on top of another index to reduce the number of blocks searched
  3. C.Hash index — an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
  4. D.Hash index — an index with an entry only for some keys, typically one per data block
Reveal the answer + AI explanation — free account

28. What is Heap file?

Junior
  1. A.an index with one entry for every search-key value in the data file
  2. B.a balanced tree keeping all keys in linked leaves for efficient range and sequential scans
  3. C.an auxiliary structure that speeds up data lookup at the cost of extra storage and write effort
  4. D.an unordered file that simply appends new records wherever free space exists
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Junior
  1. A.Heap file — an index built on the ordering key of a sequentially ordered data file
  2. B.Heap file — an index using bit arrays per value, efficient for columns with few distinct values
  3. C.Heap file — an unordered file that simply appends new records wherever free space exists
  4. D.Heap file — a balanced multiway search tree storing keys and record pointers in every node
Reveal the answer + AI explanation — free account

Showing 30 of 39 DBMS · Indexing & Storage questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

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 DBMS · Indexing & Storage free