Question 51
What is data modeling in MongoDB world?
Question 52
You have the following replica set configuration: conf = { "_id": "replset", "version": 1, "protocolVersion": 1, "members": [ { "_id": 0, "host": "192.168.120.24:27017", "priority": 2, "votes": 1 }, { "_id": 1, "host": "192.168.120.24:27018", "priority": 1, "votes": 1 }, { "_id": 1, "host": "192.168.120.24:27019", "priority": 1, "votes": 1 } ] } Select all true statements about this configuration.
Question 53
Suppose you want to join two collections in the same database. What aggregation stage do you need to use?
Question 54
You have the following configuration file: storage: dbPath: /var/mongodb/db net: bindIp: localhost port: 27000 security: authorization: enabled You have to update this file such that: * mongod sends logs to /var/mongodb/logs/mongod.log * mongod is forked and run as a daemon Select correct Answer.
Question 55
Which cursor method should you use to specify the maximum number of documents returned?
