Which of the following aggregation commands in MongoDB does not support sharded collections?
Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?
Which of the following are common uses of the mongo shell? Check all that apply
A collection named scores includes:
[
{ _id: 1, home_score: 6, away_score: [ 5, 7 ] },
{ _id: 2, home_score: [ 8, 6 ], away_score: 9 },
{ _id: 3, home_score: [ 5, 8 ], away_score: [ 9, 6 ] },
{ _id: 4, home_score: 5, away_score: 10 }
]
Given the following index:
db.scores.createIndex( { home_score: 1, away_score: 1 } )
What document will cause the index to fail?
Which node in a replica set does accept write operation?
Using an arbiter allows one to easily ensure an odd number of voters in replica sets. Why is this important?
Suposse tou have the following collection with only 2 documents:
If you run an aggregation query and use { $unwind: " $traits " } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?
What are the audit log destinations? (Select three)
What is the output of the following program?
What " stage " indicates that no indexes were available for a query pattern?