Machine-translated by Google. Questions are authored in English.
Top

Translation and Regulation Questions and Answers

61.

Which of the following occurs when a transaction rereads data and finds new rows that were inserted by a committed transaction since the prior read?

Answer: B

Correct answer: Phantom read

A phantom read occurs when a transaction repeats a query and finds new rows that another, now committed, transaction inserted. It differs from a non-repeatable read in that rows have appeared, not merely changed - which is why row locks cannot prevent it and only the serialisable isolation level does.

Please log in or register to report this question.

Answer: D

Correct answer: All of the mentioned

There are three approaches. Prevention designs the system so a deadlock cannot arise - by ordering resources, or by the wait-die and wound-wait schemes. Detection lets deadlocks happen and looks for cycles in the wait-for graph. Recovery then breaks the deadlock by rolling a transaction back.

Please log in or register to report this question.

63.

A transaction that has completed its execution is said to be

Answer: D

Correct answer: Committed

A transaction that has finished and whose changes have been made permanent is committed. Once committed it cannot be rolled back, and durability guarantees the changes will survive a crash.

Please log in or register to report this question.

Answer: D

Correct answer: All of the above

Choosing the victim means choosing the cheapest rollback, and all three factors bear on the cost: how much work would be lost and how much remains, how many data items the transaction has already used, and how many more it needs and how many other transactions the rollback would drag in. A further consideration is how often a transaction has already been rolled back, so that no transaction is starved.

Please log in or register to report this question.

65.

The deadlock state can be changed back to stable state by using _____________ statement.

Answer: B

Correct answer: Rollback

A deadlock is broken by choosing a victim and rolling it back, which releases its locks and lets the others continue. The victim is normally chosen as the one that has done least work, and it is usually restarted afterwards.

Please log in or register to report this question.

66.

The application of database management system in air flight seat booking in a way that one seat is accessed by only one clerk for customer reservation is classified as

Answer: A

Correct answer: online transaction processing

Booking a seat is OLTP: many short transactions, run interactively, each reading and updating a few records, with the answer needed at once. Locking the seat so that only one clerk can sell it is the isolation such processing requires. The contrast is with OLAP, where a few long queries read a great deal of data and update nothing.

Please log in or register to report this question.

Answer: D

Correct answer: Undertaken as an ongoing part of managing a database

Performance tuning is continuous, not a one-off at installation. Data volumes grow, the mix of queries changes, indexes that once helped become a burden on updates - so a database that was well tuned last year may not be now. Monitoring and adjustment are part of ordinary administration.

Please log in or register to report this question.

68.

What is the true inducer of the lac operon in Escherichia coli ?

Answer: D

Correct answer: Allolactose

Lactose entering the cell is converted by beta-galactosidase into allolactose, and it is allolactose that binds the repressor and releases it from the operator. This is why lactose itself is often called the inducer only loosely.

Please log in or register to report this question.

Answer: D

Correct answer: a short sequence that acts as a ribosomal binding site

The Shine-Dalgarno sequence is a purine-rich stretch a few bases upstream of the start codon. It base-pairs with a complementary sequence at the 3’ end of the 16S rRNA, which positions the ribosome so that the correct AUG is in the P site. Prokaryotic mRNAs are often polycistronic, and each cistron has its own Shine-Dalgarno sequence.

Please log in or register to report this question.

70.

A transaction that has not completed successfully is called a _______

Answer: B

Correct answer: Aborted transaction

A transaction that cannot complete is aborted: everything it has done is rolled back, so the database is left as if it had never begun. That is atomicity in action. A compensating transaction is a different thing - one that undoes the effect of an already committed transaction by applying opposite operations.

Please log in or register to report this question.

Loading…
Tags: Translation and Regulation Questions and Answers || Translation and Regulation MCQ Questions and Answers || Translation and Regulation GK Questions and Answers || Translation and Regulation GK MCQ Questions || Translation and Regulation Multiple Choice Questions and Answers || Translation and Regulation GK || GK on Translation and Regulation || Microbiology Questions and Answers || Microbiology MCQ Questions and Answers || Microbiology GK Questions and Answers || GK on Microbiology