FliQi Education App Download
प्रश्न-बैंक · Programmer DBMS

Recovery Techniques — प्रश्न और उत्तर

Programmer DBMS · 81 जाँचे हुए (verified) प्रश्न

  • 81 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
डेटाबेस प्रबंधन प्रणाली में पुनर्प्राप्ति प्रबंधक (recovery manager) का उद्देश्य क्या है?
What is the purpose of the recovery manager in a database management system?
  1. Aडेटाबेस की बंदिशें (constraints) लागू करनाTo enforce database constraints
  2. Bडेटाबेस के लेन-देन (transactions) सँभालनाTo manage database transactions
  3. Cडेटा की अखंडता (integrity) बनाए रखनाTo ensure data integrity
  4. Dसिस्टम विफल होने के बाद डेटाबेस को सुसंगत (consistent) स्थिति में लौटानाTo restore the database to a consistent state after a system failure

सही उत्तर / Answer: (D)

हल / Solution
पुनर्प्राप्ति प्रबंधक (recovery manager) का काम विफलता के बाद शुरू होता है — वह लॉग पढ़कर प्रतिबद्ध लेन-देन के बदलाव दोबारा लगाता है और अधूरे लेन-देन पलटा देता है, जिससे डेटाबेस सुसंगत स्थिति में लौट आता है। बंदिशें लागू करना बंदिश-जाँच का हिस्सा है और लेन-देन सँभालना लेन-देन प्रबंधक (transaction manager) का काम। विकल्प 3 इतना चौड़ा है कि वह पूरे DBMS पर लागू होता है, इसलिए वह किसी एक अंग का उद्देश्य नहीं बताता।
The recovery manager starts working after a failure. It reads the log, reapplies the changes of committed transactions and rolls back the incomplete ones, so the database is brought back to a consistent state. Enforcing constraints is the job of the constraint checker, and running transactions is the job of the transaction manager. Option 3 is far too broad: keeping data correct is a goal of the whole system, not the purpose of this one component.
प्रश्न 2उत्तर + हल
ARIES लेन-देन की टिकाऊपन (durability) कैसे पक्की करती है?
How does ARIES ensure durability of transactions?
  1. Aचेकपॉइंट से समय-समय पर डेटाबेस की स्थिति सहेजकरBy using checkpoints to periodically save the database state
  2. Bcommit होने तक अद्यतन स्मृति (memory) में रोककरBy buffering updates in memory until the transaction commits
  3. Cअद्यतन तुरंत डेटाबेस पर लागू करकेBy immediately applying updates to the database
  4. Dलेन-देन के सभी बदलावों का लॉग बनाकरBy maintaining a log of all changes made by transactions

सही उत्तर / Answer: (D)

हल / Solution
टिकाऊपन का अर्थ है — commit हो जाने के बाद बदलाव बचा रहे, भले बिजली चली जाए। ARIES यह लॉग से करती है: commit की ख़बर देने से पहले उस लेन-देन के सारे लॉग अभिलेख डिस्क पर ज़बरन लिखे जाते हैं। डेटा पेज बाद में लिखे जाएँ तो भी redo चरण उन्हें लॉग से लौटा देता है। चेकपॉइंट सिर्फ़ पुनर्प्राप्ति छोटी करता है। विकल्प 2 और 3 बफ़र प्रबंधन की नीतियाँ हैं।
Durability means that a committed change survives even a power failure. ARIES gets it from the log: before a commit is reported, all log records of that transaction are forced to disk. The data pages may still be written later, because the redo pass rebuilds them from the log after a crash. Checkpoints only shorten recovery and do not by themselves make changes durable. Options 2 and 3 are buffer-management policies, and ARIES forces neither of them.
प्रश्न 3उत्तर + हल
ARIES में राइट-अहेड लॉगिंग (write-ahead logging, WAL) का मुख्य लाभ क्या है?
What is the primary advantage of using write-ahead logging (WAL) in ARIES?
  1. Aयह पुनर्प्राप्ति का बोझ घटा देती हैIt reduces the overhead of recovery
  2. Bयह पक्का करती है कि बदलाव डेटाबेस पर लगने से पहले डिस्क पर लिख दिए जाएँIt ensures that changes are written to disk before they are applied to the database
  3. Cयह पुनर्प्राप्ति के विश्लेषण चरण को आसान बना देती हैIt simplifies the analysis phase of recovery
  4. Dयह लेन-देन को डिस्क पर कुछ भी लिखे बिना प्रतिबद्ध (commit) होने देती हैIt lets a transaction commit without writing anything to disk

