Question
Which of the following statements is true about ACID
properties in database transactions?Solution
Atomicity is a key aspect of database transactions, ensuring that a transaction is treated as a single, indivisible unit. If any part of the transaction fails, the entire transaction is rolled back, leaving the database in its original state. This prevents incomplete transactions from corrupting data. For example, during a fund transfer between two accounts, if the debit operation succeeds but the credit operation fails, the transaction is rolled back, and no changes are made to either account. This guarantees reliability and prevents partial updates, which could lead to data inconsistency. Why Other Options Are Incorrect :
- ACID ensures that every transaction updates only one table at a time : This is false; ACID applies regardless of the number of tables updated in a transaction.
- The Isolation property guarantees that no other transaction can execute while one transaction is active : Isolation ensures controlled concurrent execution but does not prohibit simultaneous transactions entirely; it depends on isolation levels like Serializable or Read Committed.
- Durability ensures data is permanently removed after transaction rollback : Durability guarantees that once a transaction is committed, its changes are permanent, even in case of a system failure. Rollbacks do not affect committed changes.
- Consistency ensures that multiple transactions can execute simultaneously without any conflicts : Consistency refers to maintaining the correctness of data states before and after a transaction, not concurrency handling.
Citizenship is the relationship (A)/ among an individual and a state (B)/ in which the individual belongs, (C)/ and owes allowance to the state (D)/ an...
Select the most appropriate option to fill in the blank.
Today you may not ______ what you hear, but that is the truth and you have to accept it.
The centrally supported (A) hot meal programme in Government and Government-aided schools, covering (B) 11.8 crore children, will be supplemented (C) wi...
Choose the correct combination of grammatically incorrect sentences
I. Governance is still perceived to lag behind private sector management, ...
Officials also seized records pertaining to ₹1,050 crore expenditure for various projects and desilting work which was rewarded to only a few contrac...
Expensive oil could hit consumption and public investment and dent private investment (what is not a path) to a sustained revival.
The following sentence has a word bold. Read the sentence carefully and identify which part of speech the underlined word belongs to. Indicate your res...
Select the correctly punctuated sentence from the options below.
Choose the grammatically correct sentence.
...An example sentence with the Adverb Clause of Purpose is