MongoDB interview questions part 29

MongoDB interview questions part 29

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 : When an index covers a query, MongoDB can both match the query conditions and return the results using only the index keys

2. The ___________ collection stores custom roles that administrators create and assign to users to provide access to specific resources.

Correct Answer is : admin.system.roles

3. The _________ field provides the amount of resident memory in use.

Correct Answer is : mem.resident

4. Point out the correct statement :

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

5. When the TTL thread is active, you will see _______ operations in the output of db.currentOp().

Correct Answer is : delete

6. MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____

Correct Answer is : rs.conf()

7. Which of the following represents Shared lock ?

Correct Answer is : R

8. On Linux, use the ______ command to check if disk I/O is a bottleneck for your database.

Correct Answer is : iostat

9. Which of the following document configures the threshold which determines whether a query is “slow” for the purpose of the logging system?

Correct Answer is : operationProfiling.slowOpThresholdMs

10. ____________ does not dump the content of the local database.

Correct Answer is : mongodump

11. Point out the correct statement :

Correct Answer is : The data format used by mongodump from version 2.2 or later is incompatible with earlier versions of mongod

12. To backup all the databases in a cluster via mongodump, you should have the ___________ role.

Correct Answer is : backup

13. ___________ is a routing service for MongoDB shard configurations that processes queries from the application layer.

Correct Answer is : mongos

14. Point out the wrong statement :

Correct Answer is : mongodumplocal overwrites output files if they exist in the backup data folder

15. __________ sends all diagnostic logging information to a log file instead of to standard output or to the host’s syslog system.

Correct Answer is : logpath

16. ___________ is the primary daemon process for the MongoDB system.

Correct Answer is : mongod

17. __________ is a diagnostic tool for inspecting BSON files

Correct Answer is : bsondump

18. Which of the following is a utility to check disk I/O performance independently of MongoDB?

Correct Answer is : mongoperf

19. ____________ utility makes it possible to manipulate files stored in your MongoDB instance in GridFS objects from the command line.

Correct Answer is : mongofiles

20. ___________ captures and returns the counts of database operations by type.

Correct Answer is : mongostat

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon