🗄️

Database Management Systems MCQ

Test your DBMS knowledge with 100 multiple choice questions covering fundamentals to advanced concepts, with instant feedback and explanations.

100 Questions 40 Beginner 40 Intermediate 20 Advanced
1

What is the first normal form (1NF)?

2

What is the third normal form (3NF)?

3

What is a transaction isolation level?

4

What is a dirty read in database transactions?

5

What is the difference between optimistic and pessimistic locking?

6

What is a B-tree index?

7

What is a hash index?

8

What is sharding in databases?

9

What is database partitioning?

10

What is the difference between correlated and uncorrelated subqueries?

11

What is the CAP theorem's relevance to distributed databases?

12

What is a materialized view?

13

What is query optimization?

14

What is the purpose of database statistics?

15

What is a deadlock in a database context?

16

What is MVCC (Multi-Version Concurrency Control)?

17

What is a cursor in database programming?

18

What is database connection pooling?

19

What is a covering index?

20

What is the difference between SQL and NoSQL databases for scalability?

21

What is a foreign key constraint and cascading?

22

What is data warehousing?

23

What is the difference between star schema and snowflake schema?

24

What is a window function in SQL?

25

What is the difference between UNION and UNION ALL?

26

What is a database trigger and when should it be avoided?

27

What is columnar storage and why is it used in analytical databases?

28

What is the second normal form (2NF)?

29

What does the EXPLAIN command show in most relational databases?

30

What is a non-repeatable read?

31

What is a phantom read?

32

What is the purpose of the EXISTS operator in SQL?

33

What is referential integrity?

34

What is an anti-join in SQL?

35

What is the purpose of the EXPLAIN ANALYZE command compared to plain EXPLAIN?

36

What is a surrogate key?

37

What is the purpose of the GRANT and REVOKE statements in SQL?

38

What is query result caching and what risk does it introduce?

39

What is the difference between a natural join and an inner join with an explicit ON clause?

40

What is the purpose of the COALESCE function in SQL?