MongoDB interview questions part 14

MongoDB interview questions part 14

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

Total Questions: 20

1. Point out the correct statement :

Correct Answer is : 4 is returned when the version of the database is different from the version supported by the mongod (or mongod.exe) instance

2. Which of the following code represents exit cleanly following a large clock skew (32768 milliseconds) event ?

Correct Answer is : 47

3. 49 code is returned by mongod from _________ Service control Manager.

Correct Answer is : Linux

4. Which of the following code is returned when a MongoDB application cannot open a file ?

Correct Answer is : 45

5. Identify the message returned by MongoDB applications for Windows due to failures installing ?

Correct Answer is : Message: NT Service Error

6. Which of the following document represents uncaught exception ?

Correct Answer is : 100

7. Point out the correct statement :

Correct Answer is : Collection is a group of MongoDB documents

8. Which of the following method returns a cursor ?

Correct Answer is : find

9. Point out the wrong statement :

Correct Answer is : A single MongoDB server typically has single databases

10. _id is a ________ bytes hexadecimal number which assures the uniqueness of every document.

Correct Answer is : 12

11. Which of the following statement will insert 400 documents in to the testData collection ?

Correct Answer is : insertData("test", "testData", 400)

12. The mongo shell loads and parses the ___________ file on startup.

Correct Answer is : mongorc.js

13. To iterate the cursor and return more documents, type _________ in the mongo shell.

Correct Answer is : it

14. Which of the following key is used to denote uniqueness in the collection ?

Correct Answer is : _id

15. ___________ selects geometries that intersect with a GeoJSON geometry.

Correct Answer is : $geoIntersect

16. Point out the correct statement :

Correct Answer is : $geoWithin does not require a geospatial index

17. _________ returns geospatial objects in proximity to a point on a sphere. Requires a geospatial index.

Correct Answer is : $nearsphere

18. The __________ operator constrains the results of a geospatial $near or $nearSphere query to the specified distance.

Correct Answer is : $maxDistance

19. The _________ operator specifies a circle for a $geoWithin query.

Correct Answer is : $center

20. ________ index must exist on a field holding coordinates before using any of the geospatial query operators.

Correct Answer is : Geospatial

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon