Question 36
We have the following schema for a movies collection: { _id: ObjectId, title: String, genres: Array, languages: Array, year: 32-bit integer } And the following index on the movies collection: { title: 1 } Which of the following queries will use the given index to perform the sorting stage?
Question 37
There is a collection named products in MongoDB database. Your coworker wants to know how many products are in this collection (number of documents in the collection).
Which query should you use? (select 2)
Question 38
Select all true statements regarding to Aggregation Framework.
Question 39
Suppose you have a mobile_games collection with the following document structure to redesign: { 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"), ... } Which pattern solution is best suited for this situation?
Question 40
Given the following MongoDB URI: mongodb+srv://datascientist34:[email protected]/admin Which of the following statements are true? (select 2)
