InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Find the command that forces MongoDB to use a particular index for a db.collection.find() operation. |
|
Answer» Find the COMMAND that forces MongoDB to USE a particular index for a db.collection.find() operation. |
|
| 2. |
Find a technique of splitting up a large collection among multiple servers. |
|
Answer» FIND a technique of splitting up a LARGE collection AMONG multiple servers. Choose the correct ANSWER from below list (1)Indexes (2)SHARDING (3)Replication Answer:-(2)Sharding |
|
| 3. |
Default size of Chunk in MongoDB is ___________. |
|
Answer» Default size of Chunk in MONGODB is ___________. |
|
| 4. |
In MongoDB, which is the storage measure used by masters oplog? |
|
Answer» In MongoDB, which is the storage MEASURE used by masters oplog? |
|
| 5. |
In MongoDB, _________ helps to synchronize data across multiple servers. |
|
Answer» In MONGODB, _________ helps to SYNCHRONIZE data ACROSS MULTIPLE servers. |
|
| 6. |
In MongoDB, identify the command that adds an shard with a sharded Cluster. |
|
Answer» In MONGODB, IDENTIFY the command that adds an shard with a SHARDED Cluster. |
|
| 7. |
Mongo client will generate _____ command to initiate a new replica set. |
|
Answer» Mongo client will generate _____ command to initiate a new replica set. |
|
| 8. |
Which is the command to Check the Size of the Oplog? |
|
Answer» Which is the command to Check the Size of the Oplog? |
|
| 9. |
Which of the following will control the amount of logging output that mongodb writes to the log? |
|
Answer» Which of the FOLLOWING will CONTROL the amount of LOGGING OUTPUT that mongodb writes to the log? |
|
| 10. |
Choose the operations that can be captured by database profiler? |
|
Answer» Choose the operations that can be CAPTURED by DATABASE profiler? |
|
| 11. |
Which model is used when there contains relationships between entities? |
|
Answer» Which model is USED when there contains relationships between entities? |
|
| 12. |
The ____________ command returns a document that provides an overview of the databases state. |
|
Answer» The ____________ command returns a document that provides an overview of the DATABASES state. |
|
| 13. |
Which will be the command to return information on query plans and execution statistics of the query plans? |
|
Answer» Which will be the command to return information on QUERY PLANS and EXECUTION statistics of the query plans? |
|
| 14. |
Which of the following can be used to check the status of replica set? |
|
Answer» Which of the following can be used to check the status of replica set? |
|
| 15. |
By default, MongoDB automatically logs slow queries above _____ ms to the log. |
|
Answer» By default, MONGODB AUTOMATICALLY logs slow queries above _____ MS to the log. |
|
| 16. |
Which is the method used to check the current length of replication lag? |
|
Answer» Which is the method used to check the current length of replication lag? |
|
| 17. |
______ can be used to check if the connected node is primary or not? |
|
Answer» ______ can be used to CHECK if the connected NODE is primary or not? |
|
| 18. |
In MongoDB, _________ is the operator limits the contents of an array field from the query. |
|
Answer» In MongoDB, _________ is the operator LIMITS the contents of an ARRAY FIELD from the query. |
|
| 19. |
Which is the method used in MongoDB to Grant user? |
|
Answer» Which is the METHOD USED in MongoDB to Grant user? |
|
| 20. |
Choose the indexes to index the content stored in arrays. |
|
Answer» CHOOSE the indexes to index the CONTENT stored in arrays. Choose the correct ANSWER from below list (1)ARRAY Index (2)Singlekey indexes (3)MULTIKEY indexes (4)Compoundkey indexes Answer:-(3)Multikey indexes |
|
| 21. |
Which method is used to return information for all users associated with a database? |
|
Answer» Which METHOD is used to return information for all users ASSOCIATED with a DATABASE? |
|
| 22. |
Choose the data model which allows applications to store related pieces of information in the same database record. |
|
Answer» CHOOSE the data model which allows APPLICATIONS to store related pieces of information in the same database record. Choose the correct ANSWER from below list (1)External Model (2)All the Options (3)Embedded Model (4)Reference Model Answer:-(3)Embedded Model |
|