सही उत्तर / Answer: (B)

हल / Solution
WAL का नियम यही है — बदलाव का लॉग अभिलेख पहले स्थायी भंडारण (stable storage) में पहुँचे, डेटा पेज डिस्क पर बाद में जाए। इसी से क्रैश के बाद हर बदलाव को redo या undo करने का सबूत लॉग में बचा रहता है। विकल्प 4 उलटी बात है: commit के समय लॉग ज़बरन डिस्क पर लिखना पड़ता है, वरना टिकाऊपन (durability) नहीं बचेगा। बोझ घटना और विश्लेषण की आसानी बस साथ चलने वाले फ़ायदे हैं।
The write-ahead rule says that the log record for a change must reach stable storage before the changed data page is written to disk. That order guarantees that after a crash the log holds the evidence needed to redo or undo every change. Option 4 is the opposite of the truth, because at commit the log must be forced to disk or durability is lost. Lower recovery cost is only a side effect.
प्रश्न 4उत्तर + हल
ARIES की लॉगिंग रणनीति को इनमें से कौन-सा कथन सही बताता है?
Which of the following statements accurately describes the logging strategy used in ARIES?
  1. Aयह बदले गए डेटा का सिर्फ़ पुराना रूप (before-image) लॉग करती हैIt logs only the before-images of modified data items
  2. Bयह बदले गए डेटा का पुराना और नया रूप (before-image तथा after-image) दोनों लॉग करती हैIt logs both the before-images and after-images of modified data items
  3. Cयह बदले गए डेटा का सिर्फ़ नया रूप (after-image) लॉग करती हैIt logs only the after-images of modified data items
  4. Dयह हर लेन-देन के बदलाव अलग लॉग फ़ाइल में लॉग करती हैIt logs the changes made by each transaction in a separate log file

सही उत्तर / Answer: (B)

हल / Solution
ARIES एक ही लॉग रखती है और हर अद्यतन अभिलेख (update log record) में दो सूचनाएँ डालती है — पुराना रूप (before-image), जिससे undo हो सके, और नया रूप (after-image), जिससे redo हो सके। इसी से वह अधूरे लेन-देन पलटा पाती है और प्रतिबद्ध लेन-देन दोबारा लगा पाती है। सिर्फ़ पुराना रूप होता तो redo असंभव था, सिर्फ़ नया रूप होता तो undo। लेन-देन-वार अलग फ़ाइल ARIES नहीं रखती।
ARIES keeps one sequential log, and every update record in it carries two pieces of information: the before-image, which makes undo possible, and the after-image, which makes redo possible. That is why it can both roll back incomplete transactions and reapply committed ones. With only before-images, as option 1 claims, redo would be impossible, and with only after-images undo would be impossible. ARIES never splits the log into a separate file for each transaction.
प्रश्न 5उत्तर + हल
ARIES पुनर्प्राप्ति एल्गोरिथ्म में विश्लेषण चरण (analysis phase) का उद्देश्य क्या है?
What is the purpose of the analysis phase in the ARIES recovery algorithm?
  1. Aयह तय करना कि लेन-देन किस क्रम में redo किए जाएँTo determine the order in which transactions should be redone
  2. Bपुनर्प्राप्ति शुरू होने से पहले नया चेकपॉइंट (checkpoint) अभिलेख लिखनाTo write a fresh checkpoint record before recovery begins
  3. Cलॉग से बदलाव डेटाबेस पर लागू करनाTo apply changes from the log to the database
  4. Dलॉग का विश्लेषण करके निरसन योग्य लेन-देन की सूची बनानाTo analyze the log and identify the set of transactions to be undone

