Home / CompTIA DataSys+ (DS0-002) / Mock exam
CompTIA DataSys+ (DS0-002) Exam-style mock test

CompTIA DataSys+ (DS0-002)|अभ्यास परीक्षण

Full explanations Exam format Pass line 65%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Database Fundamentals
एक e-commerce platform को प्रत्येक product को एक flexible, अलग-अलग attributes (color, size, warranty terms) के साथ store करना है जो category के अनुसार अलग होते हैं, और product को उसके id से पूरा retrieve करना है। इस access pattern के लिए कौन सा database structure type सबसे उपयुक्त है?
・relationships traverse करने वाला graph database
गलत। Graph database relationship traversal के लिए optimized है, प्रति-product attribute bags के लिए नहीं।
・wide analytics के लिए column-oriented store
गलत। Column-oriented stores कई rows पर aggregate scans के लिए उपयुक्त हैं, id से single-document retrieval के लिए नहीं।
・fixed columns वाला relational schema
गलत। Fixed relational schema प्रत्येक product को identical columns में डालता है, जो per-category attributes से मेल नहीं खाता।
✓product id से keyed document database
सही। Document database प्रत्येक product को एक self-describing document के रूप में store करता है और id से पूरा fetch करता है, जिससे attributes category के अनुसार अलग हो सकते हैं।
Explanation
Documents self-describing होते हैं और key से पूरे retrieve किए जाते हैं, इसलिए प्रति-item varying attributes और id lookups document store के साथ सीधे match होते हैं। Graph relationships के लिए, column stores analytics के लिए, और rigid relational schema heterogeneous attributes के साथ संघर्ष करता है। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example2 · Database Deployment
एक online retailer चाहता है कि cloud provider database engine run और patch करे जबकि team schema और queries पर पूरा नियंत्रण रखे, बिना OS maintenance के। कौन सा cloud service model match करता है?
・Infrastructure as a service (IaaS)
गलत। IaaS में team को provided VMs पर OS और engine खुद install और patch करना होता है।
・Software as a service (SaaS)
गलत। SaaS एक finished application deliver करता है, engine या schema administer करने के लिए team के लिए कुछ नहीं छोड़ता।
✓Platform as a service (PaaS)
सही। Managed database PaaS engine run और patch करता है जबकि team schema और queries manage करती है।
・On-premises colocation
गलत। On-premises colocation team को सभी hardware और software maintenance छोड़ देता है।
Explanation
Managed PaaS database provider को engine और OS maintenance offload करता है जबकि customers schema और query control retain करते हैं। IaaS OS duties team के पास रखता है, SaaS database control पूरी तरह remove करता है, और colocation fully self-managed है। Source: CompTIA DataSys+ DS0-002 Objective 2.1.
Example3 · Business Continuity
Retailer order database की identical दूसरी copy real time में synchronized रखता है ताकि primary पर hardware failure होने पर committed transactions न खोएं। कौन सा DR technique यह synchronized copy maintain करती है?
・Data masking
गलत। Data masking privacy के लिए values obscure करता है और कोई synchronized copy नहीं रखता।
・Query caching
गलत। Query caching repeated reads को speed करता है लेकिन DR copy maintain नहीं करता।
✓Mirroring
सही। Mirroring एक synchronized duplicate maintain करता है ताकि copy primary के साथ current रहे।
・Index tuning
गलत। Index tuning performance improve करता है और database replicate नहीं करता।
Explanation
Mirroring failover के लिए database का real-time synchronized duplicate maintain करता है, committed transactions को protect करता है। Masking, caching, और index tuning privacy और performance को address करते हैं, DR copies को नहीं। Source: CompTIA DataSys+ DS0-002 Objective 5.1.
Example4 · Database Management and Maintenance
एक hospital database के error log में बार-बार दिखता है: ERROR: deadlock detected Process 214 waits for ShareLock on transaction 9981; blocked by process 377. दो nightly batch jobs same patient और billing rows को opposite order में update करते हैं। इन recurring deadlocks को most directly कौन-सी action prevent करती है?
・दोनों batch jobs को broader table-level privileges grant करें
गलत। Broader privileges lock ordering नहीं बदलते जो cycle का कारण है।
✓Jobs को rows एक consistent order में lock करने दें
सही। Consistent order में locks acquire करना circular wait को remove करता है जो deadlocks का कारण है।
・Database server का total memory allocation substantially बढ़ाएं
गलत। More memory mutual lock-ordering conflict resolve नहीं करती।
・Engine की built-in deadlock detection logic को पूरी तरह disable करें
गलत। Detection off करने से sessions indefinitely hang होती हैं cycle fix करने की बजाय।
Explanation
Deadlocks circular wait से उत्पन्न होते हैं; सभी jobs को एक consistent order में locks acquire करवाने से cycle टूट जाती है। Source: CompTIA DataSys+ DS0-002 Objective 3.1।
Example5 · Data and Database Security
एक hospital रोगी Social Security numbers store करता है लेकिन records देखने वाले support staff को केवल last four digits दिखाना चाहता है, जबकि full value protected रहे। कौन-सी data security technique यह presentation-level protection achieve करती है?
・Data at rest का full-disk encryption
गलत। At-rest encryption stored files protect करता है लेकिन authorized reads को full value दिखाता है।
✓Data masking से value छुपाना
सही। Data masking value का केवल हिस्सा reveal करता है, जैसे last four digits।
・Nightly off-site stored database backup
गलत। Off-site backup availability protect करता है, staff screen पर क्या देखते हैं नहीं।
・Client subnet limit करने वाला firewall rule
गलत। Firewall rule network access limit करता है, displayed digits नहीं।
Explanation
Data masking sensitive field का एक हिस्सा obscure करता है ताकि viewers केवल वही देखें जो उन्हें चाहिए, full value hidden रखते हुए। Source: CompTIA DataSys+ DS0-002 Objective 4.1।
Example6 · Data Integration
एक hospital अपने cloud data warehouse में पहले raw lab feeds load करता है और उसके बाद ही warehouse के अंदर उसके compute का उपयोग करके transformations run करता है। कौन-सा data integration pattern यह sequence describe करता है?
・ETL, load से पहले data transform करना
गलत। ETL loading से पहले transform करता है, पहले raw data load करने का reverse।
・Row deltas की change-data-capture stream
गलत। Change-data-capture row-level changes stream करता है, load-then-transform order नहीं।
✓ELT: पहले load, बाद में transform
सही। ELT पहले raw data load करता है, फिर warehouse के अंदर transform करता है।
・हर week manually किया गया spreadsheet export
गलत। Manual spreadsheet export automated integration pattern नहीं है।
Explanation
ELT पहले raw data target में load करता है और वहाँ warehouse के compute का उपयोग करके transform करता है; ETL इसके विपरीत loading से पहले transform करता है। Source: CompTIA DataSys+ DS0-002 Objective 6.1।
Example7 · Database Fundamentals
एक payments platform को प्रत्येक wire transfer को immutable events की एक chain के रूप में record करना है और अक्सर account id द्वारा एक account की पूरी event trail को query करना है। कौन सा database structure type सबसे सीधे self-contained records को append करने और key द्वारा उन्हें पूरी तरह fetch करने का समर्थन करता है?
・Relationship walks के लिए tuned एक graph database
गलत। Graph engines edges को traverse करने में उत्कृष्ट हैं, न कि single key द्वारा retrieve किए जाने वाले self-contained records को append करने में।
・Wide scans के लिए एक column-oriented engine
गलत। Column-oriented engines कई rows में aggregate scans के लिए उपयुक्त हैं, न कि key द्वारा whole-record retrieval के लिए।
✓Account id द्वारा keyed एक document store
सही। एक document store प्रत्येक event को self-describing record के रूप में append करता है और account trail को उसकी key द्वारा पूरी तरह return करता है।
・Rigid columns वाला एक relational schema
गलत। एक rigid relational schema हर event को fixed columns में force करता है, जो heterogeneous event payloads के लिए उपयुक्त नहीं है।
Explanation
Document stores self-describing records को key द्वारा whole रूप से retrieve करते हैं, जो प्रति account एक append-only event trail के साथ मेल खाता है। Graph relationship walks के लिए उपयुक्त है, column stores analytics के लिए, और fixed relational columns heterogeneous payloads के लिए उपयुक्त नहीं हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example8 · Database Fundamentals
एक fraud analytics team को यह पता लगाना है कि क्या दो bank accounts कई intermediate transfers के माध्यम से जुड़े हुए हैं, interactive speed पर links के कई hops का अनुसरण करते हुए। कौन सी NoSQL category इस workload के लिए purpose-built है?
・Key-value store
गलत। एक key-value store एक value को उसकी key द्वारा return करता है और records के बीच links का अनुसरण करने का कोई native तरीका नहीं है।
・Column-oriented database
गलत। एक column-oriented database columnar aggregation के लिए tuned है, न कि relationships को walk करने के लिए।
✓Graph database
सही। एक graph database accounts को vertices और transfers को edges के रूप में store करता है, इसलिए multi-hop link traversal इसकी core strength है।
・Document database
गलत। एक document database whole-document retrieval में उत्कृष्ट है, न कि efficient multi-hop traversal में।
Explanation
Graph databases entities को vertices और relationships को edges के रूप में model करते हैं, जिससे multi-hop traversals जैसे transfer-chain analysis कुशल बनते हैं। अन्य categories key lookup, columnar scans, या document retrieval को optimize करती हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example9 · Database Fundamentals
एक ledger table पर एक DBA `UPDATE accounts SET balance = balance - 500 WHERE id = 10;` चलाता है, फिर देखता है कि id 11 होनी चाहिए थी। Autocommit बंद है और कोई COMMIT नहीं चली है। कौन सा single statement इस uncommitted change को discard करता है?
・COMMIT
गलत। COMMIT गलत deduction को permanent बना देगा, न कि discard करेगा।
・SAVEPOINT s1
गलत। SAVEPOINT केवल transaction के भीतर एक point mark करता है; यह change को undo नहीं करता।
・SET AUTOCOMMIT = 1
गलत। Autocommit enable करना future statements को affect करता है और open transaction को reverse नहीं करता।
✓ROLLBACK
सही। ROLLBACK last commit के बाद से किए गए सभी changes को revert करता है, गलत update को undo करता है।
Explanation
ROLLBACK एक transaction control statement है जो uncommitted work को last commit point पर revert करता है। COMMIT error को persist करेगा, SAVEPOINT केवल एक position mark करता है, और autocommit toggle करना open transaction को undo नहीं करता। Source: CompTIA DataSys+ DS0-002 Objective 1.2.
Example10 · Database Fundamentals
एक कारखाना प्रति घंटे लाखों tag readings लेता है, प्रत्येक एक (sensor_id, timestamp, value) point है जिसे लगभग हमेशा एक मशीन के लिए time range में query किया जाता है। इस append-and-range access pattern के लिए कौन सा storage model सबसे उपयुक्त है?
✓timestamp ranges के लिए tuned time-series oriented store
सही। time-series stores append-heavy writes और (series, time) पर range scans को optimize करते हैं, जो telemetry workloads के लिए उपयुक्त है।
・मशीनों के बीच edges model करने वाला graph database
गलत। graph database relationship traversal के लिए है, metrics की sequential time-range reads के लिए नहीं।
・प्रत्येक reading के लिए एक blob रखने वाला document store
गलत। प्रत्येक छोटी reading को document में wrap करने से overhead बढ़ता है और range queries में कोई सहायता नहीं होती।
・key के अनुसार value return करने वाला key-value cache
गलत। key-value cache key द्वारा single value fetch करता है और timestamp range को efficiently scan नहीं कर सकता।
Explanation
Sensor telemetry को append-only लिखा जाता है और प्रति series time range के रूप में पढ़ा जाता है, इसलिए time-series model (specialized schema या engine) सबसे उपयुक्त है। Graph relationships के लिए, documents heterogeneous records के लिए, और key-value point lookups के लिए उपयुक्त हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example11 · Database Fundamentals
एक plant maintenance team को bill-of-materials में defect का प्रसार trace करना है, जहाँ parts में sub-assemblies हैं जिनमें और parts हैं, 'is-part-of' links के कई hops को follow करते हुए। इसके लिए कौन सा NoSQL type purpose-built है?
・Column-oriented database
गलत। column-oriented database columnar aggregation के लिए है, relationship walks के लिए नहीं।
・Document database
गलत। document database पूरे documents retrieve करता है और arbitrary hop traversal के लिए नहीं बना।
・Key-value store
गलत। key-value store key द्वारा value return करता है, इसमें कोई native relationship traversal नहीं है।
✓Graph database
सही। graph database vertices और edges store करता है, इसलिए component relationships का multi-hop traversal इसकी core strength है।
Explanation
कई hops के साथ traverse किए गए nested component relationships सीधे vertices और edges के graph model पर map होते हैं। अन्य types aggregation, whole-document retrieval, या key lookup के लिए tuned हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example12 · Database Fundamentals
एक नगरपालिका परमिट कार्यालय को प्रत्येक भवन-परमिट आवेदन को एक स्व-निहित रिकॉर्ड के रूप में संग्रहीत करना है जिसके फ़ील्ड परमिट प्रकार के अनुसार भिन्न होते हैं, और कार्यालय लगभग हमेशा परमिट नंबर द्वारा पूरा आवेदन प्राप्त करता है। कौन सा database structure type इस access pattern को सबसे सीधे फिट करता है?
・एक graph database जो inspectors को permits से जोड़ता है
गलत। एक graph database relationships को traverse करने के लिए तैयार होता है, न कि identifier द्वारा एक variable-shape आवेदन को पूरा लौटाने के लिए।
・एक column-oriented store जो wide analytical scans के लिए है
गलत। एक column-oriented store key द्वारा whole-record retrieval की बजाय बहुत सी rows पर aggregate scans को प्राथमिकता देता है।
・एक key-value cache जो एकल मान लौटाता है
गलत। एक key-value cache key द्वारा opaque value लौटाता है और आवेदन के समृद्ध आंतरिक fields को model नहीं कर सकता।
✓एक document database जो permit number द्वारा keyed है
सही। एक document database प्रत्येक आवेदन को varying fields वाले self-describing document के रूप में संग्रहीत करता है और इसे permit number द्वारा पूरा लौटाता है।
Explanation
परमिट आवेदन heterogeneous, self-contained records होते हैं जो identifier द्वारा पूरे fetch किए जाते हैं, जो सीधे document model पर map होते हैं। Graph relationship walks के लिए, column stores analytics के लिए, और key-value stores opaque values रखने के लिए उपयुक्त हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example13 · Database Fundamentals
एक public-health agency को यह निर्धारित करना है कि क्या दो निवासी कई मध्यवर्ती लोगों के माध्यम से साझा household और employment contacts द्वारा जुड़े हुए हैं। कौन सी NoSQL category ऐसे multi-hop connection प्रश्नों का उत्तर interactive speed पर देने के लिए purpose-built है?
・Document database
गलत। एक document database पूरे documents को retrieve करने में उत्कृष्ट है, न कि कई मध्यवर्ती records में links को traverse करने में।
✓Graph database
सही। एक graph database निवासियों को vertices और contacts को edges के रूप में संग्रहीत करता है, इसलिए connections के कई hops traverse करना इसकी मुख्य शक्ति है।
・Key-value store
गलत। एक key-value store अपनी key द्वारा value लौटाता है और relationships follow करने का कोई native तरीका प्रदान नहीं करता।
・Column-oriented database
गलत। एक column-oriented database relationship traversal की बजाय columnar aggregation के लिए तैयार है।
Explanation
कई मध्यवर्ती contacts के माध्यम से paths ढूंढना relationship traversal है, जिसे vertices और edges का graph model कुशलतापूर्वक संभालता है। Documents, key-value, और columnar stores retrieval, lookup, और aggregation को optimize करते हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example14 · Database Fundamentals
एक SaaS analytics उत्पाद अरबों event rows को ingest करता है और लगभग हर dashboard query बड़े time ranges में कुछ fields (event_name, tenant_id, revenue) को aggregate करती है। कौन सी storage structure इन scans को सबसे कुशलता से serve करती है?
✓एक column-oriented analytical store
सही। एक column-oriented store प्रत्येक column को एक साथ रखता है, इसलिए कई rows में केवल कुछ fields scan करने पर बहुत कम data पढ़ा जाता है।
・traversal के लिए optimized एक graph database
गलत। Graph databases relationships traverse करने में उत्कृष्ट हैं, न कि अरबों rows में कुछ columns scan करने में।
・एक row-oriented transactional table
गलत। Row stores पूरी rows पढ़ते हैं, इसलिए कुछ fields aggregate करने पर भी disk से अनावश्यक columns खिंचती हैं।
・event id द्वारा keyed एक key-value cache
गलत। एक key-value cache key द्वारा एक value fetch करता है और पूरे dataset में aggregate नहीं कर सकता।
Explanation
Column-oriented storage प्रत्येक column को भौतिक रूप से group करती है, इसलिए analytical queries जो कई rows में कुछ columns को touch करती हैं, केवल आवश्यक data पढ़ती हैं। Row stores transactional whole-row access के लिए, graphs relationships के लिए, और key-value single-key lookups के लिए उपयुक्त हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
Example15 · Database Fundamentals
एक collaboration SaaS को model करना है कि documents, folders, और teams कैसे जुड़े हैं और queries answer करनी हैं जैसे "कौन से users किसी भी sharing chain के माध्यम से इस file तक पहुंच सकते हैं।" कौन सा database type सबसे उपयुक्त है?
・एक document database
गलत। एक document database self-contained documents retrieve करता है और arbitrary-depth relationship traversal में कमजोर है।
✓एक graph database
सही। एक graph database सीधे nodes और edges model करता है, जिससे sharing chains पर multi-hop reachability स्वाभाविक और तेज़ होती है।
・एक relational star schema
गलत। एक star schema aggregate reporting के लिए है, variable-depth path queries के लिए नहीं।
・एक wide-column store
गलत। एक wide-column store writes और scans को scale करता है लेकिन edges को कुशलता से traverse नहीं करता।
Explanation
arbitrary-length sharing chains के माध्यम से reachability एक path-traversal problem है, जिसे graph databases nodes और edges के साथ natively handle करते हैं। Documents whole-item retrieval के लिए, star schemas reporting के लिए, और wide-column large tabular scans के लिए उपयुक्त हैं। Source: CompTIA DataSys+ DS0-002 Objective 1.1.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)