InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
In ___________ isolation each transaction is given its own version of the database(a) Timestamp(b) Snapshot(c) Lock based(d) All of the mentionedI had been asked this question by my school teacher while I was bunking the class.This intriguing question originated from Transaction Isolation Levels in division Transactions of RDBMS |
|
Answer» Right ANSWER is (b) SNAPSHOT |
|
| 2. |
When is a timestamp allotted(a) When execution begins(b) When execution is taking place(c) When execution is completed(d) None of the mentionedThis question was posed to me in an online interview.I would like to ask this question from Transaction Isolation Levels topic in division Transactions of RDBMS |
|
Answer» RIGHT ANSWER is (a) When EXECUTION begins The BEST I can explain: Timestamp is allotted when execution of a TRANSACTION begins. |
|
| 3. |
State true or false: All the isolation levels disallow dirty writes(a) True(b) FalseThis question was posed to me by my school teacher while I was bunking the class.I want to ask this question from Transaction Isolation Levels in division Transactions of RDBMS |
|
Answer» The correct choice is (a) True |
|
| 4. |
___________ allows uncommitted data to be read(a) Read uncommitted(b) Serializable(c) Repeatable read(d) Read committedThis question was posed to me by my college professor while I was bunking the class.Origin of the question is Transaction Isolation Levels in chapter Transactions of RDBMS |
|
Answer» The correct option is (a) Read UNCOMMITTED |
|
| 5. |
________ allows only committed data to be read, but does not require repeatable reads(a) Read uncommitted(b) Serializable(c) Repeatable read(d) Read committedI had been asked this question during an interview.My question is from Transaction Isolation Levels in division Transactions of RDBMS |
|
Answer» RIGHT answer is (d) READ committed The EXPLANATION: Read committed allows only committed data to be read, but does not REQUIRE repeatable reads. For instance, between TWO reads of a data item by the transaction, another transaction may have updated the data item and committed. |
|
| 6. |
________ allows only committed data to be read and further requires that no other transaction is allowed to update it between two reads of a data item by a transaction.(a) Read uncommitted(b) Serializable(c) Repeatable read(d) Read committedI had been asked this question during an online interview.I would like to ask this question from Transaction Isolation Levels in section Transactions of RDBMS |
|
Answer» Correct option is (c) REPEATABLE read |
|
| 7. |
State true or false: Serializable level may allow both serializable and non-serializable executions(a) True(b) FalseI had been asked this question in quiz.I need to ask this question from Transaction Isolation Levels in section Transactions of RDBMS |
|
Answer» The correct ANSWER is (a) True |
|
| 8. |
Which of the following is a transaction isolation level as specified by SQL standard?(a) Serializable(b) Repeatable read(c) Read committed(d) All of the mentionedThe question was posed to me in an interview.The query is from Transaction Isolation Levels topic in chapter Transactions of RDBMS |
|
Answer» Right choice is (a) Serializable |
|
| 9. |
Which of the following is not a type of a schedule?(a) Partial schedule(b) Dependent schedule(c) Recoverable schedule(d) None of the mentionedI got this question by my school principal while I was bunking the class.I'm obligated to ask this question of Transaction Isolation topic in division Transactions of RDBMS |
|
Answer» The CORRECT answer is (d) None of the MENTIONED |
|
| 10. |
If a schedule is equivalent to a serial schedule, it is called as a _________(a) Serializable schedule(b) Equivalent schedule(c) Committed schedule(d) None of the mentionedI have been asked this question during an online interview.My question is based upon Transaction Isolation in portion Transactions of RDBMS |
|
Answer» The correct ANSWER is (a) Serializable SCHEDULE |
|
| 11. |
The average time for a transaction to be completed after it has been submitted is called as __________(a) Minimum response time(b) Average response time(c) Average reaction time(d) Minimum reaction timeI had been asked this question by my college director while I was bunking the class.My doubt is from Transaction Isolation in chapter Transactions of RDBMS |
|
Answer» The correct option is (b) Average response TIME |
|
| 12. |
Which of the following are the advantages of transaction concurrency?(a) Increased throughput(b) Increased utilization(c) Reduces average response time(d) All of the mentionedThis question was posed to me in class test.This key question is from Transaction Isolation in section Transactions of RDBMS |
|
Answer» Right answer is (d) All of the mentioned |
|
| 13. |
State true or false: Transactions can only run serially(a) True(b) FalseI had been asked this question at a job interview.Origin of the question is Transaction Isolation topic in section Transactions of RDBMS |
|
Answer» The CORRECT choice is (B) False |
|
| 14. |
A ___________ is one where, for each pair of transactions Ti and Tj such that Tj reads a data item previously written by Ti , the commit operation of Ti appears before the commit operation of Tj(a) Partial schedule(b) Dependent schedule(c) Recoverable schedule(d) None of the mentionedThe question was asked in an online quiz.I would like to ask this question from Transaction Isolation in chapter Transactions of RDBMS |
|
Answer» Correct option is (c) RECOVERABLE schedule |
|
| 15. |
State true or false: Every cascadeless schedule is also recoverable(a) True(b) FalseI have been asked this question during an interview.I would like to ask this question from Transaction Isolation in section Transactions of RDBMS |
|
Answer» Right answer is (a) True |
|
| 16. |
The phenomenon in which one failure leads to a series of transaction rollbacks is called as ________(a) Cascading rollback(b) Cascadeless rollback(c) Cascade cause(d) None of the mentionedThe question was posed to me in an online interview.The question is from Transaction Isolation in section Transactions of RDBMS |
|
Answer» The correct option is (a) Cascading rollback |
|
| 17. |
A transaction that performs only one operation is called as a _________(a) Partial schedule(b) Complete schedule(c) Dependent schedule(d) Independent scheduleThis question was posed to me in unit test.I want to ask this question from Transaction Isolation in chapter Transactions of RDBMS |
|
Answer» Right answer is (a) PARTIAL schedule |
|
| 18. |
Which of the following is the most expensive method?(a) Timestamping(b) Plain locking(c) Predicate locking(d) Snapshot isolationI have been asked this question during an online interview.My doubt stems from Serializability topic in section Transactions of RDBMS |
|
Answer» The correct OPTION is (c) Predicate locking |
|
| 19. |
State true or false: If I = read(Q) and J = write(Q) then the order of I and J does not matter.(a) True(b) FalseThis question was addressed to me in final exam.This question is from Serializability topic in division Transactions of RDBMS |
|
Answer» The CORRECT OPTION is (b) False |
|
| 20. |
State true or false: If I = read(Q) and J = read(Q) then the order of I and J does not matter.(a) True(b) FalseThe question was asked by my school principal while I was bunking the class.Query is from Serializability topic in division Transactions of RDBMS |
|
Answer» CORRECT choice is (a) True Explanation: If I = read(Q) and J = read(Q) then the ORDER of I and J does not matter because both Iand J are read OPERATIONS on the query. |
|
| 21. |
A ___________of the transactions can be obtained by finding a linear order consistent with the partial order of the precedence graph.(a) Serializability order(b) Direction graph(c) Precedence graph(d) Scheduling schemeI had been asked this question in exam.My question is from Serializability topic in section Transactions of RDBMS |
|
Answer» The correct option is (a) Serializability order |
|
| 22. |
The set of ________ in a precedence graph consists of all the transactions participating in the schedule(a) Vertices(b) Edges(c) Directions(d) None of the mentionedThis question was addressed to me in an international level competition.Question is from Serializability in portion Transactions of RDBMS |
|
Answer» CORRECT choice is (a) VERTICES Explanation: The set of vertices in a precedence graph consists of all the transactions PARTICIPATING in the schedule. Precedence graph is a simple and efficient way of determining CONFLICT serializability of the schedule. |
|
| 23. |
A schedule is __________ if it is conflict equivalent to a serial schedule.(a) Conflict serializable(b) Conflicting(c) Non serializable(d) None of the mentionedI got this question in final exam.This intriguing question originated from Serializability topic in chapter Transactions of RDBMS |
|
Answer» The correct option is (a) Conflict SERIALIZABLE |
|
| 24. |
If a schedule S can be transformed into a schedule S’ by a series of swaps of non-conflicting instructions, then S and S’ are(a) Non conflict equivalent(b) Equal(c) Conflict equivalent(d) Isolation equivalentThis question was addressed to me during an interview.This key question is from Serializability topic in division Transactions of RDBMS |
|
Answer» Right option is (c) Conflict EQUIVALENT |
|
| 25. |
I and J are _________ if they are operations by different transactions on the same data item, and at least one of them is a write operation.(a) Conflicting(b) Overwriting(c) Isolated(d) DurableI had been asked this question during an interview.Question is taken from Serializability topic in portion Transactions of RDBMS |
|
Answer» Right OPTION is (a) Conflicting |
|
| 26. |
The scheme that controls the interaction between executing transactions is called as _____(a) Concurrency control scheme(b) Multiprogramming scheme(c) Serialization scheme(d) Schedule schemeThe question was asked by my college professor while I was bunking the class.My query is from Transaction Concept and Model in division Transactions of RDBMS |
|
Answer» CORRECT choice is (a) Concurrency control SCHEME Explanation: The scheme that CONTROLS the interaction between executing TRANSACTIONS is called as concurrency control scheme. |
|
| 27. |
The execution sequences in concurrency control are termed as ________(a) Serials(b) Schedules(c) Organizations(d) Time tablesI had been asked this question in final exam.This is a very interesting question from Transaction Concept and Model topic in portion Transactions of RDBMS |
|
Answer» Right answer is (B) SCHEDULES |
|
| 28. |
Which of the following is not a transaction state?(a) Active(b) Partially committed(c) Failed(d) CompensatedI have been asked this question by my school teacher while I was bunking the class.The query is from Transaction Concept and Model in chapter Transactions of RDBMS |
|
Answer» The correct option is (d) COMPENSATED |
|
| 29. |
A transaction that has not been completed successfully is called as _______(a) Compensating transaction(b) Aborted transaction(c) Active transaction(d) Partially committed transactionThe question was asked in my homework.My doubt stems from Transaction Concept and Model in chapter Transactions of RDBMS |
|
Answer» CORRECT OPTION is (b) ABORTED transaction For explanation I would say: Aborted transaction is a state after the transaction has been rolled back and the DATABASE has been RESTORED to the state prior to the transaction. |
|
| 30. |
State true or false: Information residing in the volatile storage does not usually survive system crashes(a) True(b) FalseThe question was asked during an interview for a job.The doubt is from Transaction Concept and Model topic in portion Transactions of RDBMS |
|
Answer» The correct option is (a) True |
|
| 31. |
Which of the following systems is responsible for ensuring isolation?(a) Recovery system(b) Atomic system(c) Concurrency control system(d) Compiler systemThis question was addressed to me in an interview for internship.This intriguing question originated from Transaction Concept and Model topic in portion Transactions of RDBMS |
|
Answer» Right choice is (C) Concurrency control system |
|
| 32. |
Which of the following systems is responsible for ensuring durability?(a) Recovery system(b) Atomic system(c) Concurrency control system(d) Compiler systemI had been asked this question in an international level competition.I'm obligated to ask this question of Transaction Concept and Model topic in section Transactions of RDBMS |
|
Answer» Right answer is (a) RECOVERY system |
|
| 33. |
Which of the following is not a property of a transaction?(a) Atomicity(b) Simplicity(c) Isolation(d) DurabilityI got this question in my homework.My enquiry is from Transaction Concept and Model topic in portion Transactions of RDBMS |
|
Answer» The correct ANSWER is (b) Simplicity |
|
| 34. |
Execution of translation in isolation preserves the _________ of a database(a) Atomicity(b) Consistency(c) Durability(d) All of the mentionedI had been asked this question in examination.This question is from Transaction Concept and Model topic in division Transactions of RDBMS |
|
Answer» The correct option is (b) Consistency |
|
| 35. |
Which of the following is a property of transactions?(a) Atomicity(b) Durability(c) Isolation(d) All of the mentionedI got this question during an internship interview.I'm obligated to ask this question of Transaction Concept and Model in portion Transactions of RDBMS |
|
Answer» Correct option is (d) All of the mentioned |
|
| 36. |
The “all-or-none” property is commonly referred to as _________(a) Isolation(b) Durability(c) Atomicity(d) None of the mentionedI got this question in my homework.I want to ask this question from Transaction Concept and Model topic in section Transactions of RDBMS |
|
Answer» The CORRECT option is (C) Atomicity |
|
| 37. |
Collections of operations that form a single logical unit of work are called __________(a) Views(b) Networks(c) Units(d) TransactionsI got this question during an interview.The above asked question is from Transaction Concept and Model topic in portion Transactions of RDBMS |
|
Answer» The correct OPTION is (d) Transactions |
|