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? MCQ with Answer and Explanation

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. Consistency
B. Atomicity
C. Isolation
D. Durability
Answer: Option A
Solution (By JKSSB Mock Tests)
Consistency ensures that a transaction brings the database from one valid state to another, maintaining all defined rules and constraints.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which clause is used to assign a temporary alias name to a column or table in an SQL statement for better readability?
A. AS
B. WITH
C. USING
D. LIKE

Correct Answer: Option A


Explanation:
The AS keyword is used to assign a temporary alias name to an expression, column, or table within an SQL statement query execution context.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following is a type of lock in a database?
A. Shared lock
B. Exclusive lock
C. None
D. Both A and B

Correct Answer: Option D


Explanation:
Shared locks allow multiple transactions to read a resource, while exclusive locks allow only one transaction to write.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which type of database storage anomaly occurs when adding new data to a table is blocked because other unrelated data is missing?
A. Insertion Anomaly
B. Update Anomaly
C. Modification Anomaly
D. Deletion Anomaly

Correct Answer: Option A


Explanation:
An Insertion Anomaly occurs when certain facts cannot be recorded in a database table without falsely manufacturing or requiring the presence of other unrelated facts.

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