Select all true statements about auto bucketing feature in Aggregation Framework. ($bucketAuto stage)
Given a companies collection where each document has the following structure: { _id: ObjectId("52cdef7c4bab8bd675297efd"), name: 'ZoomInfo', homepage_url: 'http://www.zoominfo.com', blog_url: 'http://zoominfoblogger.wordpress.com/', twitter_username: 'ZoomInfo', founded_year: 2000, email_address: '' } Extract all companies from this collection that have the same Twitter username as the company name. Which query should you use?
Suppose you have a mobile_games collection with the following document structure: { game: "Fishing Clash", company: "Ten Square Games", platforms: ['Android', 'IOS'], ... release_USA: ISODate("2017-04-09T01:00:00+01:00"), release_France: ISODate("2017-04-09T01:00:00+01:00"), release_Italy: ISODate("2017-08-17T01:00:00+01:00"), ... } Are there any problems with this document structure?
Select all true statements about query plans in MongoDB. (select 2)
Suppose you have a products collection with an index: { product_category: 1 } For which of the following queries can MongoDB look at only a subset of the index entries, rather than all of the index entries?