JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Firm
MongoDB interview questions part 29
MongoDB interview questions part 29
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Point out the correct statement :
A. In MongoDB 3.0, cursor.explain() returns the indexOnly field to indicate whether the index covered a query
B. When an index covers a query, MongoDB can both match the query conditions and return the results using only the index keys
C. For read-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among mongod instances
D. All of the mentioned
Show Correct Answer
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.
A. admin.system.role
B. admin.system.roles
C. admin.system.roleasign
D. all of the mentioned
Show Correct Answer
Correct Answer is :
admin.system.roles
3. The _________ field provides the amount of resident memory in use.
A. mem.resident
B. memory.resident
C. mem.resident
D. all of the mentioned
Show Correct Answer
Correct Answer is :
mem.resident
4. Point out the correct statement :
A. MongoDB distributions are currently available for Mac OS X, Linux, Windows Server 2012, Windows Server 2008 R2 64bit, Windows 7 (64 bit), Windows Vista, and Solaris
B. The MongoDB distribution for Solaris include support for the WiredTiger storage engine
C. mongod will not start if dbPath contains data files created by a storage engine
D. None of the mentioned
Show Correct Answer
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().
A. read
B. update
C. delete
D. all of the mentioned
Show Correct Answer
Correct Answer is :
delete
6. MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____
A. rs.config()
B. rs.conf()
C. rs.confstats()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
rs.conf()
7. Which of the following represents Shared lock ?
A. R
B. w
C. r
D. W
Show Correct Answer
Correct Answer is :
R
8. On Linux, use the ______ command to check if disk I/O is a bottleneck for your database.
A. stat
B. iostats
C. iostat
D. none of the mentioned
Show Correct Answer
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?
A. systemLog.verbosity
B. operationProfiling.mode
C. operationProfiling.slowOpThresholdMs
D. none of the mentioned
Show Correct Answer
Correct Answer is :
operationProfiling.slowOpThresholdMs
10. ____________ does not dump the content of the local database.
A. mongoshell
B. mongodump
C. mongolocaldump
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mongodump
11. Point out the correct statement :
A. The data format used by mongodump from version 2.2 or later is incompatible with earlier versions of mongod
B. The replica role confers no additional access, in keeping with the policy of least privilege
C. To backup a given database’s users, you must have the replace action on the admin database’s admin.system.users collection
D. All of the mentioned
Show Correct Answer
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.
A. restore
B. backup
C. replication
D. all of the mentioned
Show Correct Answer
Correct Answer is :
backup
13. ___________ is a routing service for MongoDB shard configurations that processes queries from the application layer.
A. mongod
B. mongos
C. mongocon
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mongos
14. Point out the wrong statement :
A. To backup a given database, you must have read access on the database
B. The backup role confers no additional access, in keeping with the policy of least privilege
C. mongodumplocal overwrites output files if they exist in the backup data folder
D. All of the mentioned
Show Correct Answer
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.
A. syspath
B. syslog
C. logpath
D. syspathlog
Show Correct Answer
Correct Answer is :
logpath
16. ___________ is the primary daemon process for the MongoDB system.
A. mongos
B. mongod
C. logpath
D. syspathlog
Show Correct Answer
Correct Answer is :
mongod
17. __________ is a diagnostic tool for inspecting BSON files
A. jsondump
B. bsondump
C. bsondumpjson
D. all of the mentioned
Show Correct Answer
Correct Answer is :
bsondump
18. Which of the following is a utility to check disk I/O performance independently of MongoDB?
A. mongoperf
B. mongoio
C. mongod
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mongoperf
19. ____________ utility makes it possible to manipulate files stored in your MongoDB instance in GridFS objects from the command line.
A. mongoperf
B. mongoio
C. mongod
D. mongofiles
Show Correct Answer
Correct Answer is :
mongofiles
20. ___________ captures and returns the counts of database operations by type.
A. mongostat
B. mongod
C. mms
D. all of the mentioned
Show Correct Answer
Correct Answer is :
mongostat
Similar Interview Questions
Search for latest jobs
Find Jobs