Practice dbms Quizzes
Sharpen your technical edge with advanced dbms quizzes built for serious learners and professionals. These quizzes challenge your reasoning, improve retention and provide hands-on practice similar to real engineering scenarios. Perfect for upskilling and interview preparation.
Explore All dbms Quizzes
Learn dbms step by step with interactive quizzes designed for beginners and learners revising key concepts. Build a strong foundation with clear, structured practice in dbms.
Question 1
What is a Database Management System (DBMS)?
1
A programming language for creating applications
2
A network management tool
3
A software that manages and organizes data in a database
4
A hardware device for storing data
Question 2
What is the primary function of a Database Management System (DBMS)?
1
Manage operating system processes
2
Perform network communication
3
Store and retrieve data efficiently
4
Optimize CPU performance
Question 3
Which of the following is NOT a type of data model in DBMS?
1
Hierarchical model
2
Object-oriented model
3
Network model
4
Cloud model
Question 4
Which of the following is a key difference between SQL and NoSQL databases?
1
SQL databases do not support transactions, while NoSQL does
2
SQL databases store data in documents, NoSQL stores data in tables
3
SQL databases use structured query language, NoSQL uses flexible data models
4
SQL databases are schema-less, NoSQL databases require a strict schema
Question 5
Which ACID property ensures that once a transaction is committed, it remains so even in case of system failure?
1
Isolation
2
Durability
3
Atomicity
4
Consistency
Question 6
What is the main goal of normalization in a database?
1
To minimize redundancy and improve data integrity
2
To reduce data integrity
3
To increase redundancy
4
To store data in a single large table
Question 7
Which of the following is NOT a type of data model in DBMS?
1
Hierarchical model
2
Network model
3
Object-oriented model
4
All of the above
Question 8
Which of the following is an advantage of distributed databases?
1
Complete elimination of data redundancy
2
Faster data retrieval in all cases
3
No need for replication
4
Improved reliability and availability
Question 9
What does ACID stand for in DBMS?
1
Accuracy, Consistency, Isolation, Database
2
Atomicity, Consistency, Isolation, Durability
3
Automation, Control, Integrity, Dependency
4
Access, Control, Integrity, Data
Question 10
Which of the following is NOT a type of database model?
1
Network
2
Linear
3
Hierarchical
4
Graph-based
Question 11
Which of the following indexing techniques is used in DBMS?
1
B-Tree
2
Hashing
3
Bitmap Indexing
4
All of the above
Question 12
Which of the following is an advantage of NoSQL databases over traditional RDBMS?
1
Schema flexibility
2
Better horizontal scalability
3
Handling unstructured data
4
All of the above
Question 13
What does SQL stand for?
1
Standardized Query Logic
2
Structured Query Language
3
System Query Language
4
Sequential Query Language
Question 14
Which of the following best describes an RDBMS?
1
A database system that stores data in key-value pairs
2
A database system that organizes data in tables with relationships
3
A database system that only allows unstructured data storage
4
A file-based system for data storage
Question 15
In a relational database, what does a foreign key do?
1
Automatically indexes data
2
Ensures a table has at least one row
3
Establishes a relationship between two tables
4
Uniquely identifies a row in a table
Question 16
Which of the following is an example of an RDBMS?
1
MongoDB
2
MySQL
3
Firebase
4
Neo4j
Question 17
What is the purpose of the PRIMARY KEY in a table?
1
To uniquely identify each row
2
To allow duplicate values
3
To store null values
4
To create foreign keys
Question 18
Which of the following SQL commands is used to remove all records from a table but keep its structure?
1
TRUNCATE
2
DELETE
3
DROP
4
ALTER
Question 19
In a relational database, what does normalization help to achieve?
1
Reducing redundancy
2
Increasing complexity
3
Slowing down performance
4
Increasing redundancy
Question 20
Which isolation level allows dirty reads?
1
REPEATABLE READ
2
READ COMMITTED
3
READ UNCOMMITTED
4
SERIALIZABLE
Question 21
Which index type is most effective for columns with low cardinality?
1
Hash Index
2
Full-Text Index
3
Bitmap Index
4
B-Tree Index
Question 22
Which data access pattern is key-value stores best optimized for?
1
Direct lookup using a unique key
2
Multi-table aggregation
3
Complex joins across tables
4
Range-based queries
