Direction: Choose the correct option
Q1.
Which operator is used for equality comparison in MongoDB queries?
Direction: Choose the correct option
Q2.
How would you find documents where the 'age' field is greater than 18?
Direction: Choose the correct option
Q3.
Which operator is used to match documents where a field value is in a specified array?
Direction: Choose the correct option
Q4.
What does the `$regex` operator allow you to do?
Direction: Choose the correct option
Q5.
How do you find documents where the 'tags' array contains both 'red' and 'blue'?
