JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 42
MongoDB interview questions part 42
Back
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.
A. mongostat
B. mongod
C. keyFile
D. all of the mentioned
Show Correct Answer
Correct Answer is :
keyFile
2. _______ is /srv/mongodb, which specifies where MongoDB will store its data files
A. dbPath
B. dbPathSts
C. db.Op
D. none of the mentioned
Show Correct Answer
Correct Answer is :
dbPath
3. Point out the correct statement :
A. Config servers are not replica sets
B. Sharding requires a number of mongod instances with different configurations
C. The config servers store the cluster’s metadata, while the cluster distributes data among one or more shard servers
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
4. _____ bit builds of mongod enable journaling by default.
A. 8
B. 16
C. 32
D. 64
Show Correct Answer
Correct Answer is :
64
5. Which of the following provide acceptable performance levels for multiple mongod instances?
A. GridFS
B. SST
C. MMS
D. SSD
Show Correct Answer
Correct Answer is :
SSD
6. What is the size of Chunk by default ?
A. 64 MB
B. 64 GB
C. 64 KB
D. 32 MB
Show Correct Answer
Correct Answer is :
64 MB
7. Which of the following sets the database profiler level ?
A. systemLog.verbosity
B. operationProfiling.mode
C. operationProfiling.slowOpThresholdMs
D. none of the mentioned
Show Correct Answer
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 ?
A. systemLog.verbosity
B. operationProfiling.mode
C. operationProfiling.slowOpThresholdMs
D. none of the mentioned
Show Correct Answer
Correct Answer is :
operationProfiling.slowOpThresholdMs
9. The mongo program can evaluate JavaScript expressions using the command line ________ option.
A. –opt
B. –js
C. –eval
D. None of the mentioned
Show Correct Answer
Correct Answer is :
–eval
10. Point out the correct statement :
A. The mongostat diagnostic tool, when running with the –mode need to be able to reach all components of a cluster
B. All shards in a cluster need to be able to communicate with all other shards to facilitate chunk and balancing operations
C. Authorization does not control or affect access to this interface
D. None of the mentioned
Show Correct Answer
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.
A. .mongorc.js
B. .mongo.js
C. .mongorc.jscript
D. all of the mentioned
Show Correct Answer
Correct Answer is :
.mongorc.js
12. On _________ mongo.exe reads the .mongorc.js file from %HOME%.mongorc.js
A. Windows
B. Linux
C. Mac
D. Solaris
Show Correct Answer
Correct Answer is :
Windows
13. Point out the wrong statement :
A. REST does provide administrative access, and its accessibility represents a vulnerability in a secure environment
B. REST API does provide any support for insert, update, or remove operations
C. The net.http.RESTInterfaceEnabled configuration makes the http status interface, which is read-only by default, fully interactive
D. None of the mentioned
Show Correct Answer
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.
A. 1000
B. 2000
C. 3000
D. None of the mentioned
Show Correct Answer
Correct Answer is :
1000
15. The _______ API to MongoDB provides additional information and write access on top of the HTTP status interface.
A. Web
B. REST
C. RestFul
D. All of the mentioned
Show Correct Answer
Correct Answer is :
REST
16. ________ instances provide query routing for sharded clusters.
A. mongod
B. mongos
C. netstats
D. selectindexes
Show Correct Answer
Correct Answer is :
mongos
17. Config servers, host the _______ database that stores metadata for sharded clusters.
A. head
B. master
C. config
D. none of the mentioned
Show Correct Answer
Correct Answer is :
config
18. Config servers listen for connections on port :
A. 27011
B. 27019
C. 27107
D. None of the mentioned
Show Correct Answer
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.
A. SSD
B. TLS
C. MEAN
D. None of the mentioned
Show Correct Answer
Correct Answer is :
TLS
20. Point out the correct statement :
A. MongoDB Enterprise provides support for Kerberos authentication of MongoDB clients to mongod and mongos
B. Kerberos is an industry standard authentication protocol for large client/server systems
C. Kerberos allows MongoDB and applications to take advantage of existing authentication infrastructure and processes
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
Similar Interview Questions
Search for latest jobs
Find Jobs