Connection restored!
Notification Center
Loading notifications...
Loading announcements...
INCOMING 1v1 DUEL! 10:00
@friend challenged you!
Topic · Room #HQ-0000
Accept & Join
Mention Scholar ↑↓ Enter / Click
Last time you were studying on Page 2.
STUDY & LEARNING DECK Filtered: 📜 PYQs

Govt Exam PYQs

Showing 25 of 2870 total questions (Latest Added First).

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

Try clearing filters or unchecking "Saved" / "Hide".

Question 1126 NEW
📜 PYQs EASY
What is a "Data Backup" vs. "Database Recovery"?
"डेटा बैकअप" और "डेटाबेस रिकवरी" में क्या अंतर है?
A
Backup is creating a safe copy of database data in advance, whereas Recovery is the process of restoring the database to a consistent state after a crash or failure
बैकअप पहले से डेटा की सुरक्षित कॉपी बनाना है, जबकि रिकवरी क्रैश या विफलता के बाद डेटाबेस को सही स्थिति में वापस लाने की प्रक्रिया है
Correct
B
Both mean deleting the database
दोनों का अर्थ डेटाबेस डिलीट करना है
C
Recovery happens before a crash
रिकवरी क्रैश से पहले होती है
D
Both are hardware cables
दोनों हार्डवेयर केबल हैं
Solution Breakdown:
-> Regular backups combined with transaction logs ensure minimal data loss during hardware failures or ransomware attacks. -> Hence, Option (A) is the correct answer.
-> नियमित बैकअप और ट्रांज़ैक्शन लॉग मिलकर डेटाबेस की सुरक्षित रिकवरी सुनिश्चित करते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1127 NEW
📜 PYQs MEDIUM
In DBMS concurrency, what is "Timestamp Ordering Protocol"?
DBMS कॉनकरेंसी में "टाइमस्टैम्प ऑर्डरिंग प्रोटोकॉल" क्या होता है?
A
Assigning a unique timestamp to every transaction when it starts and ensuring conflicting operations execute strictly in timestamp order (deadlock-free)
प्रत्येक ट्रांज़ैक्शन को शुरू होते समय एक यूनिक टाइमस्टैम्प देना और सुनिश्चित करना कि परस्पर विरोधी कार्य केवल टाइमस्टैम्प क्रम में हों (डेडलॉक-मुक्त)
Correct
B
Printing the current date on every row
हर पंक्ति पर तारीख प्रिंट करना
C
Locking the entire database for 1 hour
1 घंटे के लिए डेटाबेस लॉक करना
D
Deleting old records
पुराने रिकॉर्ड डिलीट करना
Solution Breakdown:
-> Because transactions never wait for locks in Timestamp Ordering, Deadlocks cannot occur—though a transaction may be aborted and restarted if it violates timestamp order. -> Hence, Option (A) is the correct answer.
-> टाइमस्टैम्प ऑर्डरिंग प्रोटोकॉल में लॉक का इंतज़ार न होने के कारण डेडलॉक कभी नहीं होता। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1128 NEW
📜 PYQs MEDIUM
What is a "Dense Index" vs. a "Sparse Index" in DBMS?
DBMS में "डेंस इंडेक्स" और "स्पार्स इंडेक्स" में क्या अंतर है?
A
A Dense Index has an index entry for EVERY search-key value in the data file, whereas a Sparse Index has entries only for SOME records (typically one per disk block)
डेंस इंडेक्स में डेटा फाइल के हर सर्च-की मान के लिए एंट्री होती है, जबकि स्पार्स इंडेक्स में केवल कुछ रिकॉर्ड्स (प्रायः प्रति डिस्क ब्लॉक एक) के लिए एंट्री होती है
Correct
B
Sparse Index is larger than Dense Index
स्पार्स इंडेक्स, डेंस इंडेक्स से बड़ा होता है
C
Dense Index cannot be used on sorted files
डेंस इंडेक्स सॉर्टेड फाइल पर नहीं चलता
D
Both are identical
दोनों एक समान हैं
Solution Breakdown:
-> Sparse Indexes take much less storage space and require less maintenance, but require the data file to be physically sorted on the search key. -> Hence, Option (A) is the correct answer.
-> स्पार्स इंडेक्स कम जगह लेता है, जबकि डेंस इंडेक्स में हर मान की सीधी एंट्री होती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1129 NEW
📜 PYQs MEDIUM
What is "Hashing" (Hash Indexing) in DBMS storage?
DBMS स्टोरेज में "हैशिंग" (हैश इंडेक्सिंग) क्या होती है?
A
Using a mathematical Hash Function on a search key to compute the exact disk bucket address directly in $O(1)$ time
सर्च की पर गणितीय हैश फंक्शन लगाकर सीधे $O(1)$ समय में सटीक डिस्क बकेट एड्रेस प्राप्त करना
Correct
B
Sorting all rows alphabetically
सभी पंक्तियों को वर्णमाला क्रम में सॉर्ट करना
C
Compressing text files
टेक्स्ट फाइलों को कंप्रेस करना
D
Deleting duplicate keys
डुप्लीकेट कीज़ डिलीट करना
Solution Breakdown:
-> Hash indexing is ultra-fast for exact equality lookups (`WHERE id = 105`), but unlike B+ Trees, it is NOT suitable for range queries (`WHERE age > 20`). -> Hence, Option (A) is the correct answer.
-> हैश इंडेक्सिंग सटीक मिलान (`=`) के लिए सबसे तेज़ है, लेकिन रेंज क्वेरी (`>`, `<`) के लिए उपयुक्त नहीं है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1130 NEW
📜 PYQs EASY
What is the default TCP network port number used by a MySQL Database Server?
MySQL डेटाबेस सर्वर द्वारा उपयोग किया जाने वाला डिफ़ॉल्ट TCP नेटवर्क पोर्ट नंबर क्या होता है?
A
80
80
B
3306
3306
Correct
C
8080
8080
D
5432
5432
Solution Breakdown:
-> MySQL runs on port `3306` by default (PostgreSQL uses `5432`, HTTP uses `80`, and HTTPS uses `443`). -> Hence, Option (B) is the correct answer.
-> MySQL सर्वर डिफ़ॉल्ट रूप से पोर्ट `3306` पर चलता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1131 NEW
📜 PYQs MEDIUM
Which of the following is the STRICTEST (highest) SQL Transaction Isolation Level?
निम्नलिखित में से कौन सा सबसे सख्त (उच्चतम) SQL ट्रांज़ैक्शन आइसोलेशन लेवल है?
A
`READ UNCOMMITTED`
`READ UNCOMMITTED`
B
`READ COMMITTED`
`READ COMMITTED`
C
`REPEATABLE READ`
`REPEATABLE READ`
D
`SERIALIZABLE`
`SERIALIZABLE`
Correct
Solution Breakdown:
-> Isolation levels from weakest to strongest: `READ UNCOMMITTED` < `READ COMMITTED` < `REPEATABLE READ` (default in MySQL InnoDB) < `SERIALIZABLE`. -> Hence, Option (D) is the correct answer.
-> `SERIALIZABLE` सबसे उच्चतम और सुरक्षित आइसोलेशन लेवल है (जबकि MySQL InnoDB का डिफ़ॉल्ट `REPEATABLE READ` है)। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1132 NEW
📜 PYQs MEDIUM
What is "Phantom Read" in DBMS Transaction Isolation?
DBMS ट्रांज़ैक्शन आइसोलेशन में "फैंटम रीड" क्या होता है?
A
When a transaction executes the same range query twice and sees newly inserted (or deleted) rows committed by another concurrent transaction in the second run
जब कोई ट्रांज़ैक्शन एक ही रेंज क्वेरी को दो बार चलाता है और दूसरी बार में उसे दूसरे ट्रांज़ैक्शन द्वारा जोड़ी या हटाई गई नई पंक्तियाँ दिखाई देती हैं
Correct
B
Reading an empty table
खाली टेबल पढ़ना
C
A virus in the database
डेटाबेस में एक वायरस
D
Reading a deleted database
डिलीट डेटाबेस पढ़ना
Solution Breakdown:
-> The highest SQL isolation level—`SERIALIZABLE`—completely prevents Dirty Reads, Non-Repeatable Reads, and Phantom Reads. -> Hence, Option (A) is the correct answer.
-> `SERIALIZABLE` आइसोलेशन लेवल डर्टी रीड, नॉन-रिपीटेबल रीड और फैंटम रीड तीनों को पूरी तरह रोकता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1133 NEW
📜 PYQs EASY
What is a "Stored Procedure" in DBMS
MySQL? / DBMS / MySQL में "स्टोर्ड प्रोसीजर" क्या होता है?
A
A pre-compiled, reusable group of one or more SQL statements saved inside the database that can be invoked by name using `CALL`
डेटाबेस के अंदर सेव किया गया एक या अधिक SQL स्टेटमेंट्स का पुनः उपयोग योग्य समूह जिसे नाम से (`CALL` द्वारा) चलाया जा सकता है
Correct
B
A temporary text file
एक अस्थायी टेक्स्ट फाइल
C
A table with no rows
बिना पंक्तियों वाली टेबल
D
A web browser plugin
एक वेब ब्राउज़र प्लगइन
Solution Breakdown:
-> Stored Procedures reduce network traffic, improve performance, and centralize reusable business logic inside the database server. -> Hence, Option (A) is the correct answer.
-> स्टोर्ड प्रोसीजर बार-बार उपयोग होने वाले SQL लॉजिक को डेटाबेस सर्वर के अंदर ही सेव करके गति और सुरक्षा बढ़ाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1134 NEW
📜 PYQs EASY
What is a "Database Trigger"?
"डेटाबेस ट्रिगर" क्या होता है?
A
A stored SQL program that automatically executes (fires) in response to a specific table event such as `INSERT`, `UPDATE`, or `DELETE`
एक स्टोर्ड SQL प्रोग्राम जो किसी टेबल पर `INSERT`, `UPDATE` या `DELETE` जैसी विशेष घटना होने पर अपने आप चलता है
Correct
B
A button on a mouse
माउस का एक बटन
C
A hardware power switch
एक हार्डवेयर पावर स्विच
D
A syntax error
एक सिंटैक्स एरर
Solution Breakdown:
-> Triggers are commonly used for automatic audit logging (recording who changed a row and when) or enforcing complex validation rules automatically. -> Hence, Option (A) is the correct answer.
-> ट्रिगर का उपयोग ऑडिट लॉगिंग और स्वतः नियम लागू करने के लिए किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1135 NEW
📜 PYQs MEDIUM
What is "SQL Injection" in database security?
डेटाबेस सुरक्षा में "SQL इंजेक्शन" क्या होता है?
A
A cyberattack where an attacker inserts malicious SQL code into an input field (like a login box) to trick the database into exposing or deleting unauthorized data
एक साइबर हमला जिसमें हमलावर इनपुट बॉक्स (जैसे लॉगिन फॉर्म) में दुर्भावनापूर्ण SQL कोड डालकर डेटाबेस से अनधिकृत डेटा चुराता या मिटाता है
Correct
B
Installing MySQL on a server
सर्वर पर MySQL इंस्टॉल करना
C
Adding a new column to a table
टेबल में नया कॉलम जोड़ना
D
Backing up a database
डेटाबेस का बैकअप लेना
Solution Breakdown:
-> Using Parameterized Queries (Prepared Statements) instead of concatenating raw user input into SQL strings is the primary defense against SQL Injection. -> Hence, Option (A) is the correct answer.
-> SQL इंजेक्शन से बचने के लिए हमेशा पैरामीटराइज़्ड क्वेरी (Prepared Statements) का उपयोग करना चाहिए। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1136 NEW
📜 PYQs MEDIUM
What is "OLTP" vs. "OLAP" in database systems?
डेटाबेस सिस्टम में "OLTP" और "OLAP" में क्या अंतर है?
A
OLTP (Online Transaction Processing) handles fast daily real-time transactions (banking, e-commerce), whereas OLAP (Online Analytical Processing) handles complex historical data analysis and reporting
OLTP दैनिक रियल-टाइम लेनदेन (बैंकिंग, ई-कॉमर्स) संभालता है, जबकि OLAP जटिल ऐतिहासिक डेटा विश्लेषण और रिपोर्टिंग के लिए होता है
Correct
B
OLAP is used only for ATMs
OLAP केवल एटीएम के लिए उपयोग होता है
C
OLTP cannot use SQL
OLTP में SQL उपयोग नहीं होता
D
Both are hardware devices
दोनों हार्डवेयर डिवाइस हैं
Solution Breakdown:
-> OLTP databases are heavily normalized (3NF) for fast inserts/updates; OLAP databases (Data Warehouses) are denormalized for fast multi-dimensional analytical queries. -> Hence, Option (A) is the correct answer.
-> OLTP तेज़ दैनिक लेनदेन के लिए और OLAP बड़े ऐतिहासिक डेटा के विश्लेषण के लिए उपयोग होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1137 NEW
📜 PYQs MEDIUM
What is "Database Replication" (Master-Slave
Primary-Replica)? / "डेटाबेस रेप्लिकेशन" (प्राइमरी-रेप्लिका) क्या होता है?
A
Automatically copying data changes from a Primary (Master) database server to one or more Read-Replica servers to distribute read traffic and improve availability
रीड ट्रैफिक बांटने और उपलब्धता बढ़ाने के लिए प्राइमरी (मास्टर) सर्वर के डेटा बदलावों को स्वतः एक या अधिक रेप्लिका सर्वरों पर कॉपी करना
Correct
B
Creating duplicate rows inside the same table
एक ही टेबल में डुप्लीकेट पंक्तियाँ बनाना
C
Running the same query twice
एक ही क्वेरी को दो बार चलाना
D
Deleting old backups
पुराने बैकअप डिलीट करना
Solution Breakdown:
-> Write operations (`INSERT`/`UPDATE`) go to the Primary server, while heavy `SELECT` read queries are load-balanced across multiple Replicas. -> Hence, Option (A) is the correct answer.
-> रेप्लिकेशन में राइट्स प्राइमरी सर्वर पर और भारी रीड क्वेरी रेप्लिका सर्वरों पर बांट दी जाती हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1138 NEW
📜 PYQs MEDIUM
What is "Database Sharding" (Horizontal Partitioning)?
"डेटाबेस शार्डिंग" (हॉरिजॉन्टल पार्टिशनिंग) क्या होती है?
A
Splitting a massive database table's ROWS across multiple separate database servers (shards) to handle huge traffic and massive data growth
भारी ट्रैफिक और विशाल डेटा को संभालने के लिए एक बड़ी टेबल की पंक्तियों को कई अलग-अलग डेटाबेस सर्वरों (शार्ड्स) में बांटना
Correct
B
Deleting half the columns
आधे कॉलम डिलीट करना
C
Backing up a database to a DVD
DVD पर बैकअप लेना
D
Encrypting a table
टेबल को एन्क्रिप्ट करना
Solution Breakdown:
-> Sharding enables horizontal scaling for massive platforms (like social networks or e-commerce sites) that outgrow a single database server. -> Hence, Option (A) is the correct answer.
-> शार्डिंग बड़े पैमाने के डेटा को कई सर्वरों में बांटकर सिस्टम की क्षमता और गति बढ़ाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1139 NEW
📜 PYQs MEDIUM
What is the key difference between "Row-Level Locking" (InnoDB) and "Table-Level Locking" (MyISAM)?
"रो-लेवल लॉकिंग" (InnoDB) और "टेबल-लेवल लॉकिंग" (MyISAM) के बीच मुख्य अंतर क्या है?
A
Row-level locking locks only the specific rows being modified (allowing high multi-user concurrency), whereas Table-level locking locks the entire table for a write
रो-लेवल लॉकिंग केवल बदली जा रही पंक्तियों को लॉक करती है (जिससे कई यूज़र एक साथ काम कर सकते हैं), जबकि टेबल-लेवल लॉकिंग पूरी टेबल को लॉक कर देती है
Correct
B
Table-level locking is faster for 1,000 concurrent writers
1,000 एक साथ लिखने वाले यूज़र्स के लिए टेबल-लेवल लॉकिंग तेज़ है
C
Row-level locking does not work with Primary Keys
रो-लेवल लॉकिंग प्राइमरी की के साथ काम नहीं करती
D
Both lock the entire hard disk
दोनों पूरी हार्ड डिस्क को लॉक कर देते हैं
Solution Breakdown:
-> Row-level locking allows hundreds of users to update different rows of the same table simultaneously without blocking each other. -> Hence, Option (A) is the correct answer.
-> रो-लेवल लॉकिंग में कई यूज़र एक ही टेबल की अलग-अलग पंक्तियों को एक साथ अपडेट कर सकते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1140 NEW
📜 PYQs EASY
What is the default and most widely used Storage Engine in modern MySQL (supporting ACID transactions, Foreign Keys, and Row-Level Locking)?
आधुनिक MySQL में डिफ़ॉल्ट और सबसे अधिक उपयोग किया जाने वाला स्टोरेज इंजन कौन सा है (जो ACID ट्रांज़ैक्शन, फॉरेन की और रो-लेवल लॉकिंग को सपोर्ट करता है)?
A
InnoDB
इनोडीबी
Correct
B
MyISAM
मायआईएसएएम
C
MEMORY
मेमोरी
D
CSV
सीएसवी
Solution Breakdown:
-> InnoDB is MySQL's default storage engine because it provides full ACID compliance, crash recovery, row-level locking, and foreign key constraints (unlike older MyISAM, which only had table-level locking and no transactions). -> Hence, Option (A) is the correct answer.
-> InnoDB MySQL का डिफ़ॉल्ट स्टोरेज इंजन है जो पूर्ण ACID सुरक्षा, फॉरेन की और रो-लेवल लॉकिंग प्रदान करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1141 NEW
📜 PYQs MEDIUM
What is a trade-off (disadvantage) of creating TOO MANY Indexes on a database table?
किसी डेटाबेस टेबल पर बहुत अधिक इंडेक्स बनाने का क्या नुकसान होता है?
A
`SELECT` queries become slower
`SELECT` क्वेरी धीमी हो जाती हैं
B
Extra disk storage is consumed, and `INSERT`, `UPDATE`, and `DELETE` operations become slower because every index must also be updated
अतिरिक्त डिस्क स्पेस खर्च होता है, और `INSERT`, `UPDATE` व `DELETE` ऑपरेशंस धीमे हो जाते हैं क्योंकि हर बदलाव पर सभी इंडेक्स भी अपडेट करने पड़ते हैं
Correct
C
Primary keys stop working
प्राइमरी की काम करना बंद कर देती है
D
Tables cannot be joined
टेबल्स को जॉइन नहीं किया जा सकता
Solution Breakdown:
-> Indexes speed up reads (`SELECT`) significantly, but add maintenance overhead on writes (`INSERT`/`UPDATE`/`DELETE`), so they should be created thoughtfully on frequently queried columns. -> Hence, Option (B) is the correct answer.
-> इंडेक्स पढ़ने (`SELECT`) को तेज़ करते हैं लेकिन लिखने (`INSERT`/`UPDATE`) को थोड़ा धीमा करते हैं, इसलिए केवल ज़रूरी कॉलम पर ही इंडेक्स बनाना चाहिए। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1142 NEW
📜 PYQs MEDIUM
Which balanced tree data structure is MOST WIDELY used internally by RDBMS engines (like MySQL InnoDB, Oracle, PostgreSQL) to implement database Indexes?
RDBMS इंजन (जैसे MySQL InnoDB, Oracle, PostgreSQL) द्वारा डेटाबेस इंडेक्स बनाने के लिए सबसे अधिक किस बैलेंस्ड ट्री डेटा स्ट्रक्चर का उपयोग किया जाता है?
A
B+ Tree
बी+ ट्री
Correct
B
Simple Stack
साधारण स्टैक
C
Queue
क्यू
D
Unsorted Array
अनसॉर्टेड एरे
Solution Breakdown:
-> B+ Trees store all actual data pointers in linked leaf nodes, making both exact searches and range queries (`BETWEEN`, `>`, `<`) blazingly fast with minimal disk I/O. -> Hence, Option (A) is the correct answer.
-> B+ ट्री के सभी लीफ नोड्स आपस में जुड़े होते हैं, जिससे सर्चिंग और रेंज क्वेरी (`BETWEEN`) अत्यंत तेज़ हो जाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1143 NEW
📜 PYQs MEDIUM
What is the difference between a "Clustered Index" and a "Non-Clustered Index" in a database?
डेटाबेस में "क्लस्टर्ड इंडेक्स" और "नॉन-क्लस्टर्ड इंडेक्स" के बीच क्या अंतर है?
A
A Clustered Index physically sorts and stores the actual table rows in index order (only ONE per table), whereas a Non-Clustered Index is a separate lookup structure pointing to the rows (MULTIPLE allowed per table)
क्लस्टर्ड इंडेक्स टेबल की वास्तविक पंक्तियों को भौतिक रूप से क्रमबद्ध रखता है (प्रति टेबल केवल एक), जबकि नॉन-क्लस्टर्ड इंडेक्स एक अलग लुकअप संरचना होती है जो पंक्तियों की ओर संकेत करती है (प्रति टेबल कई हो सकते हैं)
Correct
B
A table can have 10 Clustered Indexes
एक टेबल में 10 क्लस्टर्ड इंडेक्स हो सकते हैं
C
Non-Clustered Indexes cannot be created on text columns
टेक्स्ट कॉलम पर नॉन-क्लस्टर्ड इंडेक्स नहीं बन सकता
D
Both are identical
दोनों एक समान हैं
Solution Breakdown:
-> In MySQL's InnoDB engine, the Primary Key automatically acts as the table's Clustered Index. -> Hence, Option (A) is the correct answer.
-> MySQL के InnoDB इंजन में प्राइमरी की अपने आप टेबल का क्लस्टर्ड इंडेक्स बन जाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1144 NEW
📜 PYQs MEDIUM
In DBMS Crash Recovery, what is the difference between `UNDO` and `REDO` operations?
DBMS क्रैश रिकवरी में `UNDO` और `REDO` ऑपरेशंस में क्या अंतर है?
A
`UNDO` reverses changes of uncommitted/incomplete transactions active at crash time, whereas `REDO` reapplies changes of already committed transactions that weren't yet written to disk
`UNDO` क्रैश के समय अधूरे रहे ट्रांज़ैक्शंस के बदलाव वापस लेता है, जबकि `REDO` पहले से कमिट हो चुके ट्रांज़ैक्शंस के बदलावों को दोबारा लागू करता है
Correct
B
Both delete the database
दोनों डेटाबेस डिलीट करते हैं
C
`REDO` cancels committed transactions
`REDO` कमिटेड ट्रांज़ैक्शंस को रद्द करता है
D
Both are identical
दोनों एक समान हैं
Solution Breakdown:
-> Together, `UNDO` (enforcing Atomicity) and `REDO` (enforcing Durability) restore the database to a completely consistent state after any power failure. -> Hence, Option (A) is the correct answer.
-> `UNDO` एटॉमिसिटी को और `REDO` ड्यूरेबिलिटी को सुनिश्चित करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1145 NEW
📜 PYQs MEDIUM
What is a "Checkpoint" in DBMS Crash Recovery?
DBMS क्रैश रिकवरी में "चेकपॉइंट" क्या होता है?
A
A periodic synchronization point where all modified RAM buffer pages are flushed to disk, drastically reducing the amount of log that must be scanned during crash recovery
एक नियमित सिंक्रोनाइज़ेशन बिंदु जहाँ RAM के सभी बदले हुए डेटा को डिस्क पर सेव कर दिया जाता है, जिससे क्रैश के बाद रिकवरी बहुत तेज़ हो जाती है
Correct
B
A SQL syntax check
एक SQL सिंटैक्स जांच
C
A password verification screen
पासवर्ड सत्यापन स्क्रीन
D
A network firewall
एक नेटवर्क फ़ायरवॉल
Solution Breakdown:
-> Without checkpoints, recovering from a crash would require replaying the entire transaction log from the very beginning of time. -> Hence, Option (A) is the correct answer.
-> चेकपॉइंट से क्रैश के बाद पूरे पुराने लॉग को दोबारा पढ़ने की ज़रूरत नहीं पड़ती और रिकवरी तुरंत हो जाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1146 NEW
📜 PYQs MEDIUM
What is a "Transaction Log" (Write-Ahead Log
WAL) used for in DBMS Recovery? / DBMS रिकवरी में "ट्रांज़ैक्शन लॉग" (राइट-अहेड लॉग) का उपयोग किसके लिए किया जाता है?
A
Recording every database change (old value and new value) on stable disk BEFORE applying it to the main database so the system can UNDO or REDO transactions after a crash
मुख्य डेटाबेस में बदलाव करने से पहले हर परिवर्तन (पुराना और नया मान) को डिस्क पर रिकॉर्ड करना ताकि क्रैश के बाद UNDO या REDO करके रिकवरी हो सके
Correct
B
Storing user login passwords
यूज़र लॉगिन पासवर्ड स्टोर करने के लिए
C
Displaying advertisements
विज्ञापन दिखाने के लिए
D
Compressing images
इमेज कंप्रेस करने के लिए
Solution Breakdown:
-> Write-Ahead Logging (WAL) is the backbone of crash recovery in MySQL (InnoDB), PostgreSQL, and Oracle. -> Hence, Option (A) is the correct answer.
-> राइट-अहेड लॉगिंग (WAL) सिस्टम क्रैश होने पर डेटा को सुरक्षित रूप से रिकवर करने का मुख्य आधार है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1147 NEW
📜 PYQs MEDIUM
Which graphical tool does a DBMS use to detect Deadlocks among waiting transactions?
प्रतीक्षा कर रहे ट्रांज़ैक्शंस के बीच डेडलॉक का पता लगाने के लिए DBMS किस ग्राफिकल टूल का उपयोग करता है?
A
Wait-For Graph
वेट-फॉर ग्राफ
Correct
B
Bar Chart
बार चार्ट
C
Pie Chart
पाई चार्ट
D
Flowchart
फ्लोचार्ट
Solution Breakdown:
-> In a Wait-For Graph, an edge `T1 -> T2` means T1 is waiting for a lock held by T2. If the graph contains a cycle, a Deadlock exists, and the DBMS aborts one "victim" transaction to break it. -> Hence, Option (A) is the correct answer.
-> वेट-फॉर ग्राफ में चक्र (Cycle) बनने पर डेडलॉक का पता चलता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1148 NEW
📜 PYQs MEDIUM
What is "Cascading Rollback" in DBMS?
DBMS में "कैस्केडिंग रोलबैक" क्या होता है?
A
A chain reaction where the failure/abort of ONE single transaction forces several other dependent transactions (that read its uncommitted data) to also roll back
एक श्रृंखला प्रतिक्रिया जहाँ एक ट्रांज़ैक्शन के विफल होने पर उस पर निर्भर कई अन्य ट्रांज़ैक्शंस को भी रोलबैक करना पड़ता है
Correct
B
Deleting multiple tables with one click
एक क्लिक से कई टेबल्स डिलीट करना
C
Backing up data daily
प्रतिदिन डेटा बैकअप लेना
D
Sorting data in descending order
डेटा को घटते क्रम में सॉर्ट करना
Solution Breakdown:
-> Strict 2PL (holding all exclusive locks until `COMMIT` or `ABORT`) completely prevents Cascading Rollbacks. -> Hence, Option (A) is the correct answer.
-> स्ट्रिक्ट 2PL का उपयोग करके कैस्केडिंग रोलबैक की समस्या को पूरी तरह रोका जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1149 NEW
📜 PYQs HARD
What are the two phases of the "Two-Phase Locking (2PL)" protocol in DBMS?
DBMS में "टू-फेज़ लॉकिंग (2PL)" प्रोटोकॉल के दो चरण कौन से हैं?
A
Growing Phase (transaction may acquire locks, cannot release any) and Shrinking Phase (transaction may release locks, cannot acquire any new ones)
ग्रोइंग फेज़ (केवल लॉक लेना, छोड़ना नहीं) और श्रिंकिंग फेज़ (केवल लॉक छोड़ना, नया न लेना)
Correct
B
Start Phase and Stop Phase
स्टार्ट फेज़ और स्टॉप फेज़
C
Read Phase and Print Phase
रीड फेज़ और प्रिंट फेज़
D
Compile Phase and Run Phase
कंपाइल फेज़ और रन फेज़
Solution Breakdown:
-> Two-Phase Locking guarantees Conflict Serializability, though basic 2PL can still encounter Deadlocks and Cascading Rollbacks (solved by Strict 2PL). -> Hence, Option (A) is the correct answer.
-> 2PL प्रोटोकॉल कॉन्फ्लिक्ट सीरियलाइज़ेबिलिटी सुनिश्चित करता है; पहले चरण में लॉक लिए जाते हैं और दूसरे में छोड़े जाते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1150 NEW
📜 PYQs MEDIUM
In DBMS Lock-Based Concurrency Control, what is the difference between a "Shared Lock (S-Lock)" and an "Exclusive Lock (X-Lock)"?
DBMS लॉक-आधारित कॉनकरेंसी कंट्रोल में "शेयर्ड लॉक (S-Lock)" और "एक्सक्लूसिव लॉक (X-Lock)" में क्या अंतर है?
A
Shared Lock allows multiple transactions to READ data simultaneously (no writing), whereas Exclusive Lock allows ONLY ONE transaction to both READ and WRITE data
शेयर्ड लॉक कई ट्रांज़ैक्शंस को एक साथ डेटा पढ़ने की अनुमति देता है (लिखने की नहीं), जबकि एक्सक्लूसिव लॉक केवल एक ट्रांज़ैक्शन को पढ़ने और लिखने दोनों का अधिकार देता है
Correct
B
Shared Lock allows writing by everyone
शेयर्ड लॉक सभी को लिखने की अनुमति देता है
C
Exclusive Lock is only for reading
एक्सक्लूसिव लॉक केवल पढ़ने के लिए होता है
D
Both allow simultaneous writing
दोनों एक साथ लिखने की अनुमति देते हैं
Solution Breakdown:
-> Multiple readers can share an S-Lock at the same time, but a writer needs an X-Lock, which blocks all other readers and writers until released. -> Hence, Option (A) is the correct answer.
-> एक साथ कई यूज़र S-Lock से डेटा पढ़ सकते हैं, लेकिन बदलाव करने के लिए X-Lock अनिवार्य है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Prev 44 45 46 47 48 Next
ESSENTIAL STUDY KIT

Master Govt Exam PYQs Faster with Recommended Resources

Pair your daily MCQ practice with these educator-picked books, practice sets, and typing gear tailored for this syllabus.

Visit Exam Store
Dell KB216 Wired Multimedia USB Keyboard (Black)
Typing Keyboards Best for Mangal Typing Amazon
Dell KB216 Wired Multimedia USB Keyboard (Black)

Soft chiclet keys and zero lag — the best keyboard for UPP Computer Operator and DSSSB 40+ WPM Hindi/English typing tests.

₹299 ₹999 70% OFF
Affiliate Disclosure: HappyQuiz may earn a small commission on qualifying purchases at no extra cost to you.
Saved to your dashboard!