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

Govt Exam PYQs

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 1651 NEW
Most Important EASY
What is the output of the MySQL math query `SELECT ROUND(15.678, 1);`?
MySQL गणितीय क्वेरी `SELECT ROUND(15.678, 1);` का आउटपुट क्या होगा?
A
`15.6`
`15.6`
B
`15.7`
`15.7`
Correct
C
`16`
`16`
D
`15.68`
`15.68`
Solution Breakdown:
-> `ROUND(number, decimals)` rounds a number to the specified number of decimal places. Rounding `15.678` to `1` decimal place gives `15.7`. -> Hence, Option (B) is the correct answer.
-> `15.678` को दशमलव के 1 स्थान तक राउंड करने पर `15.7` प्राप्त होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1652 NEW
Most Important MEDIUM
Which MySQL function calculates the exact number of days between two dates?
दो तारीखों के बीच के दिनों की सटीक संख्या निकालने के लिए किस MySQL फंक्शन का उपयोग किया जाता है?
A
`DATEDIFF()`
`DATEDIFF()`
Correct
B
`DAYCOUNT()`
`DAYCOUNT()`
C
`SUBDATE()`
`SUBDATE()`
D
`DATEGAP()`
`DATEGAP()`
Solution Breakdown:
-> `SELECT DATEDIFF('2026-11-25', '2026-11-20');` returns `5` (first date minus second date in days). -> Hence, Option (A) is the correct answer.
-> `DATEDIFF(date1, date2)` दो तारीखों के बीच के दिनों का अंतर बताता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1653 NEW
Most Important EASY
What is the output of the MySQL query `SELECT YEAR('2026-11-25');`?
MySQL क्वेरी `SELECT YEAR('2026-11-25');` का आउटपुट क्या होगा?
A
`11`
`11`
B
`25`
`25`
C
`2026`
`2026`
Correct
D
`26`
`26`
Solution Breakdown:
-> `YEAR()` extracts the 4-digit year (`2026`), `MONTH()` extracts the month (`11`), and `DAY()` extracts the day (`25`). -> Hence, Option (C) is the correct answer.
-> `YEAR()` फंक्शन दी गई तारीख से 4 अंकों का वर्ष (`2026`) निकालकर देता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1654 NEW
Most Important EASY
Which MySQL function returns the current system DATE AND TIME together (in `'YYYY-MM-DD HH:MM:SS'` format)?
कौन सा MySQL फंक्शन वर्तमान सिस्टम की तारीख और समय दोनों एक साथ (`'YYYY-MM-DD HH:MM:SS'` फॉर्मेट में) लौटाता है?
A
`CURDATE()`
`CURDATE()`
B
`NOW()`
`NOW()`
Correct
C
`TODAY()`
`TODAY()`
D
`TIMEONLY()`
`TIMEONLY()`
Solution Breakdown:
-> `NOW()` returns both the current date and time, whereas `CURDATE()` returns only the current date and `CURTIME()` returns only the current time. -> Hence, Option (B) is the correct answer.
-> `NOW()` तारीख और समय दोनों देता है, जबकि `CURDATE()` केवल तारीख और `CURTIME()` केवल समय देता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1655 NEW
Most Important EASY
What is the output of the MySQL query `SELECT REPLACE('Java Quiz', 'Java', 'MySQL');`?
MySQL क्वेरी `SELECT REPLACE('Java Quiz', 'Java', 'MySQL');` का आउटपुट क्या होगा?
A
`'Java MySQL'`
`'Java MySQL'`
B
`'MySQL Quiz'`
`'MySQL Quiz'`
Correct
C
`'Java Quiz'`
`'Java Quiz'`
D
`'MySQL'`
`'MySQL'`
Solution Breakdown:
-> `REPLACE(str, from_str, to_str)` replaces all occurrences of `from_str` with `to_str`, turning `'Java Quiz'` into `'MySQL Quiz'`. -> Hence, Option (B) is the correct answer.
-> `REPLACE()` फंक्शन स्ट्रिंग में `'Java'` को `'MySQL'` से बदलकर `'MySQL Quiz'` लौटाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1656 NEW
Most Important EASY
Which MySQL function removes leading and trailing blank spaces from both ends of a string?
कौन सा MySQL फंक्शन किसी स्ट्रिंग के दोनों सिरों (शुरुआत और अंत) से अतिरिक्त खाली स्थान (Spaces) हटा देता है?
A
`CLEAN()`
`CLEAN()`
B
`TRIM()`
`TRIM()`
Correct
C
`CUT()`
`CUT()`
D
`STRIP()`
`STRIP()`
Solution Breakdown:
-> `TRIM(' Hello ')` returns `'Hello'`. MySQL also provides `LTRIM()` (removes left spaces only) and `RTRIM()` (removes right spaces only). -> Hence, Option (B) is the correct answer.
-> `TRIM()` दोनों तरफ के स्पेस हटाता है, जबकि `LTRIM()` बाईं और `RTRIM()` दाईं ओर के स्पेस हटाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1657 NEW
Most Important MEDIUM
What is the output of the MySQL query `SELECT SUBSTRING('COMPUTER', 1, 4);`?
MySQL क्वेरी `SELECT SUBSTRING('COMPUTER', 1, 4);` का आउटपुट क्या होगा?
A
`'COMP'`
`'COMP'`
Correct
B
`'OMPU'`
`'OMPU'`
C
`'COMPU'`
`'COMPU'`
D
`'PUTER'`
`'PUTER'`
Solution Breakdown:
-> Unlike C/Python (which start at index 0), SQL/MySQL string indexing starts at `1`. `SUBSTRING('COMPUTER', 1, 4)` starts at position `1` and extracts `4` characters, returning `'COMP'`. -> Hence, Option (A) is the correct answer.
-> MySQL में स्ट्रिंग इंडेक्सिंग `1` से शुरू होती है, इसलिए स्थान 1 से 4 अक्षर निकालने पर `'COMP'` प्राप्त होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1658 NEW
Most Important EASY
Which MySQL function converts all characters of a string into UPPERCASE letters?
कौन सा MySQL फंक्शन किसी स्ट्रिंग के सभी अक्षरों को बड़े अक्षरों (UPPERCASE) में बदल देता है?
A
`UPPER()` (or `UCASE()`)
`UPPER()` (or `UCASE()`)
Correct
B
`CAPITAL()`
`CAPITAL()`
C
`BIG()`
`BIG()`
D
`HIGH()`
`HIGH()`
Solution Breakdown:
-> `SELECT UPPER('mysql');` returns `'MYSQL'`, whereas `LOWER()` (or `LCASE()`) converts text to lowercase. -> Hence, Option (A) is the correct answer.
-> `UPPER()` या `UCASE()` स्ट्रिंग को बड़े अक्षरों में और `LOWER()` या `LCASE()` छोटे अक्षरों में बदलता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1659 NEW
Most Important EASY
What is the output of the MySQL query `SELECT LENGTH('MySQL');`?
MySQL क्वेरी `SELECT LENGTH('MySQL');` का आउटपुट क्या होगा?
A
4
4
B
5
5
Correct
C
6
6
D
10
10
Solution Breakdown:
-> `LENGTH()` returns the length of a string in bytes. Since `'MySQL'` has 5 standard ASCII characters, it returns `5`. (For multi-byte Unicode/Hindi text, `CHAR_LENGTH()` counts actual characters). -> Hence, Option (B) is the correct answer.
-> `'MySQL'` में 5 अक्षर हैं, इसलिए `LENGTH('MySQL')` का आउटपुट `5` होगा। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1660 NEW
Most Important EASY
Which MySQL string function is used to join two or more strings together into a single string?
दो या दो से अधिक स्ट्रिंग्स को आपस में जोड़कर एक सिंगल स्ट्रिंग बनाने के लिए किस MySQL स्ट्रिंग फंक्शन का उपयोग किया जाता है?
A
`JOIN()`
`JOIN()`
B
`CONCAT()`
`CONCAT()`
Correct
C
`MERGE()`
`MERGE()`
D
`ADD()`
`ADD()`
Solution Breakdown:
-> `CONCAT(str1, str2, ...)` joins multiple strings or column values together (e.g., `SELECT CONCAT(first_name, ' ', last_name) FROM users;`). -> Note: If any argument is `NULL`, `CONCAT()` returns `NULL` (whereas `CONCAT_WS()` ignores `NULL` values). -> Hence, Option (B) is the correct answer.
-> `CONCAT()` फंक्शन कई स्ट्रिंग्स या कॉलम के मानों को जोड़कर एक संयुक्त स्ट्रिंग बना देता है। -> नोट: यदि किसी भी आर्ग्युमेंट का मान `NULL` हो, तो `CONCAT()` का परिणाम `NULL` आता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1661 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 1662 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 1663 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 1664 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 1665 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 1666 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 1667 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 1668 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 1669 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 1670 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 1671 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 1672 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 1673 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 1674 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 1675 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) बिल्कुल सही है।
Prev 65 66 67 68 69 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!