C100DEV Exam Question 51

Select all true statements regarding to duplicate documents in MongoDB.
  • C100DEV Exam Question 52

    A collection called players contains the following documents: [ { _id: 1, user: 'Tom', scores: [ 23, 56, 3, 52, 62 ], bonus: 5 }, { _id: 2, user: 'Jane', scores: [ 42, 50, 10 ], bonus: 3 } ] You want to add additional fields to each document: -> total_score (sum of the scores Array) -> avg_score (average score in scores Array) Expected output: [ { _id: 1, user: 'Tom', scores: [ 23, 56, 3, 52, 62 ], bonus: 5, total_score: 196, avg_score: 39.2 }, { _id: 2, user: 'Jane', scores: [ 42, 50, 10 ], bonus: 3, total_score: 102, avg_score: 34 } ] Which query do you need to use?
  • C100DEV Exam Question 53

    Use case: e-learning platform Which of the following scenarios is the best candidate to use the Subset Pattern?
  • C100DEV Exam Question 54

    Let's consider a replica set of 3 nodes that experiences a network outage. Select true statement.
  • C100DEV Exam Question 55

    Which of the following queries can use an index on the title field?