सही उत्तर / Answer: (D)

हल / Solution
विश्लेषण चरण आख़िरी चेकपॉइंट से लॉग पढ़ता है और दो चीज़ें तैयार करता है — हारे हुए लेन-देन (loser transactions) की सूची, यानी जिन्हें पलटना है, और गंदा पेज तालिका (dirty page table), जिससे redo का आरंभ बिंदु RedoLSN मिलता है। redo का क्रम लेन-देन से नहीं, लॉग के क्रम से तय होता है, इसलिए विकल्प 1 ग़लत है। चेकपॉइंट सामान्य चलन में लिखा जाता है, विश्लेषण में नहीं। और बदलाव लागू करना redo चरण का काम है।
The analysis pass scans the log from the last checkpoint and prepares two things: the list of loser transactions that must be rolled back, and the dirty page table, which gives the RedoLSN where redo should begin. Redo then follows log order, not any per-transaction order, so option 1 is wrong. Checkpoints are written during normal operation, not by this pass. Applying the changes is the redo pass.
प्रश्न 6उत्तर + हल
ARIES पुनर्प्राप्ति एल्गोरिथ्म में पुनःकरण चरण (redo pass) का उद्देश्य क्या है?
What is the purpose of the redo pass in the ARIES recovery algorithm?
  1. Aलॉग का विश्लेषण करके निरसन योग्य लेन-देन पहचाननाTo analyze the log and identify transactions to be undone
  2. Bलॉग में दर्ज बदलाव डेटाबेस पर दोबारा लागू करनाTo apply changes from the log to the database
  3. Cनिरस्त लेन-देन के बदलाव पलटनाTo reverse changes made by aborted transactions
  4. Dडेटाबेस की वर्तमान स्थिति का चेकपॉइंट बनानाTo create a checkpoint of the current database state

सही उत्तर / Answer: (B)

हल / Solution
पुनःकरण चरण में ARIES «इतिहास दोहराती» है (repeating history) — विश्लेषण से मिले RedoLSN से आगे का लॉग पढ़कर हर दर्ज बदलाव डेटा पेज पर दोबारा लागू करती है, चाहे वह लेन-देन प्रतिबद्ध हुआ हो या नहीं। पेज का pageLSN बता देता है कि बदलाव पहले से लगा है, इसलिए एक ही बदलाव दो बार नहीं लगता। विकल्प 1 विश्लेषण चरण है, विकल्प 3 निरसन चरण, और चेकपॉइंट बनाना सामान्य चलन का काम है।
In the redo pass ARIES repeats history. Starting from the RedoLSN found during analysis, it scans the log forward and reapplies every logged update to the data pages, whether or not that transaction later committed. The pageLSN stored on each page tells it whether the update is already present, so nothing is applied twice. Option 1 is the analysis pass and option 3 is the undo pass, while writing a checkpoint is normal runtime work rather than recovery.
प्रश्न 7उत्तर + हल
ARIES में निरसन (undo) के दौरान कौन-से लॉग अभिलेख लिखे जाते हैं, ताकि दूसरी बार क्रैश होने पर वही पलटाव दोबारा न करना पड़े?
In ARIES, which log records are written while undoing a transaction so that the same rollback work is not repeated after a second crash?
  1. Aगंदा पेज तालिका (dirty page table)Dirty page table
  2. Bक्षतिपूर्ति लॉग अभिलेख (compensation log records)Compensation log records
  3. Cचेकपॉइंट (checkpoint)Checkpoint
  4. Dडेटाबेस की शैडो प्रति (shadow copy)Shadow copy of the database

सही उत्तर / Answer: (B)

