What happens when a database transaction triggers a 'COMMIT' statement? MCQ with Answer and Explanation

What happens when a database transaction triggers a 'COMMIT' statement?
A. The transaction pauses temporarily.
B. The database structure is dropped.
C. All changes made by the transaction are made permanent on disk storage.
D. The transaction is aborted and wiped.
Answer: Option C
Solution (By JKSSB Mock Tests)
Executing a COMMIT statement instructs the database engine to save all data updates performed during the transaction permanently into physical storage.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
In SQL, which clause is used to specify the table(s) from which to retrieve data?
A. GROUP BY
B. WHERE
C. SELECT
D. FROM

Correct Answer: Option D


Explanation:
The FROM clause identifies the table(s) from which data is to be selected.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following is a valid SQL statement to create a view?
A. CREATE VIEW view_name AS SELECT ...;
B. CREATE VIEW view_name (columns) AS SELECT ...;
C. Neither
D. Both A and B

Correct Answer: Option D


Explanation:
Both syntaxes are valid: CREATE VIEW view_name AS SELECT ... and with column aliases.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the main advantage of using a DBMS?
A. Data integrity and security
B. Reduced application development time
C. Data sharing and concurrency control
D. All of the above

Correct Answer: Option D


Explanation:
DBMS provides numerous benefits including data sharing, concurrency control, integrity, security, and reduces development time.

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