DBMS — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 2982 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2982 questions
1891
EN + हिं Medium
GB What is the purpose of a materialized view?
IN भौतिकवादी दृष्टिकोण का उद्देश्य क्या है?
A
Materialized views cannot be updated भौतिक विचारों को अद्यतन नहीं किया जा सकता
B
Materialized views are identical to regular views भौतिकीकृत विचार नियमित विचारों के समान होते हैं
C
Materialized views only work for read-only databases भौतिकीकृत दृश्य केवल-पढ़ने योग्य डेटाबेस के लिए ही काम करते हैं
D
Materialized views physically store precomputed query results improving performance at the cost of storage and refresh overhead भौतिक दृश्य भौतिक रूप से पूर्व-गणना किए गए क्वेरी परिणामों को संग्रहीत करते हैं और भंडारण की लागत पर प्रदर्शन में सुधार करते हैं और ओवरहेड को ताज़ा करते हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) A regular view is a stored query that executes on demand. A materialized view physically stores the query results on disk. This dramatically speeds up complex analytical queries but requires storage space and periodic refresh.
व्याख्या (हिन्दी) नियमित दृश्य एक संग्रहीत क्वेरी है जो मांग पर निष्पादित होती है। एक भौतिक दृश्य डिस्क पर क्वेरी परिणामों को भौतिक रूप से संग्रहीत करता है। यह नाटकीय रूप से जटिल विश्लेषणात्मक प्रश्नों को गति देता है लेकिन भंडारण स्थान और समय-समय पर ताज़ा करने की आवश्यकता होती है।
1892
EN + हिं Medium
GB In a distributed database the 2PC protocol is used to:
IN एक वितरित डेटाबेस में 2PC प्रोटोकॉल का उपयोग किया जाता है:
A
Optimize query execution across nodes सभी नोड्स में क्वेरी निष्पादन को अनुकूलित करें
B
Manage replication of data between primary and replica प्राथमिक और प्रतिकृति के बीच डेटा की प्रतिकृति प्रबंधित करें
C
Handle load balancing of queries प्रश्नों का भार संतुलन संभालें
D
Ensure atomicity of distributed transactions across multiple database nodes एकाधिक डेटाबेस नोड्स में वितरित लेनदेन की परमाणुता सुनिश्चित करें
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) 2PC ensures a distributed transaction either commits on all participating nodes or rolls back on all nodes. Phase 1: coordinator sends prepare - nodes vote ready/abort. Phase 2: coordinator sends commit or rollback based on votes.
व्याख्या (हिन्दी) 2PC यह सुनिश्चित करता है कि एक वितरित लेनदेन या तो सभी भाग लेने वाले नोड्स पर प्रतिबद्ध हो या सभी नोड्स पर वापस आ जाए। चरण 1: समन्वयक तैयारी भेजता है - नोड्स वोट तैयार/निरस्त। चरण 2: समन्वयक वोटों के आधार पर प्रतिबद्धता या रोलबैक भेजता है।
1893
EN + हिं Easy
GB What is the database-per-service pattern in microservices?
IN माइक्रोसर्विसेज में डेटाबेस-प्रति-सेवा पैटर्न क्या है?
A
All services use the same database technology सभी सेवाएँ समान डेटाबेस तकनीक का उपयोग करती हैं
B
All microservices share a single central database सभी माइक्रोसर्विसेज एक एकल केंद्रीय डेटाबेस साझा करते हैं
C
Services share database tables but not schemas सेवाएँ डेटाबेस तालिकाएँ साझा करती हैं लेकिन स्कीमा नहीं
D
Each microservice owns its private database preventing direct access by other services प्रत्येक माइक्रोसर्विस का अपना निजी डेटाबेस होता है जो अन्य सेवाओं द्वारा सीधी पहुंच को रोकता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Database per service: each microservice has its own private database that only it can access directly. Other services must use the service APIs to access data. This ensures loose coupling and allows each service to choose its optimal database technology.
व्याख्या (हिन्दी) प्रति सेवा डेटाबेस: प्रत्येक माइक्रोसर्विस का अपना निजी डेटाबेस होता है जिसे केवल वह सीधे एक्सेस कर सकता है। अन्य सेवाओं को डेटा तक पहुंचने के लिए सेवा एपीआई का उपयोग करना होगा। यह ढीली युग्मन सुनिश्चित करता है और प्रत्येक सेवा को अपनी इष्टतम डेटाबेस तकनीक चुनने की अनुमति देता है।
1894
EN + हिं Medium
GB What is the primary architectural difference between OLTP and OLAP systems?
IN ओएलटीपी और ओएलएपी सिस्टम के बीच प्राथमिक वास्तुशिल्प अंतर क्या है?
A
OLTP supports only read operations; OLAP supports only write operations ओएलटीपी केवल पढ़ने के संचालन का समर्थन करता है; OLAP केवल लिखने के संचालन का समर्थन करता है
B
OLTP uses SQL; OLAP uses NoSQL ओएलटीपी एसक्यूएल का उपयोग करता है; OLAP NoSQL का उपयोग करता है
C
OLTP optimizes for many short transactions with point lookups; OLAP optimizes for complex analytical queries over large datasets ओएलटीपी पॉइंट लुकअप के साथ कई छोटे लेनदेन के लिए अनुकूलन करता है; OLAP बड़े डेटासेट पर जटिल विश्लेषणात्मक प्रश्नों के लिए अनुकूलन करता है
D
OLTP stores historical data; OLAP stores current operational data ओएलटीपी ऐतिहासिक डेटा संग्रहीत करता है; OLAP वर्तमान परिचालन डेटा संग्रहीत करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) OLTP: row-store, normalized, optimized for fast read/write of individual records. OLAP: column-store, denormalized/star schema, optimized for aggregations and complex queries scanning large amounts of data.
व्याख्या (हिन्दी) ओएलटीपी: पंक्ति-भंडार, सामान्यीकृत, व्यक्तिगत रिकॉर्ड को तेजी से पढ़ने/लिखने के लिए अनुकूलित। OLAP: कॉलम-स्टोर, असामान्य/स्टार स्कीमा, बड़ी मात्रा में डेटा को स्कैन करने वाले एकत्रीकरण और जटिल प्रश्नों के लिए अनुकूलित।
1895
EN + हिं Medium
GB Which component is responsible for lock management in concurrent transactions?
IN समवर्ती लेनदेन में लॉक प्रबंधन के लिए कौन सा घटक जिम्मेदार है?
A
Lock Manager (part of Concurrency Control Manager) लॉक मैनेजर (कॉनकरेंसी कंट्रोल मैनेजर का हिस्सा)
B
Query Optimizer क्वेरी अनुकूलक
C
Storage Manager भण्डारण प्रबंधक
D
Buffer Manager बफ़र प्रबंधक
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) The Lock Manager (part of the Concurrency Control subsystem) tracks which transactions hold locks on which data items, manages lock requests (granting or blocking), detects deadlocks, and enforces isolation levels.
व्याख्या (हिन्दी) लॉक मैनेजर (कंकरेंसी कंट्रोल सबसिस्टम का हिस्सा) ट्रैक करता है कि कौन से लेन-देन किस डेटा आइटम पर लॉक रखता है, लॉक अनुरोधों (अनुदान या अवरोधन) का प्रबंधन करता है, गतिरोध का पता लगाता है, और अलगाव स्तरों को लागू करता है।
1896
EN + हिं Easy
GB What is the SAGA pattern in microservices database architecture?
IN माइक्रोसर्विसेज डेटाबेस आर्किटेक्चर में SAGA पैटर्न क्या है?
A
It provides connection pooling for microservices यह माइक्रोसर्विसेज के लिए कनेक्शन पूलिंग प्रदान करता है
B
It manages long-running distributed transactions without using 2PC using a sequence of local transactions with compensating transactions यह क्षतिपूर्ति लेनदेन के साथ स्थानीय लेनदेन के अनुक्रम का उपयोग करके 2पीसी का उपयोग किए बिना लंबे समय तक चलने वाले वितरित लेनदेन का प्रबंधन करता है
C
It optimizes query routing in distributed databases यह वितरित डेटाबेस में क्वेरी रूटिंग को अनुकूलित करता है
D
It solves the N+1 query problem यह N+1 क्वेरी समस्या का समाधान करता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SAGA decomposes a distributed transaction into a sequence of local transactions, each publishing events. If a step fails, compensating transactions undo previous steps. Avoids 2PC coupling. Implemented as choreography or orchestration.
व्याख्या (हिन्दी) SAGA एक वितरित लेनदेन को स्थानीय लेनदेन, प्रत्येक प्रकाशन घटना के अनुक्रम में विघटित करता है। यदि कोई चरण विफल हो जाता है, तो क्षतिपूर्ति लेनदेन पिछले चरणों को पूर्ववत कर देता है। 2पीसी कपलिंग से बचा जाता है। कोरियोग्राफी या ऑर्केस्ट्रेशन के रूप में कार्यान्वित किया गया।
1897
EN + हिं Medium
GB What is data partitioning and how does horizontal differ from vertical?
IN डेटा विभाजन क्या है और क्षैतिज ऊर्ध्वाधर से कैसे भिन्न है?
A
Partitioning only applies to indexes विभाजन केवल अनुक्रमणिका पर लागू होता है
B
Horizontal partitioning splits columns; vertical partitioning splits rows क्षैतिज विभाजन स्तंभों को विभाजित करता है; ऊर्ध्वाधर विभाजन पंक्तियों को विभाजित करता है
C
Horizontal partitioning splits rows across multiple partitions; vertical partitioning splits columns across multiple tables क्षैतिज विभाजन पंक्तियों को कई विभाजनों में विभाजित करता है; ऊर्ध्वाधर विभाजन स्तंभों को कई तालिकाओं में विभाजित करता है
D
They are identical operations वे समान परिचालन हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Horizontal partitioning (sharding): different rows stored in different partitions. Vertical partitioning: different columns stored in different tables. Both are performance and scalability techniques.
व्याख्या (हिन्दी) क्षैतिज विभाजन (शार्डिंग): अलग-अलग पंक्तियों को अलग-अलग विभाजनों में संग्रहित किया जाता है। लंबवत विभाजन: अलग-अलग तालिकाओं में अलग-अलग कॉलम संग्रहीत। दोनों प्रदर्शन और स्केलेबिलिटी तकनीक हैं।
1898
EN + हिं Medium
GB What is NUMA and how does it affect database architecture?
IN NUMA क्या है और यह डेटाबेस आर्किटेक्चर को कैसे प्रभावित करता है?
A
A new SQL standard for distributed databases वितरित डेटाबेस के लिए एक नया SQL मानक
B
A type of disk storage architecture एक प्रकार का डिस्क स्टोरेज आर्किटेक्चर
C
A memory architecture where processors have different latencies to different memory regions requiring NUMA-aware data placement एक मेमोरी आर्किटेक्चर जहां प्रोसेसर के पास विभिन्न मेमोरी क्षेत्रों के लिए अलग-अलग विलंबता होती है, जिसके लिए NUMA-जागरूक डेटा प्लेसमेंट की आवश्यकता होती है
D
A network protocol for database replication डेटाबेस प्रतिकृति के लिए एक नेटवर्क प्रोटोकॉल
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) In NUMA systems, each processor has local memory (low latency) and remote memory (high latency). DBMS must be NUMA-aware to place data and threads to maximize local memory access and minimize expensive cross-NUMA-node memory transfers.
व्याख्या (हिन्दी) NUMA सिस्टम में, प्रत्येक प्रोसेसर में स्थानीय मेमोरी (कम विलंबता) और रिमोट मेमोरी (उच्च विलंबता) होती है। स्थानीय मेमोरी एक्सेस को अधिकतम करने और महंगे क्रॉस-एनयूएमए-नोड मेमोरी ट्रांसफर को कम करने के लिए डेटा और थ्रेड्स को रखने के लिए डीबीएमएस को NUMA-जागरूक होना चाहिए।
1899
EN + हिं Easy
GB What does event-sourcing architecture store as the primary record?
IN इवेंट-सोर्सिंग आर्किटेक्चर प्राथमिक रिकॉर्ड के रूप में क्या संग्रहीत करता है?
A
The current state of each entity प्रत्येक इकाई की वर्तमान स्थिति
B
An immutable sequence of events/changes from which current state can be derived घटनाओं/परिवर्तनों का एक अपरिवर्तनीय क्रम जिससे वर्तमान स्थिति प्राप्त की जा सकती है
C
Aggregated summary statistics एकत्रित सारांश आँकड़े
D
Encrypted copies of all database records सभी डेटाबेस रिकॉर्ड की एन्क्रिप्टेड प्रतियां
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Event sourcing stores every state change as an immutable event in an append-only log. The current state is derived by replaying all events. Provides complete audit trail, temporal queries, and ability to reconstruct any past state.
व्याख्या (हिन्दी) इवेंट सोर्सिंग प्रत्येक राज्य परिवर्तन को केवल-परिशिष्ट लॉग में एक अपरिवर्तनीय घटना के रूप में संग्रहीत करता है। वर्तमान स्थिति सभी घटनाओं को दोबारा दोहराकर प्राप्त की जाती है। संपूर्ण ऑडिट ट्रेल, अस्थायी प्रश्न और किसी भी पिछली स्थिति के पुनर्निर्माण की क्षमता प्रदान करता है।
1900
EN + हिं Medium
GB The Shared Disk architecture (e.g. Oracle RAC) has which characteristic?
IN साझा डिस्क आर्किटेक्चर (उदाहरण के लिए Oracle RAC) में कौन सी विशेषता है?
A
Each node has completely independent storage प्रत्येक नोड में पूर्णतः स्वतंत्र भंडारण होता है
B
Multiple nodes share the same storage but have separate memory using cache coherency protocols एकाधिक नोड्स समान भंडारण साझा करते हैं लेकिन कैश सुसंगतता प्रोटोकॉल का उपयोग करके अलग-अलग मेमोरी रखते हैं
C
Nodes are completely independent with no shared resources नोड्स बिना किसी साझा संसाधनों के पूरी तरह से स्वतंत्र हैं
D
Nodes share both memory and storage नोड्स मेमोरी और स्टोरेज दोनों साझा करते हैं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Shared-disk (like Oracle RAC): multiple instances each have private memory/buffer cache but share the same physical storage. They must coordinate using cache fusion/interconnect to ensure cache coherency.
व्याख्या (हिन्दी) साझा-डिस्क (ओरेकल आरएसी की तरह): कई उदाहरणों में से प्रत्येक में निजी मेमोरी/बफर कैश होता है लेकिन समान भौतिक भंडारण साझा करते हैं। कैश सुसंगतता सुनिश्चित करने के लिए उन्हें कैश फ़्यूज़न/इंटरकनेक्ट का उपयोग करके समन्वय करना होगा।
1901
EN + हिं Easy
GB What is the role of the catalog manager in DBMS architecture?
IN DBMS आर्किटेक्चर में कैटलॉग मैनेजर की क्या भूमिका है?
A
Manages physical file storage and I/O operations भौतिक फ़ाइल भंडारण और I/O संचालन का प्रबंधन करता है
B
Maintains the data dictionary containing metadata about all database objects सभी डेटाबेस ऑब्जेक्ट के बारे में मेटाडेटा युक्त डेटा डिक्शनरी बनाए रखता है
C
Manages the queue of incoming database connections आने वाले डेटाबेस कनेक्शन की कतार का प्रबंधन करता है
D
Handles network communication between client and server क्लाइंट और सर्वर के बीच नेटवर्क संचार को संभालता है
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) The catalog manager maintains the system catalog (metadata): table definitions, column names/types, constraints, indexes, views, user privileges, and statistics used by the query optimizer.
व्याख्या (हिन्दी) कैटलॉग प्रबंधक सिस्टम कैटलॉग (मेटाडेटा) को बनाए रखता है: तालिका परिभाषाएँ, कॉलम नाम/प्रकार, बाधाएं, अनुक्रमणिका, दृश्य, उपयोगकर्ता विशेषाधिकार और क्वेरी ऑप्टिमाइज़र द्वारा उपयोग किए गए आँकड़े।
1902
EN + हिं Easy
GB What is join pushdown in federated query systems?
IN फ़ेडरेटेड क्वेरी सिस्टम में जॉइन पुशडाउन क्या है?
A
Sending the join operation to a remote data source rather than fetching both tables to the coordinator allowing the remote DBMS to handle the join natively दोनों तालिकाओं को समन्वयक के पास लाने के बजाय दूरस्थ डेटा स्रोत पर जॉइन ऑपरेशन भेजना, रिमोट डीबीएमएस को जॉइन को मूल रूप से संभालने की अनुमति देता है
B
Pushing join parameters to the application layer जॉइन पैरामीटर्स को एप्लिकेशन लेयर पर पुश करना
C
Pushing join conditions to the WHERE clause जुड़ने की शर्तों को WHERE क्लॉज़ में धकेलना
D
Moving join operations to background processes जॉइन ऑपरेशंस को पृष्ठभूमि प्रक्रियाओं में ले जाना
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Join pushdown: in federated/external table queries, instead of pulling both large tables to the query engine, push the join down to the source DBMS to execute natively. Returns only the smaller result set, dramatically reducing data transfer.
व्याख्या (हिन्दी) जॉइन पुशडाउन: फ़ेडरेटेड/एक्सटर्नल टेबल क्वेरीज़ में, दोनों बड़ी टेबलों को क्वेरी इंजन में खींचने के बजाय, मूल रूप से निष्पादित करने के लिए जॉइन को सोर्स डीबीएमएस पर पुश करें। केवल छोटा परिणाम सेट लौटाता है, जिससे डेटा स्थानांतरण नाटकीय रूप से कम हो जाता है।
1903
EN + हिं Easy
GB In the object-oriented data model what is encapsulation?
IN ऑब्जेक्ट-ओरिएंटेड डेटा मॉडल में इनकैप्सुलेशन क्या है?
A
Bundling data (attributes) and methods that operate on that data within an object hiding internal implementation details बंडलिंग डेटा (विशेषताएँ) और विधियाँ जो आंतरिक कार्यान्वयन विवरण को छिपाते हुए किसी ऑब्जेक्ट के भीतर उस डेटा पर काम करती हैं
B
Packaging multiple objects into a single table एकाधिक वस्तुओं को एक ही तालिका में पैक करना
C
Hiding the database schema from users डेटाबेस स्कीमा को उपयोगकर्ताओं से छिपाना
D
Encrypting object data for security सुरक्षा के लिए ऑब्जेक्ट डेटा एन्क्रिप्ट करना
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Encapsulation is an OOP principle: objects bundle their state (attributes/fields) and behavior (methods) together. Internal implementation details are hidden, and external access is through well-defined interfaces/methods.
व्याख्या (हिन्दी) एनकैप्सुलेशन एक OOP सिद्धांत है: ऑब्जेक्ट अपनी स्थिति (गुण/फ़ील्ड) और व्यवहार (तरीके) को एक साथ जोड़ते हैं। आंतरिक कार्यान्वयन विवरण छिपे हुए हैं, और बाहरी पहुंच अच्छी तरह से परिभाषित इंटरफेस/विधियों के माध्यम से है।
1904
EN + हिं Medium
GB The document data model (MongoDB) is best suited for which scenario?
IN दस्तावेज़ डेटा मॉडल (MongoDB) किस परिदृश्य के लिए सबसे उपयुक्त है?
A
Storing hierarchical semi-structured data where document structure can vary पदानुक्रमित अर्ध-संरचित डेटा संग्रहीत करना जहां दस्तावेज़ संरचना भिन्न हो सकती है
B
Performing complex multi-table JOIN operations जटिल मल्टी-टेबल जॉइन ऑपरेशन निष्पादित करना
C
Enforcing strict referential integrity constraints सख्त संदर्भात्मक अखंडता बाधाओं को लागू करना
D
Storing highly interconnected data with complex relationships जटिल रिश्तों के साथ अत्यधिक परस्पर जुड़े डेटा का भंडारण
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Document model stores self-contained JSON/BSON documents with varying structures. Ideal for hierarchical/nested data (e.g., a blog post with embedded comments) where data is accessed primarily as a whole document.
व्याख्या (हिन्दी) दस्तावेज़ मॉडल अलग-अलग संरचनाओं के साथ स्व-निहित JSON/BSON दस्तावेज़ों को संग्रहीत करता है। पदानुक्रमित/नेस्टेड डेटा के लिए आदर्श (उदाहरण के लिए, एम्बेडेड टिप्पणियों वाला एक ब्लॉग पोस्ट) जहां डेटा को मुख्य रूप से संपूर्ण दस्तावेज़ के रूप में एक्सेस किया जाता है।
1905
EN + हिं Easy
GB What is the semantic data model and its primary purpose?
IN सिमेंटिक डेटा मॉडल और इसका प्राथमिक उद्देश्य क्या है?
A
A model that uses only numerical semantic values एक मॉडल जो केवल संख्यात्मक अर्थ संबंधी मानों का उपयोग करता है
B
A model for storing text data with semantic analysis सिमेंटिक विश्लेषण के साथ टेक्स्ट डेटा संग्रहीत करने के लिए एक मॉडल
C
A model used for natural language databases प्राकृतिक भाषा डेटाबेस के लिए उपयोग किया जाने वाला एक मॉडल
D
A high-level conceptual model capturing the meaning of data to bridge the gap between the real world and DBMS implementation वास्तविक दुनिया और डीबीएमएस कार्यान्वयन के बीच अंतर को पाटने के लिए डेटा के अर्थ को पकड़ने वाला एक उच्च स्तरीय वैचारिक मॉडल
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Semantic data models (like ER model, UML) capture higher-level meaning/semantics of data beyond pure structure - including entity meanings, relationship semantics, constraints, and real-world interpretations. Used during conceptual design.
व्याख्या (हिन्दी) सिमेंटिक डेटा मॉडल (जैसे ईआर मॉडल, यूएमएल) शुद्ध संरचना से परे डेटा के उच्च-स्तरीय अर्थ/शब्दार्थ को पकड़ते हैं - जिसमें इकाई अर्थ, संबंध शब्दार्थ, बाधाएं और वास्तविक दुनिया की व्याख्याएं शामिल हैं। वैचारिक डिजाइन के दौरान उपयोग किया जाता है।
1891–1905 of 2982