MongoDB interview questions part 42

MongoDB interview questions part 42

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

Total Questions: 20

1. Setting _______ enables authentication and specifies a key file for the replica set member use to when authenticating to each other.

Correct Answer is : keyFile

2. _______ is /srv/mongodb, which specifies where MongoDB will store its data files

Correct Answer is : dbPath

3. Point out the correct statement :

Correct Answer is : None of the mentioned

4. _____ bit builds of mongod enable journaling by default.

Correct Answer is : 64

5. Which of the following provide acceptable performance levels for multiple mongod instances?

Correct Answer is : SSD

6. What is the size of Chunk by default ?

Correct Answer is : 64 MB

7. Which of the following sets the database profiler level ?

Correct Answer is : operationProfiling.mode

8. 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

9. The mongo program can evaluate JavaScript expressions using the command line ________ option.

Correct Answer is : –eval

10. Point out the correct statement :

Correct Answer is : All shards in a cluster need to be able to communicate with all other shards to facilitate chunk and balancing operations

11. If a .mongorc.js file exists, the mongo shell will evaluate a __________ file before starting.

Correct Answer is : .mongorc.js

12. On _________ mongo.exe reads the .mongorc.js file from %HOME%.mongorc.js

Correct Answer is : Windows

13. Point out the wrong statement :

Correct Answer is : REST API does provide any support for insert, update, or remove operations

14. The HTTP interface is always available on the port numbered _________ greater than the primary mongod port.

Correct Answer is : 1000

15. The _______ API to MongoDB provides additional information and write access on top of the HTTP status interface.

Correct Answer is : REST

16. ________ instances provide query routing for sharded clusters.

Correct Answer is : mongos

17. Config servers, host the _______ database that stores metadata for sharded clusters.

Correct Answer is : config

18. Config servers listen for connections on port :

Correct Answer is : 27019

19. Use __________ to encrypt communication between mongod and mongos components of a MongoDB client as well as between all applications and MongoDB.

Correct Answer is : TLS

20. Point out the correct statement :

Correct Answer is : All of the mentioned

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon