All India

Mongo DB Q&A

Which is the method used to terminate certain operations after examination db.kill

Which is the method in MongoDB removes a one or more roles from a user on the current database db.revokeroles from user

Which can be used to check the replica set configuration? rs.status()

Which of the following will help to identify long-running queries currentop

In MongoDB …….. is the operator limits the contents of an array field from the query ELEMmatch

Which model is used when there is contains relationships between entities embedded

Which of the following in MongoDB is a system that can help identify inefficient queries and operations? profiler

Which of the following in MongoDB can limit the size of the result document for a query operation. limit

Which method is used to return information for all users associated with a database? getusers

Default size of Chunk in MongoDB _ 64mb

Find the correct answer from the following In the absence of Primary, replica set cannot accept these operations WRITE

Which is the method to check the size of the oplog for a given replica set member? printrepinfo

In MongoDB ………….helps to synchronize data across multiple servers. rep

Database profiler writes data in ————– all

db.isMaster() can be used to check the connected node is primary or not db.ismaster

The chunk operations performed on background is __ split and balance

Which indexes uses planar geometry when returning results. 2d Indexes

Which of the following is a capped collection system.profile

Choose the data model which allow applications to store related pieces of information in the same database record embedded

Which of the following command is used in Determining Indexes Sizes and details of Indexes for Product Collection DB.PRODUCTS.STATS()

In MongoDB, these are used to index array data Mutikey Index

Which is the method used to create Index in MongoDB
db.ensureIndex()

Which is the Index used for multiple fields Compound Index

Which of the following method is used to create Index in MongoDB db.ensureIndex()

Find the command which removes the user from the current database. db.dropuser()

Which is the method used to check the current length of replication lag rs.printSlaveReplicationInfo()

Which is the command to Check the Size of the Oplog rs.printReplicationInfo()/ printreplication info

In MongoDB identify the command which add a shard with a sharded Cluster addShard

In MongoDB which is the storage measure used by master’s oplog ? MB
From the following find the background process that keeps chunks from growing too large. chunking

The ……….. is the command returns a document that provides an overview of the database’s state. Serverstatus()

Find the command which forces MongoDB to use a particular index for a db.collection.find() operation hint()

Identify the index type that supports searching for string content in a collection. text indexes

Find a technique of splitting up a large collection among multiple servers Sharding

Which is the method used in MongoDB to Grant user db.grantRolesToUser()

In MongoDB explain() option shows the number of documents looked for a query SCAN

Which of the following in MongoDB provides information for various lock types and lock modes held during the operation. system.profile.locks

In MongoDB …………….. represents the number of times the operation had to wait for the acquireCount. system.profile.locks.acquireWaitCount

By default, MongoDB Automatically logs slow queries above ….. ms to the log 100

Which will be the command to return information on query plans and execution statistics of the query plans explain

Choose the indexes to index the content stored in arrays Multikey

Which of the following is supported for backing up and restoring of MongoDB deployments ALL

Choose the operations that can be captured by database profiler? CURSOR

Which of the following will controls the amount of logging output that mongod write to the log. Systemlog

From the following find which will provide more even data distribution across the sharded cluster horizontal

Which model is used to describe references relationships between documents ALL

Mongo client will generate……. command to initiate a new replica set. initiate

The ……….. is the command returns a document that provides an overview of the database’s state. hit()

In DataProfiler …….. will shows to indicate there is no index use. executionstats.nreturned

Leave a Reply