DBMS Viva Questions With Answers
DBMS Viva Questions With Answers
Q: What is DBMS?
interface for users and applications to interact with databases to store, modify, and retrieve data
efficiently.
A: DBMS is a general database management system, while RDBMS (Relational DBMS) stores data
in a tabular form using rows and columns and enforces relationships between data using keys.
A: Primary key, Foreign key, Candidate key, Super key, and Composite key.
A: A primary key uniquely identifies each record in a table. A foreign key is a field that links to the
A: Normalization is the process of organizing data to reduce redundancy. Types include 1NF, 2NF,
A: Anomalies are problems like insertion, update, and deletion anomalies caused by poor database
design.
A: A relational model organizes data into tables (relations) of rows and columns.
A: SQL (Structured Query Language) is used to manage and manipulate relational databases.
A: DDL (Data Definition Language) defines structure, e.g., CREATE, ALTER. DML (Data
A: Join is used to combine rows from two or more tables. Types: INNER JOIN, LEFT JOIN, RIGHT
Q: What is indexing?
A: Deadlock is a situation where transactions wait for each other indefinitely. It can be avoided using
A: Rules enforced on data to maintain accuracy and integrity, e.g., NOT NULL, UNIQUE, PRIMARY
KEY.
A: Clustered index determines the order of data in a table. Non-clustered index is stored separately
Q: What is a trigger?
view.
A: DELETE removes specific rows and can be rolled back. TRUNCATE removes all rows and
Relationships.