Valid C100DEV Dumps shared by ExamDiscuss.com for Helping Passing C100DEV Exam! ExamDiscuss.com now offer the newest C100DEV exam dumps, the ExamDiscuss.com C100DEV exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com C100DEV dumps with Test Engine here:
We have a restaurants collection with the following document structure: { _id: ObjectId("5eb3d668b31de5d588f42a7d"), address: { building: '605', coord: [ -74.0060152, 40.7372653 ], street: 'Hudson Street', zipcode: '10014' }, cuisine: 'French', grades: [ { date: ISODate("2014-06-30T00:00:00.000Z"), grade: 'A', score: 10 }, { date: ISODate("2013-05-20T00:00:00.000Z"), grade: 'A', score: 13 }, { date: ISODate("2012-12-11T00:00:00.000Z"), grade: 'A', score: 9 } ], name: 'La Ripaille Restaurant' } We need to use Aggregation Framework to calculate the total number of restaurants for top 5 cuisine (sorted in descending order by the number of restaurants). Expected output: [ { _id: 'American', total_restaurants: 6183 }, { _id: 'Chinese', total_restaurants: 2418 }, { _id: 'Cafao/Coffee/Tea', total_restaurants: 1214 }, { _id: 'Pizza', total_restaurants: 1163 }, { _id: 'Italian', total_restaurants: 1069 } ] Which pipeline should you use?