A strategic collection of frequently asked DBMS interview questions covering everything from fundamentals and normalization to concurrency control and modern NoSQL architectures. Designed for technical interview mastery.
0%
Overall Progress
0/210
Status
Problem
Level
2.What is a Database Management System (DBMS)?
Easy
3.What are the main advantages of using a DBMS?
Easy
4.Why do we need DBMS?
Easy
5.What is the difference between DBMS and file system?
Medium
6.What are the different types of DBMS?
Easy
7.What is a database instance?
Medium
8.What is a data dictionary?
Medium
9.What is Database Admin & its Functions?
Easy
10.What is the role of a Database Administrator (DBA)?
Easy
11.What is RDBMS?
Easy
12.What is the difference between DBMS and RDBMS?
Medium
13.How is RDBMS stored in memory?
Hard
14.What is the meaning of 'Relational' in RDBMS?
Easy
15.What are the different types of relationships in databases?
Easy
16.What is Degree of Relation (1:1, 1:M, M:M)?
Easy
17.What is Database Tier-2/Tier-3 Architecture?
Medium
18.What is Data abstraction in DBMS?
Medium
19.What are the three levels of data abstraction?
Medium
20.What is the difference between logical and physical database design?
Medium
21.What is Instance, Schema, and Sub-Schema?
Medium
22.What are Database Languages (DDL, DML, DCL, TCL)?
Easy
23.What is SQL and why is it important?
Easy
24.What are the different types of SQL commands?
Easy
25.What is the difference between SQL and MySQL?
Easy
26.What is a Primary Key?
Easy
27.What is a Foreign Key?
Easy
28.What is a candidate key?
Medium
29.What is an Alternate key?
Medium
30.What is a Super Key?
Medium
31.What is a Composite key?
Medium
32.What is a Secondary Key?
Medium
33.What is the difference between primary key and unique key?
Medium
34.What is a UNIQUE Key?
Easy
35.What is the difference between Primary Key and UNIQUE Key?
Medium
36.What are constraints in DBMS?
Easy
37.What is referential integrity?
Medium
38.What is Referential Integrity Rule in RDBMS?
Medium
39.What is NOT NULL constraint?
Easy
40.What is Default Constraint?
Easy
41.What are aggregate constraints?
Hard
42.What is a foreign key constraint action?
Medium
43.What is a database schema?
Easy
44.What is Database Schema (Physical vs Logical)?
Medium
45.What are Schema Diagrams?
Easy
46.What is an Entity-Relationship (ER) diagram?
Easy
47.What is the difference between entity and attribute?
Easy
48.What is a weak entity set?
Medium
49.What is ER to Relational Model conversion?
Medium
50.What are the best practices for database design?
Medium
51.What is normalization and why is it important?
Medium
52.What is the purpose of Normalization?
Easy
53.What are 3 anomalies resolved by normalization?
Medium
54.What is First Normal Form (1NF)?
Easy
55.What is Second Normal Form (2NF)?
Medium
56.What is Third Normal Form (3NF)?
Medium
57.What is Boyce-Codd Normal Form (BCNF)?
Hard
58.What is denormalization and when is it used?
Medium
59.What is Denormalization?
Medium
60.What is database normalization and its objectives?
Easy
61.What is functional dependency?
Medium
62.What is Functional Dependency and its types?
Medium
63.What is Trivial Functional Dependency?
Medium
64.What is Non-Trivial Functional Dependency?
Medium
65.What is Fully-Functional Dependency?
Medium
66.What is Partial Functional Dependency?
Medium
67.What is Transitive Dependency?
Medium
68.What is an index and how does it work?
Medium
69.What is Index in DBMS & its types?
Medium
70.What is Indexing in SQL?
Easy
71.What is the difference between clustered and non-clustered index?
Medium
72.What is a Clustered Index?
Medium
73.What is a Non-Clustered Index?
Medium
74.What is the difference between Clustered and Non-Clustered Index?
Medium
75.What is a B-tree index?
Hard
76.What is the difference between B-tree and B+ tree?
Hard
77.What is a bitmap index?
Hard
78.What is a composite index?
Medium
79.What is a covering index?
Hard
80.What is hashing in DBMS?
Hard
81.What is Index Fragmentation?
Hard
82.What are Joins in SQL?
Easy
83.What are the different types of joins in SQL?
Easy
84.What is INNER JOIN?
Easy
85.What is LEFT JOIN?
Easy
86.What is RIGHT JOIN?
Easy
87.What is FULL JOIN?
Medium
88.What is Self Join?
Medium
89.What is Cross Join?
Medium
90.What is the difference between INNER JOIN and OUTER JOIN?
Medium
91.What is the difference between WHERE and HAVING clause?
Medium
92.What is the HAVING clause and when is it used?
Medium
93.What is GROUP BY in SQL?
Easy
94.What is the difference between Group By and Order By?
Easy
95.What is the use of LIMIT in SQL?
Easy
96.What is UNION and UNION ALL?
Medium
97.What is the difference between UNION and UNION ALL?
Medium
98.What is the difference between IN and EXISTS?
Hard
99.What is the use of EXISTS in SQL?
Medium
100.What is a subquery in SQL?
Medium
101.What is Subquery?
Easy
102.What is Nested Query?
Easy
103.What is Correlated Subquery?
Hard
104.What is a correlated subquery?
Hard
105.What is a View in DBMS?
Medium
106.What is View in SQL?
Easy
107.What is the difference between View and Table?
Medium
108.What is a materialized view?
Hard
109.What is the difference between view and materialized view?
Hard
110.What is a stored procedure?
Medium
111.What is Stored Procedure?
Easy
112.What is the difference between Function and Stored Procedure?
Medium
113.What is the Difference Between Stored Procedure and Function in SQL?
Medium
114.What is a stored function?
Easy
115.What is a trigger in DBMS?
Medium
116.What is Trigger in SQL?
Easy
117.What is the difference between a trigger and stored procedure?
Medium
118.What is a database trigger use case?
Medium
119.What is a Cursor?
Medium
120.What is a database cursor?
Medium
121.What is a transaction in DBMS?
Easy
122.What is a Transaction?
Easy
123.What is a Transaction in SQL?
Easy
124.What are ACID properties in DBMS?
Medium
125.What is the ACID Property in SQL?
Medium
126.How to implement Atomicity in Transactions?
Hard
127.What is the function of the Atomicity property?
Medium
128.What is the difference between COMMIT and ROLLBACK?
Easy
129.What is the difference between COMMIT and ROLLBACK in SQL?
Easy
130.What is Savepoint in SQL?
Medium
131.What is a savepoint?
Medium
132.What are the important terms in Transaction Management (Commit, Rollback, Savepoint)?
Easy
133.What is Concurrent Transaction?
Medium
134.What is concurrency control in DBMS?
Medium
135.What are the problems of Concurrent transactions?
Hard
136.What are the advantages of Concurrent transactions?
Medium
137.What is Conflict Operation in Schedules?
Hard
138.What are the different types of Schedules (Serial, Complete, Recoverable, Cascadeless, Strict)?
Hard
139.What is 2-Phase Locking Protocol?
Hard
140.What are the different types of database locks?
Medium
141.What is locking and its types?
Medium
142.What is the difference between shared and exclusive locks?
Medium
143.What is Shared Lock?
Easy
144.What is Exclusive Lock?
Easy
145.What is two-phase locking?
Hard
146.What is a deadlock in DBMS?
Medium
147.How to Prevent Deadlock (Mutual Exclusion, Hold and Wait, No PreEmption, Circular wait)?
Hard
148.What are other Techniques to prevent Deadlock (Timestamp based)?
Hard
149.What is Wait-Die Scheme?
Hard
150.What is Wound-Wait Scheme?
Hard
151.What is Timeout Based Scheme?
Medium
152.What is Starvation and its reason?
Hard
153.What is Deadlock Recovery?
Hard
154.How to Avoid Deadlocks in SQL?
Medium
155.What is Storage System in DBMS?
Medium
156.What is File Structure in DBMS?
Medium
157.What is the difference between DELETE and TRUNCATE?
Medium
158.What is the difference between DELETE, TRUNCATE, and DROP?
Medium
159.What is the difference between Drop, Delete, and Truncate?
Easy
160.What is the disadvantage of the DROP TABLE command?
Easy
161.What is the difference between DROP and TRUNCATE?
Medium
162.What is CTE (Common Table Expression)?
Medium
163.What is a Common Table Expression (CTE)?
Medium
164.What is Temporary Table in SQL?
Medium
165.What are temporary tables?
Easy
166.What is the difference between Temporary Table and CTE?
Hard
167.What is Window Function in SQL?
Hard
168.What is a window function in SQL?
Hard
169.What is the difference between ROW_NUMBER(), RANK(), and DENSE_RANK()?
Hard
170.What is CASE Statement in SQL?
Medium
171.What is the CASE statement in SQL?
Easy
172.What is COALESCE in SQL?
Medium
173.What is NVL Function in SQL?
Medium
174.What is query optimization?
Hard
175.What is Query Optimization?
Hard
176.How to Optimize SQL Queries?
Hard
177.What is Query Execution Plan?
Hard
178.How to Improve Query Performance?
Medium
179.What is data warehousing?
Medium
180.What is the difference between OLTP and OLAP?
Medium
181.What is a data mart?
Medium
182.What is data mining?
Medium
183.What is ETL in data warehousing?
Medium
184.What is database partitioning?
Medium
185.What is Table Partitioning?
Medium
186.What is database sharding?
Hard
187.What are the different types of backup strategies?
Medium
188.What is database recovery and its types?
Hard
189.What is a checkpoint in DBMS?
Hard
190.What is a transaction log?
Medium
191.What is SQL injection and how to prevent it?
Medium
192.What are SQL Privileges?
Easy
193.What is data redundancy and how to reduce it?
Easy
194.What is data independence?
Medium
195.What is database mirroring?
Medium
196.What is database replication?
Medium
197.What is database cache?
Medium
198.What is a timestamp in DBMS?
Medium
199.What is serializability?
Hard
200.What is SQL vs NoSQL?
Medium
201.What is the difference between SQL and NoSQL?
Medium
202.Which Modern Database Is Right for Your Use Case?