Interview Prep10 min read

Top 25 DBMS Interview Questions with Answers (2026)

DBMS is a placement and GATE favourite because it's conceptual and quick to test. If you can normalise a table, explain ACID, and reason about transactions and indexes, you're covered for most rounds. Here are the recurring questions, answered.

A database icon surrounded by table and key symbols, representing database management systems

Design & normalization

What is the ER model?

A design blueprint that represents data as entities (things), their attributes (properties), and the relationships between them - drawn before you translate it into actual tables.

Explain normal forms 1NF through BCNF.

Each form removes a kind of redundancy: 1NF requires atomic values, 2NF removes partial dependencies on part of a composite key, 3NF removes transitive dependencies, and BCNF requires every determinant to be a candidate key. Given a relation, be ready to say which form it violates and why.

What is a functional dependency and a candidate key?

A functional dependency A → B means A's value determines B's value. A candidate key is a minimal set of attributes that uniquely identifies each row - remove any attribute and it stops being unique.

When would you denormalise?

Deliberately, for read performance - adding controlled redundancy (e.g. in reporting or analytics tables) to avoid expensive joins, accepting more complex writes as the trade-off.

Transactions & concurrency

What are the ACID properties?

Atomicity (all operations succeed or none do), Consistency (a transaction moves the database from one valid state to another), Isolation (concurrent transactions don't interfere), and Durability (committed changes survive crashes).

What does serializability guarantee?

That a concurrent schedule of transactions produces the same result as some serial (one-after-another) execution of them - the correctness standard for concurrency control.

What is a deadlock and how is it handled?

Two transactions each waiting for a lock the other holds. Databases handle it by prevention (lock ordering), avoidance (Banker's algorithm), or detection - spotting the wait-for cycle and rolling one transaction back.

What do isolation levels control?

The trade-off between performance and anomalies. From Read Uncommitted up to Serializable, higher levels prevent more anomalies - dirty reads, non-repeatable reads and phantom reads - at the cost of concurrency.

Storage & indexing

How do indexes speed up queries, and why B+ trees?

An index lets the engine locate rows without scanning the whole table. B+ trees keep keys sorted with all data in the leaves, giving efficient equality and range lookups - which is why most database indexes use them.

Clustered vs non-clustered index?

A clustered index defines the physical order of rows in the table, so there's only one. A non-clustered index is a separate structure that stores keys with pointers to the rows.

SQL vs NoSQL - when do you choose each?

Relational (SQL) suits structured, related data needing strong consistency and complex queries. NoSQL/document stores suit flexible schemas, high write volume and horizontal scaling.

The bottom line

Now go test yourself

DBMS is one of the most predictable interview and GATE subjects: normalization, ACID, transactions and indexing come up again and again, and they're conceptual enough to master quickly. The single skill that pays off most is being able to take a messy table and normalise it out loud, step by step.

Concepts feel obvious until you're asked to apply them. Start a DBMS quiz, work through the normalization and transaction questions, and let the explanations confirm you can actually reason - not just recognise.

FAQs

Frequently asked questions

Which DBMS topics are asked most in placements?

Normalization, ACID and transactions, indexing, and the ER model. GATE adds concurrency control and serializability in more depth.

Is DBMS important for GATE CSE?

Yes - it's a core subject. Normalization, transactions, and B+ tree indexing appear almost every year.

How should I revise DBMS before an interview?

Practice normalization and transaction MCQs, and be able to normalise a sample table out loud - that's the most common live question.

What are the ACID properties in DBMS?

Atomicity (all operations in a transaction succeed or none do), Consistency (valid state to valid state), Isolation (concurrent transactions don't interfere), and Durability (committed changes survive crashes). Be ready with a one-line meaning for each.

What is normalization and why is it used?

Normalization organises tables to remove redundancy and update anomalies, progressing through 1NF, 2NF, 3NF and BCNF. Each form removes a specific kind of dependency, keeping data consistent and easier to maintain.

What is the difference between a primary key and a foreign key?

A primary key uniquely identifies each row in a table and can't be null. A foreign key references another table's primary key to enforce referential integrity between related tables.

What is the difference between DBMS and RDBMS?

A DBMS stores and manages data; an RDBMS is a DBMS that organises data into related tables with keys and enforces relationships and constraints (most SQL databases are RDBMS).

What is an index and how does it improve performance?

An index is a sorted structure (often a B+ tree) that lets the database find rows without scanning the whole table, speeding up reads. The trade-off is slower writes and extra storage, since indexes must be maintained.

What is the difference between SQL and NoSQL databases?

SQL (relational) databases use structured tables with fixed schemas and strong consistency; NoSQL databases use flexible models (document, key-value, graph) that scale horizontally and suit unstructured or rapidly changing data.

Related quizzes

Put it into practice

Keep reading

Related articles

Browse all articles →

Test yourself in two minutes

Six adaptive questions, every answer explained by an AI tutor. Free.

▶ Start an AI quiz