This Quiz contains totally 10 Questions each carry 1 point for you.
1. What is true about Replication?
Replication is the process of synchronizing data across multiple servers.
Replication provides redundancy and increases data availability with multiple copies of data on different database servers.
Replication protects a database from the loss of a single server.
All the above
Correct!
Wrong!
2. Replication is not used for?
keep your data safe
Low availability of data
Disaster recovery
Read scaling
Correct!
Wrong!
3. Replica set is transparent to the application.
true
false
Can be true or false
cannot say
Correct!
Wrong!
4. A replica set is a group of ___________ instances that host the same data set.
cluster
failover
mongod
Consensus
Correct!
Wrong!
5. In a replica, one node is primary node that receives?
all write operations
all read operations
all read and write operations
None of these
Correct!
Wrong!
6. Which of the following is not a Replica Set Features?
Automatic failover
Automatic recovery
Consensus election of primary
A cluster of only one nodes
Correct!
Wrong!
7. In MongoDB client, how to initiate a new replica set?
rs.initiate()
rs.conf()
rs.status()
None of these
Correct!
Wrong!
8. To check the replica set configuration, issue the command rs.conf().
true
false
Can be true or false
cannot say
Correct!
Wrong!
9. Which of the following is correct syntax to Add Members to Replica Set?
db.add(HOST_NAME:PORT)
rs.add(HOST_NAME:PORT)
rs.isMaster(HOST_NAME:PORT)
db.isMaster(HOST_NAME:PORT)
Correct!
Wrong!
10. To check whether you are connected to primary or not, issue the command db.Master() in mongo client.
true
false
Can be true or false
cannot say
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
Mongo-DB-Quiz-10
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...