MongoDB interview questions part 13

MongoDB interview questions part 13

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

Total Questions: 20

1. ______________ documents capture relationships between data by storing related data in a single document structure.

Correct Answer is : Embedded

2. Point out the wrong statement :

Correct Answer is : All of the mentioned

3. A ____________ data model with embedded data combines all related data for a represented entity in a single document.

Correct Answer is : denormalized

4. For the __________ storage engine, if the document size exceeds the allocated space for that document, MongoDB relocates the document on disk.

Correct Answer is : MAPv3

5. With MongoDB 3.0.0,the default use of the Power of _________ Allocations minimizes the occurrences of re-allocations as well as allows for the effective reuse of the freed record space.

Correct Answer is : 2 Sized

6. ___________ strategy is used to explicitly avoid document growth.

Correct Answer is : pre-allocation

7. Each index in MongoDB requires at least _________ of data space.

Correct Answer is : 8KB

8. Which of the following information is captured by database profiler ?

Correct Answer is : All of the mentioned

9. Point out the correct statement :

Correct Answer is : All of the mentioned

10. Which of the following collection is capped ?

Correct Answer is : system.profile

11. The ___________ provides information for various lock types and lock modes held during the operation.

Correct Answer is : system.profile.locks

12. Point out the wrong statement :

Correct Answer is : None of the mentioned

13. Which of the following keyword represents lock on collection ?

Correct Answer is : Collection

14. How many types of locking modes exist in MongoDB ?

Correct Answer is : More than 3

15. Which of the following represents number of times the operation acquired the lock in the specified mode ?

Correct Answer is : system.profile.locks.acquireCount

16. __________ can be used to limit the size of the result document for a query operation.

Correct Answer is : limit()

17. Which of the following code is used for successful exit of task ?

Correct Answer is : 0

18. Point out the correct statement :

Correct Answer is : 2 is returned by mongod if there is a mismatch between hostnames specified on the command line and in the local.sources collection

19. Instance exits cleanly is represented by ___ exit code

Correct Answer is : 4

20. Which of the follwing code is returned by mongod if a moveChunk operation fails to confirm a commit ?

Correct Answer is : 5

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon