MongoDB Interview Questions - 39 | Snaprecruit.com

MongoDB Interview Questions - 39 | Snaprecruit.com

MongoDB interview questions part 39

MongoDB interview questions part 39

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

Total Questions: 20

1. Failover allows a ________ member to become primary if primary is unavailable.

Correct Answer is : Secondary

2. Sometimes the failover process may require a ____________ during operation.

Correct Answer is : rollback

3. Point out the correct statement :

Correct Answer is : A rollback does not occur if the write operations replicate to another member of the replica set before the primary steps down

4. MongoDB writes the rollback data to BSON files in the rollback/ folder under the database’s ________ directory.

Correct Answer is : dbPath

5. The names of rollback files have the following form:

Correct Answer is : ...bson.

6. _________ is used to read the contents of the rollback files.

Correct Answer is : bsondump

7. Use ______ to apply the changes to the new primary after rollback.

Correct Answer is : mongorestore

8. mongorestore recreates indexes recorded by :

Correct Answer is : mongodump

9. How many types of members exist in replica set ?

Correct Answer is : 2

10. Point out the wrong statement :

Correct Answer is : Replication provides scalability and increases data redundancy

11. Which of the member receives all write operations ?

Correct Answer is : primary

12. _________ replicate operations from the primary to maintain an identical data set.

Correct Answer is : secondary

13. Point out the wrong statement :

Correct Answer is : None of the mentioned

14. _________ play a role in the elections that select a primary if the current primary is unavailable

Correct Answer is : Arbiters

15. A replica set can have up to ______ members but only 7 voting members

Correct Answer is : 70

16. Which of the following may be non-voting or priority 0 ?

Correct Answer is : secondary

17. If the current primary becomes unavailable, the replica set holds an ______ to choose which of the secondaries becomes the new primary.

Correct Answer is : election

18. By default, an application directs its ____ operations to the primary member.

Correct Answer is : read

19. A _______ set is a group of mongod instances that host the same data set.

Correct Answer is : replica

20. Point out the wrong statement :

Correct Answer is : None of the mentioned

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon