MongoDB Questions and Answers – Replication in MongoDB

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Replication in MongoDB”. 1. A _______ set is a group of mongod instances that host the same data set. a) copy b) sorted c) radii d) replica 2. Point out the wrong statement. a) Replication provides redundancy and increases data availability b) Replication … Read more

advertisement

MongoDB Questions and Answers – Indexing Methods

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Indexing Methods”. 1. __________ query calculates distances using flat (planar) geometry. a) $center b) $centre c) $radii d) Sort 2. Point out the wrong statement. a) The query scans the index and not the collection b) If overall selectivity is high, and if … Read more

advertisement

MongoDB Questions and Answers – Indexing Strategies

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Indexing Strategies”. 1. _________ operations that use an index often have better performance than those that do not use an index. a) Select b) Update c) Delete d) Sort 2. Point out the wrong statement. a) The query scans the index and the … Read more

advertisement

MongoDB Questions and Answers – Text Search

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Text Search”. 1. When creating a text index on multiple fields, you can specify the individual fields or you can use wildcard specifier ______ a) ($*) b) (**$**) c) ($**) d) None of the mentioned 2. Point out the wrong statement. a) In … Read more

advertisement

MongoDB Questions and Answers – Geospatial Index

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Geospatial Index”. 1. ___________ selects geometries that intersect with a GeoJSON geometry. a) $near b) $nearsphere c) $geoIntersect d) None of the mentioned 2. Point out the wrong statement. a) If $near or $nearSphere query specifies the center point as a GeoJSON point, … Read more

advertisement

MongoDB Questions and Answers – Index Management

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Index Management”. 1. To modify an existing index, you cannot just re-issue the _________ method with the updated specification of the index. a) dropIndex() b) modIndex() c) createIndex() d) none of the mentioned 2. Point out the wrong statement. a) To modify an … Read more

advertisement

MongoDB Questions and Answers – Index Properties

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Index Properties”. 1. ________ indexes expire documents after the specified number of seconds has passed since the indexed field value. a) Hashed b) Unique c) Multikey d) TTL 2. Point out the correct statement. a) If you build a TTL index in the … Read more

advertisement

MongoDB Questions and Answers – Index Types – 3

This set of MongoDB Aptitude Test focuses on “Index Types – 3”. 1. Which of the following GeoJSON object is not supported in MongoDB? a) Point b) LineString c) MultiPoint d) None of the mentioned 2. Point out the wrong statement. a) MongoDB can query for locations contained entirely within a specified polygon b) MongoDB … Read more

advertisement

MongoDB Questions and Answers – Index Types – 2

This set of MongoDB Questions for campus interviews focuses on “Index Types – 2”. 1. Before version _______ capped collections did not have an _id field. a) 2.1 b) 2.4 c) 3.0 d) 2.2 2. Point out the wrong statement. a) You can create indexes on fields within embedded documents b) Indexes on embedded fields … Read more

advertisement

MongoDB Questions and Answers – Index Types – 1

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Index Types – 1”. 1. To support ________ based sharding, MongoDB provides a hashed index type. a) primary b) root c) hash d) all of the mentioned 2. Point out the correct statement. a) Whether the use of a compound index or the … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.