Which of the following ensures data integrity in RDBMS? MCQ with Answer and Explanation

Which of the following ensures data integrity in RDBMS?
A. Constraints like primary key, foreign key
B. Random data entry
C. No validation rules
D. User input without checks
Answer: Option A
Solution (By JKExamLibrary)
Integrity constraints such as keys enforce rules for valid data.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
Which SQL command is used to reverse or undo all modifications made during the current transaction that have not yet been committed?
A. REVERT
B. UNDO
C. SAVEPOINT
D. ROLLBACK

Correct Answer: Option D


Explanation:
The ROLLBACK command is a TCL statement used to undo transactions, restoring the database to its last committed or safe state.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which of the following is a property of a transaction that ensures that the database remains in a valid state before and after the transaction?
A. Atomicity
B. Durability
C. Isolation
D. Consistency

Correct Answer: Option D


Explanation:
Consistency ensures that a transaction brings the database from one valid state to another, maintaining all defined rules and constraints.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
What is a synonym in database terms?
A. A type of index
B. A foreign key
C. A data type
D. An alias for a table or view

Correct Answer: Option D


Explanation:
A synonym is an alternative name for a database object, allowing simpler references.

This question belongs to: Computer Database Management System (DBMS)