हल / Solution
ARIES हारे हुए लेन-देन (loser transaction) का बदलाव पलटते समय हर पलटाव के लिए एक क्षतिपूर्ति लॉग अभिलेख (compensation log record, CLR) लिखती है। CLR सिर्फ़ redo होता है, कभी undo नहीं, और उसमें आगे का सूचक (undoNextLSN) रहता है। इसलिए निरसन के बीच दोबारा क्रैश हो जाए तो पलटा हुआ काम दोहराया नहीं जाता। गंदा पेज तालिका और चेकपॉइंट विश्लेषण तथा redo में काम आते हैं, और शैडो प्रति ARIES में होती ही नहीं।
When ARIES rolls back a loser transaction, it writes a compensation log record, or CLR, for every change it undoes. A CLR is redo-only, never undone, and it carries an undoNextLSN pointer to the record still waiting to be rolled back. So if the system crashes again during undo, the rollback already done is not repeated. The dirty page table and checkpoints serve the analysis and redo passes, and ARIES has no shadow copy.
प्रश्न 8उत्तर + हल
ARIES पुनर्प्राप्ति एल्गोरिथ्म में निरसन चरण (undo phase) का उद्देश्य क्या है?
In ARIES recovery algorithm, what is the purpose of the undo phase?
  1. Aलॉग से बदलाव डेटाबेस पर लागू करनाTo apply changes from the log to the database
  2. Bप्रतिबद्ध (committed) लेन-देन के बदलाव दोबारा करनाTo redo changes made by committed transactions
  3. Cनिरस्त (aborted) या अधूरे लेन-देन के बदलाव पलटनाTo undo changes made by aborted or incomplete transactions
  4. Dलॉग का विश्लेषण करके निरसन योग्य लेन-देन की सूची बनानाTo analyze the log and determine the set of transactions to be undone

सही उत्तर / Answer: (C)

हल / Solution
ARIES तीन चरणों में चलती है — विश्लेषण (analysis), पुनःकरण (redo) और निरसन (undo)। निरसन चरण में सिर्फ़ उन लेन-देन (transaction) के बदलाव पलटे जाते हैं जो क्रैश के समय अधूरे थे या निरस्त हो चुके थे; इन्हें हारे हुए लेन-देन (loser transactions) कहते हैं। हर पलटाव का क्षतिपूर्ति अभिलेख (compensation log record, CLR) भी लिखा जाता है। विकल्प 1 और 2 redo चरण का काम हैं, विकल्प 4 विश्लेषण चरण का।
ARIES recovery runs in three passes: analysis, redo and undo. The undo pass rolls back only those transactions that were still incomplete, or had already been aborted, when the crash happened; these are called loser transactions. Each rollback step writes its own compensation log record, so the undo work itself survives another crash. Options 1 and 2 describe the redo pass, and option 4 describes the analysis pass, so none of them fits the undo pass.
प्रश्न 9उत्तर + हल
ARIES किस पुनर्प्राप्ति (recovery) तकनीक पर आधारित है?
Which of the following recovery techniques is ARIES based on?
  1. Aशैडो पेजिंग (shadow paging)Shadow paging
  2. Bराइट-अहेड लॉगिंग (write-ahead logging)Write-ahead logging
  3. Cचेकपॉइंटिंग (checkpointing)Checkpointing
  4. Dविलंबित अद्यतन (deferred update)Deferred update

सही उत्तर / Answer: (B)

हल / Solution
ARIES की पूरी बनावट राइट-अहेड लॉगिंग (write-ahead logging, WAL) पर खड़ी है। नियम यह है कि बदलाव का लॉग अभिलेख (log record) पहले स्थायी भंडारण में पहुँचे, डेटा पेज डिस्क पर बाद में लिखा जाए। इसी लॉग से क्रैश के बाद redo और undo दोनों हो पाते हैं। चेकपॉइंटिंग मदद करती है, पर आधार नहीं है। शैडो पेजिंग अलग तरीक़ा है, जिसमें लॉग चाहिए ही नहीं। विलंबित अद्यतन (deferred update) में बदलाव commit तक रोके जाते हैं।
ARIES is built on write-ahead logging (WAL). The rule is simple: the log record describing a change must reach stable storage before the changed data page is written to disk. That log is what makes both redo and undo possible after a crash. Checkpointing helps ARIES but is not its foundation. Shadow paging is a different scheme that needs no log at all. Deferred update holds changes back until commit, while ARIES lets dirty pages go to disk earlier.
प्रश्न 10उत्तर + हल
ARIES recovery के दौरान transactions की atomicity कैसे पक्की करता है?
How does ARIES ensure atomicity of transactions during recovery?
  1. Atwo-phase commit protocol इस्तेमाल करकेBy using two-phase commit protocol
  2. Bcommit होने तक updates को buffer में रखकरBy buffering updates until the transaction commits
  3. Cबदलावों का log रखकर और यह पक्का करके कि बदलाव या तो पूरे हटें या पूरे लगेंBy maintaining a log of changes and ensuring that changes are either fully undone or redone
  4. Dmulti-version concurrency control इस्तेमाल करकेBy using multi-version concurrency control

