Search Your Question...!

MONGO DB MCQ's

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

   View Answer   

   db.kill



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

   View Answer   

   db.revokeroles from user



3. Which of the following will help to identify long running queries

   View Answer   

   currentop



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

   View Answer   

   ELEMmatch



5. Which model is used when there is contains relationships between entities

   View Answer   

   embedded



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

   View Answer   

   profiler



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

   View Answer   

   limit



8. Which method is used to return information for all users associated with a database.

   View Answer   

   getusers



9. Default size of Chunk in MongoDB ___________

   View Answer   

   64mb



10. Find the correct answer from the following In the absence of Primary, replica set cannot accept this operations

   View Answer   

   WRITE



11. Which is the method to check the size of the oplog for a given replica set member.

   View Answer   

   printrepinfo



12. In MongoDB .............helps to synchronize data across multiple servers.

   View Answer   

   rep



13. Database profiler writes data in --------------

   View Answer   

   all



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

   View Answer   

   db.ismaster



15. The chunk operations performed on background is ______

   View Answer   

   split and balance



16. Which indexes uses planar geometry when returning results.

   View Answer   

   2d Indexes



17. Which of the following is a capped collection

   View Answer   

   system.profile



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

   View Answer   

   embedded



19. Which of the following command is used in Determining Indexes Sizes and details of Indexes for Product Collection

   View Answer   

   DB.PRODUCTS.STATS()



20. In MongoDB these are used to index array data

   View Answer   

   Mutikey Index



21. Which is the method used to create Index in MongoDB

   View Answer   

   db.ensureIndex()



22. Which is the Index used for muliple fields

   View Answer   

   Compound Index



23. Which of the following method is used to create Index in MongoDB

   View Answer   

   db.ensureIndex()



24. Find the command which removes the user from the current database.

   View Answer   

   db.dropuser()



25. Which is the method used to check the current length of replication lag

   View Answer   

   rs.printSlaveReplicationInfo()



26. Which is the command to Check the Size of the Oplog

   View Answer   

   rs.printReplicationInfo()/ printreplication info



27. In MongoDB identify the command which add an shard with a sharded Cluster

   View Answer   

   addShard



28. In MongoDB which is the storage measure used by master's oplog ?

   View Answer   

   MB



29. From the following find the background process that keeps chunks from growing too large.

   View Answer   

   chunking



30. The ........... is the command returns a document that provides an overview of the database’s state.

   View Answer   

   Serverstatus()



31. 

   View Answer   

   Status



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

   View Answer   

   hint()



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

   View Answer   

   text indexes



34. Find a technique of splitting up a large collection among multiple server

   View Answer   

   Sharding



35. Which is the method used in MongoDB to Grant user

   View Answer   

   db.grantRolesToUser()



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

   View Answer   

   SCAN



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

   View Answer   

   system.profile.locks



38. In MongoDB ................. represents the number of times the operation had to wait for the acquireCount.

   View Answer   

   system.profile.locks.acquireWaitCount



39. By default MongoDB Automatically logs slow queries above ..... ms to the log

   View Answer   

   100



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

   View Answer   

   explain



41. Choose the indexes to index the content stored in arrays

   View Answer   

    Multikey



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

   View Answer   

   ALL



43. Choose the operations that can be captured by database profiler ?

   View Answer   

   CURSOR



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

   View Answer   

   Systemlog



45. From the following find which will provides more even data distribution across the sharded cluster

   View Answer   

   horizontal



46. Which model is used to describe references relationships between documents

   View Answer   

   ALL



47. Mongo client will generates ....... command to initiate a new replica set.

   View Answer   

   initiate



48. In DataProfiler ........ will shows to indicate there is no index use.

   View Answer   

   executionstats.nreturned



No comments:

Post a Comment