MongoDB interview questions part 36

MongoDB interview questions part 36

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. __________ returns the highest value from the group of values in documents.

Correct Answer is : $max

2. Which of the following is syntax for calculating minimum value ?

Correct Answer is : { $min: }

3. If all documents for the $min operation have null value for the field or are missing the field, the $min operator returns ____ for the minimum value.

Correct Answer is :

4. $addToSet returns an array of all _______ values that results from applying an expression to each document.

Correct Answer is : unique

5. ______ expressions ignores the duplicate entries in each input array and the order of the elements.

Correct Answer is : set

6. Point out the correct statement :

Correct Answer is : Operator expressions are similar to functions that take arguments

7. Point out the wrong statement :

Correct Answer is : None of the mentioned

8. $allElementsTrue returns true if no element of a set evaluates to :

Correct Answer is : FALSE

9. Which of the following storage engine is supported by default ?

Correct Answer is : MMAPv1

10. Point out the correct statement :

Correct Answer is : MongoDB includes support for two storage engines

11. All collections have a unique ________ lock that allows multiple clients to modify documents in different collections at the same time.

Correct Answer is : readers-writer

12. _________ supports concurrent access by readers and writers to the documents in a collection.

Correct Answer is : WiredTiger

13. Point out the correct statement :

Correct Answer is : The MongoDB distribution for Solaris include support for the WiredTiger storage engine

14. MongoDB uses ________ logging to an on-disk journal.

Correct Answer is : write ahead

15. _______ concern describes the guarantee that MongoDB provides when reporting on the success of a write operation.

Correct Answer is : Write

16. The ________ command returns information regarding the number of open connections

Correct Answer is : connPoolStats

17. ________ do not typically provide sufficient performance to support a MongoDB deployment

Correct Answer is : RAID-5

18. Which of the following should be avoided with MongoDB Deployments ?

Correct Answer is : RAID-0

19. The __________ of a replica set affects the outcome of failover situations.

Correct Answer is : deployment

20. Point out the wrong statement :

Correct Answer is : Network partitions could not prevent the set from being able to form a majority

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon