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

DBMS (Database Management System)

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 1 NEW
📜 PYQs EASY
Which statement best summarizes the role of Concurrency Control and Recovery Management in a DBMS?
कौन सा कथन DBMS में कॉनकरेंसी कंट्रोल और रिकवरी मैनेजमेंट की भूमिका का सबसे अच्छा सारांश है?
A
Concurrency Control lets multiple users safely access and update the database simultaneously without conflicts, while Recovery Management protects committed data against crashes and power failures
कॉनकरेंसी कंट्रोल कई उपयोगकर्ताओं को बिना टकराव के एक साथ सुरक्षित रूप से डेटा एक्सेस व अपडेट करने देता है, जबकि रिकवरी मैनेजमेंट क्रैश और पावर फेल होने पर कमिटेड डेटा की रक्षा करता है
Correct
B
They are only used to change font colors
इनका उपयोग केवल फॉन्ट रंग बदलने के लिए होता है
C
They replace SQL queries
वे SQL क्वेरी की जगह ले लेते हैं
D
They disable multi-user access
वे मल्टी-यूज़र एक्सेस बंद कर देते हैं
Solution Breakdown:
-> Together, Concurrency Control (Locks/MVCC) and Recovery (Logs/Checkpoints) make modern enterprise databases both fast and rock-solid reliable. -> Hence, Option (A) is the correct answer.
-> कॉनकरेंसी कंट्रोल और रिकवरी मैनेजमेंट मिलकर आधुनिक डेटाबेस को तेज़ और अत्यंत विश्वसनीय बनाते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2 NEW
📜 PYQs MEDIUM
Match the DBMS Concept with its Primary Purpose: 1. B+ Tree Index — (a) Prevents SQL Injection attacks 2. Write-Ahead Log — (b) Speeds up searches and range queries 3. Parameterized Query — (c) Enables UNDO/REDO crash recovery 4. Trigger — (d) Automatically fires on `INSERT`/`UPDATE`/`DELETE`
DBMS अवधारणा को उसके मुख्य उद्देश्य से सुमेलित करें: 1. B+ ट्री इंडेक्स — (a) SQL इंजेक्शन हमलों को रोकता है 2. राइट-अहेड लॉग — (b) सर्चिंग और रेंज क्वेरी को तेज़ करता है 3. पैरामीटराइज़्ड क्वेरी — (c) UNDO/REDO क्रैश रिकवरी सक्षम करता है 4. ट्रिगर — (d) `INSERT`/`UPDATE`/`DELETE` पर स्वतः चलता है
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-b, 2-d, 3-a, 4-c
1-b, 2-d, 3-a, 4-c
C
1-b, 2-c, 3-a, 4-d
1-b, 2-c, 3-a, 4-d
Correct
D
1-c, 2-b, 3-a, 4-d
1-c, 2-b, 3-a, 4-d
Solution Breakdown:
-> Correct matches: B+ Tree (Fast search/range), WAL (Crash recovery), Parameterized Query (Prevents SQL Injection), Trigger (Auto-fires on table events). -> Hence, Option (C) is the correct answer.
-> सही मिलान: 1-b, 2-c, 3-a, 4-d। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 3 NEW
📜 PYQs MEDIUM
Match the ACID Property with its Core Guarantee: 1. Atomicity — (a) Committed data survives system crashes 2. Consistency — (b) All-or-nothing execution 3. Isolation — (c) Database moves from one valid state to another 4. Durability — (d) Concurrent transactions do not interfere with each other
ACID गुण को उसकी मुख्य गारंटी से सुमेलित करें: 1. एटॉमिसिटी — (a) कमिट किया गया डेटा सिस्टम क्रैश के बाद भी सुरक्षित रहता है 2. कंसिस्टेंसी — (b) या तो पूरा निष्पादन या बिल्कुल नहीं 3. आइसोलेशन — (c) डेटाबेस एक वैध स्थिति से दूसरी वैध स्थिति में जाता है 4. ड्यूरेबिलिटी — (d) एक साथ चलने वाले ट्रांज़ैक्शन एक-दूसरे में हस्तक्षेप नहीं करते
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-b, 2-c, 3-d, 4-a
1-b, 2-c, 3-d, 4-a
Correct
C
1-b, 2-d, 3-c, 4-a
1-b, 2-d, 3-c, 4-a
D
1-d, 2-c, 3-b, 4-a
1-d, 2-c, 3-b, 4-a
Solution Breakdown:
-> Correct matches: Atomicity (All-or-nothing), Consistency (Valid state to valid state), Isolation (No concurrent interference), Durability (Survives crashes). -> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-b, 2-c, 3-d, 4-a। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 4 NEW
📜 PYQs MEDIUM
What is "Data Warehousing" ETL process?
डेटा वेयरहाउसिंग में "ETL" का पूर्ण रूप क्या है?
A
Extract, Transform, Load
एक्सट्रैक्ट, ट्रांसफॉर्म, लोड
Correct
B
Enter, Test, Link
एंटर, टेस्ट, लिंक
C
Edit, Transfer, Lock
एडिट, ट्रांसफर, लॉक
D
Execute, Track, Log
एग्जीक्यूट, ट्रैक, लॉग
Solution Breakdown:
-> ETL Extracts raw data from multiple operational sources, Transforms (cleans and standardizes) it, and Loads it into the central Data Warehouse for analytics. -> Hence, Option (A) is the correct answer.
-> ETL विभिन्न स्रोतों से डेटा निकालता (Extract), साफ करता (Transform) और डेटा वेयरहाउस में लोड (Load) करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 5 NEW
📜 PYQs MEDIUM
What is "Database Connection Pooling" in web applications (like Spring Boot
Java)? / वेब एप्लिकेशंस में "डेटाबेस कनेक्शन पूलिंग" क्या होती है?
A
Maintaining a cache of ready-to-use open database connections so web requests can reuse them instantly instead of opening a slow new connection every time
तैयार खुले डेटाबेस कनेक्शनों का एक कैश (पूल) बनाए रखना ताकि वेब रिक्वेस्ट हर बार नया कनेक्शन बनाने के बजाय उनका तुरंत पुनः उपयोग कर सकें
Correct
B
Connecting two monitors to one database
एक डेटाबेस से दो मॉनिटर जोड़ना
C
Deleting inactive users
निष्क्रिय यूज़र्स को डिलीट करना
D
Merging two databases
दो डेटाबेस को मिलाना
Solution Breakdown:
-> Connection pools (like HikariCP) dramatically reduce latency and server load on high-traffic websites. -> Hence, Option (A) is the correct answer.
-> कनेक्शन पूलिंग बार-बार नया कनेक्शन बनाने का समय बचाकर वेब एप्लिकेशन को बहुत तेज़ बनाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 6 NEW
📜 PYQs EASY
Which SQL command is used to create an Index named `idx_name` on the `name` column of the `students` table?
`students` टेबल के `name` कॉलम पर `idx_name` नामक इंडेक्स बनाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`CREATE INDEX idx_name ON students(name);`
`CREATE INDEX idx_name ON students(name);`
Correct
B
`ADD INDEX idx_name TO students(name);`
`ADD INDEX idx_name TO students(name);`
C
`MAKE INDEX idx_name ON students(name);`
`MAKE INDEX idx_name ON students(name);`
D
`INSERT INDEX idx_name IN students(name);`
`INSERT INDEX idx_name IN students(name);`
Solution Breakdown:
-> `CREATE INDEX` speeds up searches on frequently queried columns, and `DROP INDEX` removes an index when it is no longer needed. -> Hence, Option (A) is the correct answer.
-> इंडेक्स बनाने के लिए `CREATE INDEX` और हटाने के लिए `DROP INDEX` का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 7 NEW
📜 PYQs EASY
Identify the ODD one out from the following:
निम्नलिखित में से विषम की पहचान करें:
A
Atomicity
एटॉमिसिटी
B
Consistency
कंसिस्टेंसी
C
Isolation
आइसोलेशन
D
Fragmentation
फ्रैग्मेंटेशन
Correct
Solution Breakdown:
-> Atomicity, Consistency, Isolation (and Durability) are the ACID properties of DBMS transactions, whereas Fragmentation is a memory/disk storage issue. -> Hence, Option (D) is the correct answer.
-> फ्रैग्मेंटेशन मेमोरी/डिस्क की समस्या है, जबकि बाकी तीनों ACID के गुण हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 8 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) A single database table can have multiple Clustered Indexes. (II) B+ Trees are widely used to implement database indexes.
निम्नलिखित कथनों का मूल्यांकन करें: (I) एक ही डेटाबेस टेबल में कई क्लस्टर्ड इंडेक्स हो सकते हैं। (II) डेटाबेस इंडेक्स बनाने के लिए B+ ट्री का व्यापक उपयोग होता है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (I) is true
केवल (I) सत्य है
C
Only (II) is true
केवल (II) सत्य है
Correct
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is false because a table can have ONLY ONE Clustered Index (since rows can only be physically sorted in one order). Statement (II) is true. -> Hence, Option (C) is the correct answer.
-> कथन (I) असत्य है (प्रति टेबल केवल एक क्लस्टर्ड इंडेक्स हो सकता है) और कथन (II) सत्य है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 9 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) Atomicity guarantees that a transaction executes completely or not at all. (II) Durability guarantees that committed changes survive a system crash.
निम्नलिखित कथनों का मूल्यांकन करें: (I) एटॉमिसिटी गारंटी देती है कि ट्रांज़ैक्शन या तो पूरा होगा या बिल्कुल नहीं। (II) ड्यूरेबिलिटी गारंटी देती है कि कमिट किए गए बदलाव सिस्टम क्रैश के बाद भी सुरक्षित रहेंगे।
A
Only (I) is true
केवल (I) सत्य है
B
Only (II) is true
केवल (II) सत्य है
C
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
Correct
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Both statements accurately define Atomicity and Durability—two core pillars of ACID transactions. -> Hence, Option (C) is the correct answer.
-> दोनों कथन एटॉमिसिटी और ड्यूरेबिलिटी की बिल्कुल सही परिभाषा हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 10 NEW
📜 PYQs EASY
In MySQL, which keyword placed before a `SELECT` query displays the Query Optimizer's execution plan (showing whether indexes are being used)?
MySQL में `SELECT` क्वेरी से पहले कौन सा कीवर्ड लगाने पर क्वेरी ऑप्टिमाइज़र का एग्जीक्यूशन प्लान दिखता है?
A
`EXPLAIN`
`EXPLAIN`
Correct
B
`SHOW PLAN`
`SHOW PLAN`
C
`DEBUG`
`DEBUG`
D
`CHECK`
`CHECK`
Solution Breakdown:
-> Running `EXPLAIN SELECT * FROM users WHERE email = 'a@b.com';` helps developers diagnose slow queries and verify that indexes are working. -> Hence, Option (A) is the correct answer.
-> `EXPLAIN` कीवर्ड धीमी क्वेरी की जांच करने और इंडेक्स के उपयोग को देखने के काम आता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 11 NEW
📜 PYQs MEDIUM
What is a "Query Optimizer" inside a DBMS?
DBMS के अंदर "क्वेरी ऑप्टिमाइज़र" क्या होता है?
A
A component that analyzes a SQL query and automatically chooses the fastest, lowest-cost execution plan (e.g., deciding which Index or Join order to use)
एक घटक जो SQL क्वेरी का विश्लेषण करता है और स्वतः सबसे तेज़ व कम खर्चीली निष्पादन योजना (Execution plan) चुनता है
Correct
B
A spell checker for SQL
SQL का स्पेल चेकर
C
A hardware RAM booster
एक हार्डवेयर RAM बूस्टर
D
A user interface theme
एक यूज़र इंटरफेस थीम
Solution Breakdown:
-> Because SQL is declarative (you state *what* you want), the Query Optimizer figures out the most efficient *how* behind the scenes. -> Hence, Option (A) is the correct answer.
-> क्वेरी ऑप्टिमाइज़र सही इंडेक्स और जॉइन क्रम चुनकर क्वेरी को सबसे तेज़ गति से चलाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 12 NEW
📜 PYQs MEDIUM
What is "MVCC" (Multi-Version Concurrency Control, used by MySQL InnoDB and PostgreSQL)?
MySQL InnoDB और PostgreSQL में उपयोग होने वाला "MVCC" (मल्टी-वर्जन कॉनकरेंसी कंट्रोल) क्या होता है?
A
Keeping multiple snapshots (versions) of a data row so readers never block writers and writers never block readers
डेटा पंक्ति के कई स्नैपशॉट (वर्जन) रखना ताकि पढ़ने वाले लिखने वालों को और लिखने वाले पढ़ने वालों को ब्लॉक न करें
Correct
B
Running multiple operating systems
कई ऑपरेटिंग सिस्टम चलाना
C
Creating multiple databases
कई डेटाबेस बनाना
D
Compressing old rows
पुरानी पंक्तियों को कंप्रेस करना
Solution Breakdown:
-> MVCC dramatically boosts concurrency and throughput on busy web applications by letting `SELECT` queries read a consistent snapshot without waiting for write locks. -> Hence, Option (A) is the correct answer.
-> MVCC रीड और राइट ऑपरेशंस को एक-दूसरे को ब्लॉक किए बिना तेज़ी से चलाने में मदद करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 13 NEW
📜 PYQs MEDIUM
What is a `SAVEPOINT` inside a SQL transaction?
SQL ट्रांज़ैक्शन के अंदर `SAVEPOINT` क्या होता है?
A
A named intermediate bookmark inside a transaction allowing you to partially `ROLLBACK TO savepoint_name;` without undoing the entire transaction
ट्रांज़ैक्शन के अंदर एक नामित मध्यवर्ती बिंदु जिसकी मदद से पूरे ट्रांज़ैक्शन को रद्द किए बिना आंशिक रोलबैक किया जा सकता है
Correct
B
A permanent `COMMIT`
एक स्थायी कमिट
C
A backup file on USB
USB पर बैकअप फाइल
D
A table primary key
टेबल की प्राइमरी की
Solution Breakdown:
-> Example: `SAVEPOINT sp1;` followed later by `ROLLBACK TO sp1;` undoes only the statements executed after `sp1`. -> Hence, Option (A) is the correct answer.
-> `SAVEPOINT` लंबे ट्रांज़ैक्शन में आंशिक रोलबैक करने की सुविधा देता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 14 NEW
📜 PYQs EASY
Which SQL command starts a new explicit transaction in MySQL?
MySQL में नया ट्रांज़ैक्शन शुरू करने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`START TRANSACTION;` (or `BEGIN;`)
`START TRANSACTION;` (or `BEGIN;`)
Correct
B
`OPEN TRANSACTION;`
`OPEN TRANSACTION;`
C
`NEW TRANSACTION;`
`NEW TRANSACTION;`
D
`RUN TRANSACTION;`
`RUN TRANSACTION;`
Solution Breakdown:
-> By default, MySQL runs in `autocommit = 1` mode. Running `START TRANSACTION;` groups subsequent DML statements until you execute `COMMIT;` or `ROLLBACK;`. -> Hence, Option (A) is the correct answer.
-> MySQL में `START TRANSACTION;` या `BEGIN;` से ट्रांज़ैक्शन शुरू होता है और `COMMIT;` या `ROLLBACK;` पर समाप्त होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 15 NEW
📜 PYQs MEDIUM
What is "Shadow Paging" in DBMS Recovery?
DBMS रिकवरी में "शैडो पेजिंग" क्या होती है?
A
A log-free recovery technique that maintains two page tables—a Current Page Table and an unchanged Shadow Page Table on disk—switching cleanly upon `COMMIT`
एक लॉग-मुक्त रिकवरी तकनीक जो दो पेज टेबल (करंट और शैडो) रखती है और `COMMIT` होने पर सुरक्षित रूप से स्विच करती है
Correct
B
Printing pages in dark mode
डार्क मोड में पेज प्रिंट करना
C
Encrypting page numbers
पेज नंबर एन्क्रिप्ट करना
D
Deleting half of the pages
आधे पेज डिलीट करना
Solution Breakdown:
-> If a crash happens before `COMMIT`, the DBMS simply discards the Current Page Table and instantly reverts to the intact Shadow Page Table. -> Hence, Option (A) is the correct answer.
-> क्रैश होने पर शैडो पेज टेबल की मदद से डेटाबेस तुरंत पिछली सुरक्षित अवस्था में लौट आता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 16 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 17 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 18 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 19 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 20 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 21 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 22 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 23 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 24 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 25 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) बिल्कुल सही है।
Prev 1 2 3 Next
ESSENTIAL STUDY KIT

Master DBMS (Database Management System) 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!