in Education by
Which lock should be obtained to prevent a concurrent transaction from executing a conflicting read, insert or delete operation on the same key value. (a) Higher-level lock (b) Lower-level lock (c) Read only lock (d) Read write I have been asked this question by my school principal while I was bunking the class. Question is from Lock Release and Undo Operations in division Recovery System of Database Management Select the correct answer from above options Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answer

0 votes
by
Correct option is (a) Higher-level lock To explain: Operations acquire lower-level locks while they execute, but release them when they complete; the corresponding transaction must however retain a higher-level lock in a two-phase manner to prevent concurrent transactions from executing conflicting actions.

Related questions

0 votes
    Once the lower-level lock is released, the operation cannot be undone by using the old values of updated ... and Undo Operations in division Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    The ____ lock allows concurrent transactions to access the same row as long as they require the use of ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    A lock that allows concurrent transactions to access different rows of the same table is known as a ( ... Protocols topic in section Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    An operation is said to be __________ if executing it several times in a row gives the same result as ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    In crabbing protocol to inset or delete a key value the leaf node has to be locked in ___________ ... Index Structures topic in section Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    The output obtained on executing the command is -l foo.txt is as follows -rw-rw-r-1 Charlie Charbe 80 Aug 10 10: ... Sep 25 11 30 a txt Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    In crabbing protocol, the lock obtained on the root node is in _________ mode. (a) Shared (b) ... in Index Structures in portion Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    If transaction Ti gets an explicit lock on the file Fc in exclusive mode, then it has an ... Based Protocols topic in section Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    A lock that prevents the use of any tables in the database from one transaction while another ... Multiversion Schemes in section Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    A coil (which can be modelled as a series RL circuit) has been designed for a high Quality Factor (Q) ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 19, 2021 in Education by JackTerrance
0 votes
    To perform logical redo or undo, the database state on disk must be operation ___________ that is, it ... Undo Operations topic in chapter Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    Which of these method is used to insert value and its key? (a) put() (b) set() (c) insertElement( ... The Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these method is used to insert value and its key? (a) put() (b) set() (c) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    The __________ requires that each transaction Ti executes in two or three different phases in its lifetime ... topic in section Concurrency Control of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    I'm using $.ajax() to load new pages on my site if certain conditions are met (a flash-based ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
...