सही उत्तर / Answer: (C)

हल / Solution
atomicity का मतलब है — transaction का काम पूरा दिखे या बिलकुल न दिखे, आधा कभी नहीं। ARIES यह log के सहारे करता है: commit हो चुके transaction के छूटे बदलाव redo चरण पूरे लगा देता है, और अधूरे transaction के बदलाव undo चरण पूरे हटा देता है, हर पलटाव का record भी लिखता जाता है। two-phase commit कई जगह फैले transaction के लिए है, और MVCC concurrency का औज़ार है।
Atomicity means the work of a transaction must be seen completely or not at all, never half way. ARIES achieves this through the log: the redo pass fully applies the missing changes of a committed transaction, while the undo pass fully removes the changes of an unfinished one, recording every reversal as it goes. The two phase commit protocol addresses transactions spread over several sites, and multiversion concurrency control is a concurrency tool.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
ARIES में recovery के दौरान transactions की हालत और उनके किए बदलाव दर्ज करने के लिए कौन-सी data structure इस्तेमाल होती है?
What data structure is used to record the state of transactions and the changes they have made during recovery in ARIES?
  1. ATransaction table
  2. BLog sequence number
  3. CDirty page table
  4. DCompensation log
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
निम्नलिखित में से कौन-सी हालत ARIES recovery के analysis चरण को शुरू करती है?
Which of the following scenarios would trigger the analysis phase of ARIES recovery?
  1. Aजब कोई transaction commit करता हैWhen a transaction commits
  2. Bजब crash हो जाता हैWhen a crash occurs
  3. Cजब checkpoint लिया जाता हैWhen a checkpoint is taken
  4. Dजब कोई transaction abort हो जाता हैWhen a transaction aborts
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में
ARIES recovery algorithm में compensation log records का उद्देश्य क्या है?
What is the purpose of the compensation log records in the ARIES recovery algorithm?
  1. Atransactions के किए बदलाव दर्ज करनाTo record changes made by transactions
  2. Bउन transactions को पहचानना जिन्हें वापस लौटाना हैTo identify transactions that need to be rolled back
  3. Crecovery की प्रगति पर नज़र रखनाTo track the progress of the recovery process
  4. Dundo चरण में transactions के बदलाव लौटानाTo undo changes made by transactions in the undo pass
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
ARIES recovery algorithm का कौन-सा चरण log पढ़कर यह तय करता है कि किन transactions को undo करना है?
Which phase of the ARIES recovery algorithm is responsible for analyzing the log and determining the set of transactions to be undone?
  1. AAnalysis
  2. BRedo
  3. CUndo
  4. DCompensation
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
ARIES crash की हालत में transactions की durability कैसे पक्की करता है?
How does ARIES ensure durability of transactions in the presence of crashes?
  1. Adatabase की हालत बीच-बीच में बचाने के लिए checkpoints लगाकरBy using checkpoints to periodically save the database state
  2. Bcommit होने तक updates को memory में buffer करकेBy buffering updates in memory until the transaction commits
  3. Ctransactions के सभी बदलावों का log रखकरBy maintaining a log of all changes made by transactions
  4. Dupdates को तुरंत database में लागू करकेBy immediately applying updates to the database
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 16उत्तर app में
ARIES की recovery में undo चरण की भूमिका को कौन-सा कथन ठीक बताता है?
Which of the following statements accurately describes the role of the undo pass in ARIES recovery?
  1. Aयह उन transactions के बदलावों का असर पलट देता है जो commit नहीं हुए थेIt reverses the effects of changes made by transactions that were not committed
  2. Bयह पक्का करता है कि commit हुए transactions के बदलाव न खोएँIt ensures that changes made by committed transactions are not lost
  3. Cयह बताता है कि किन transactions को सुरक्षित रूप से commit किया जा सकता हैIt identifies transactions that can be safely committed
  4. Dयह database की हालत को log record के क्रम से मिलाता हैIt synchronizes the database state with the log record sequence
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
ARIES में recovery के दौरान redo चरण का उद्देश्य क्या है?
In ARIES, what is the purpose of the redo pass during recovery?
  1. Aabort हुए transactions के बदलाव लौटानाTo undo changes made by aborted transactions
  2. Blog के बदलाव database पर लागू करनाTo apply changes from the log to the database
  3. Cअधूरे transactions को वापस लौटानाTo roll back incomplete transactions
  4. Ddatabase को सुसंगत हालत में लानाTo recover the database to a consistent state
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
ARIES recovery algorithm का मुख्य उद्देश्य क्या है?
What is the primary objective of the ARIES recovery algorithm?
  1. Atransactions की atomicity और durability पक्की करनाTo ensure atomicity and durability of transactions
  2. Btransaction चलते समय logging का बोझ घटानाTo minimize the overhead of logging during transaction execution
  3. Ccrash की हालत में database की ऊँची उपलब्धता देनाTo provide high availability of the database in the event of a crash
  4. Drecovery के दौरान disk I/O के कामों की संख्या घटानाTo reduce the number of disk I/O operations during recovery
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
shadow paging commit हो चुके transactions की durability कैसे पक्की करती है?
How does shadow paging ensure durability of committed transactions?
  1. Atransactions के सभी बदलाव log में दर्ज करकेBy logging all changes made by transactions
  2. Bdatabase का एक सुसंगत दृश्य बनाए रखकरBy maintaining a consistent view of the database
  3. Cहर transaction operation के बाद database को तुरंत बदलकरBy immediately updating the database after each transaction operation
  4. Dमूल database की हालत को shadow प्रति में बचाकरBy preserving the original database state in the shadow copy
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
shadow paging इस्तेमाल करते समय कौन-सा दृश्य असंगति पैदा कर सकता है?
Which of the following scenarios could result in inconsistencies when using shadow paging?
  1. Aएक साथ चल रहे transactions अलग-अलग database पन्ने बदल रहे होंConcurrent transactions updating different database pages
  2. Bcommit के दौरान crash हो जाएA crash occurring during transaction commit
  3. Cshadow प्रति रखने के लिए disk की जगह कम पड़ जाएInsufficient disk space for maintaining the shadow copy
  4. Dshadow page table ख़राब हो जाएThe shadow page table becoming corrupted
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
shadow paging दूसरी तकनीकों के मुक़ाबले recovery के बोझ को कैसे घटाती है?
How does shadow paging mitigate the overhead associated with recovery compared to other techniques?
  1. Aसभी transactions का एक अलग log रखकरBy maintaining a separate log of all transactions
  2. Bcommit होने तक updates को buffer में रखकरBy buffering updates until the transaction commits
  3. Cupdates को तुरंत database में लागू करकेBy immediately applying updates to the database
  4. Dमूल database की हालत को shadow प्रति में बचाकरBy preserving the original database state in the shadow copy
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
shadow paging में किसी transaction के commit हो जाने के बाद crash हो जाए तो क्या होता है?
What happens if a crash occurs after a transaction has committed in shadow paging?
  1. Atransaction के किए बदलाव खो जाते हैंThe changes made by the transaction are lost
  2. Btransaction के किए बदलाव बचे रहते हैंThe changes made by the transaction are preserved
  3. Ctransaction के किए बदलाव database पर लागू किए जाते हैंThe changes made by the transaction are applied to the database
  4. Dtransaction को undo operations से वापस लौटाया जाता हैThe transaction is rolled back using undo operations
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 24उत्तर app में
shadow paging में shadow page table की भूमिका को कौन-सा कथन ठीक बताता है?
Which of the following accurately describes the role of the shadow page table in shadow paging?
  1. Aयह database के logical पन्नों को disk के भौतिक blocks से जोड़ती हैIt maps logical database pages to physical disk blocks
  2. Bयह सभी commit हुए transactions का लेखा रखती हैIt maintains a record of all committed transactions
  3. Cयह database में transactions के किए बदलावों पर नज़र रखती हैIt tracks the changes made by transactions in the database
  4. Dयह सभी transactions की undo जानकारी रखती हैIt stores the undo information for all transactions
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
shadow paging में database की shadow प्रति रखने का उद्देश्य क्या है?
What is the purpose of maintaining a shadow copy of the database in shadow paging?
  1. Adisk विफलता की हालत में backup देनाTo provide a backup in case of disk failure
  2. Btransactions के किए बदलाव पर नज़र रखनाTo track changes made by transactions
  3. Crecovery की कार्यक्षमता बढ़ानाTo improve the efficiency of recovery
  4. Dtransaction चलते समय data की सुसंगति पक्की करनाTo ensure data consistency during transaction execution
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 26उत्तर app में
shadow paging में database की shadow प्रति कब बदली जाती है?
In shadow paging, when is the shadow copy of the database updated?
  1. Aहर transaction के commit से पहलेBefore each transaction commit
  2. Bहर transaction के commit के बादAfter each transaction commit
  3. Cहर transaction के चलने के दौरानDuring each transaction execution
  4. Dहर transaction operation से पहले और बाद मेंBefore and after each transaction operation
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
shadow paging recovery तकनीक की एक सीमा कौन-सी है?
Which of the following is a limitation of the shadow paging recovery technique?
  1. Adisk जगह का ऊँचा overheadHigh disk space overhead
  2. Babort के बाद हर बदलाव को एक-एक कर undo करना पड़ता हैEvery change must be undone one by one after an abort
  3. Cconcurrency control का सीमित सहाराLimited support for concurrency control
  4. Drecovery algorithms की जटिलताComplexity of recovery algorithms
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
shadow paging में, updates buffer हो जाने के बाद transaction abort हो जाए तो क्या होता है?
In shadow paging, what happens if a transaction aborts after its updates have been buffered?
  1. Aupdates shadow प्रति से हटा दिए जाते हैंThe updates are discarded from the shadow copy
  2. Bupdates database में लागू कर दिए जाते हैंThe updates are applied to the database
  3. Cupdates shadow प्रति में बने रहते हैंThe updates remain in the shadow copy
  4. Dupdates redo operations से वापस लौटाए जाते हैंThe updates are rolled back using redo operations
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
shadow paging recovery तकनीक का मुख्य लाभ क्या है?
What is the primary advantage of the shadow paging recovery technique?
  1. Arecovery का overhead कम होनाReduced overhead for recovery
  2. Bबेहतर concurrency controlImproved concurrency control
  3. Cdisk I/O का कम overheadLower disk I/O overhead
  4. Dtransaction का commit जल्दी होनाFaster transaction commit times
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
shadow paging में recovery की प्रक्रिया को कौन-सा कथन ठीक बताता है?
Which of the following statements accurately describes the recovery process in shadow paging?
  1. Aundo operations, redo operations से पहले लगाए जाते हैंUndo operations are applied to the database before redo operations
  2. Bredo operations, undo operations से पहले लगाए जाते हैंRedo operations are applied to the database before undo operations
  3. Crecovery पूरे transaction log को पीछे की ओर पढ़कर की जाती हैRecovery is carried out by scanning the whole transaction log backwards
  4. Dundo की ज़रूरत नहीं, क्योंकि मूल database सुरक्षित रहता हैUndo operations are unnecessary as the original database is preserved
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Recovery Techniques के सभी 81 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Programmer DBMS के दूसरे topics

सभी topics