engineering computer science MCQ #614

What is the purpose of a transaction log in a database?

engineering computer science MCQ #614

  1. Question 1

    Q1. What is the purpose of a transaction log in a database?

    • A) To store database metadata
    • B) To record changes made to the database
    • C) To optimize query performance
    • D) To improve data security

    Answer: To record changes made to the database

    Explanation: A transaction log records changes made to the database, allowing for recovery in case of failures.