MongoDB interview questions part 6

MongoDB interview questions part 6

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

Total Questions: 20

1. MongoDB employs _________ to govern access to a MongoDB system.

Correct Answer is : RBAC

2. Point out the correct statement :

Correct Answer is : MongoDB does not enable authorization by default

3. __________ consists of a specified resource and the actions permitted on the resource.

Correct Answer is : privilege

4. _________ provides all the privileges of the read role.

Correct Answer is : readWrite

5. Point out the wrong statement :

Correct Answer is : User cannot have several roles in MongoDB

6. MongoDB stores user credentials in the protected admin.system._________

Correct Answer is : users

7. You must have the _______ action on a database to create a new user on that database.

Correct Answer is : createUser

8. Data of .system.indexes can be accessed using :

Correct Answer is : listIndexes

9. You must have the __________ action on a role’s database to grant the role to another user.

Correct Answer is : grantRole

10. Command listIndexes.ok returning value 1 indicates :

Correct Answer is : success

11. MongoDB provides high ____________ with replica sets.

Correct Answer is : availability

12. MongoDB provides high ____________ with replica sets.

Correct Answer is : availability

13. Point out the correct statement :

Correct Answer is : Embedded documents and arrays reduce need for joins

14. Point out the correct statement :

Correct Answer is : Embedded documents and arrays reduce need for joins

15. ___________ replicas maintain a copy of the data on the primary using built-in replication.

Correct Answer is : Secondary

16. ___________ replicas maintain a copy of the data on the primary using built-in replication.

Correct Answer is : Secondary

17. MongoDB scales horizontally using _________ for load balancing purpose.

Correct Answer is : Sharding

18. MongoDB scales horizontally using _________ for load balancing purpose.

Correct Answer is : Sharding

19. Point out the wrong statement :

Correct Answer is : Each replica set member will act in the role of primary replica only

20. Point out the wrong statement :

Correct Answer is : Each replica set member will act in the role of primary replica only

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon