Which of the following is used to display the replica set configuration object ?
A. rs.config
B. rs.conf
C. rs.confrepl
D. None of the mentioned
Answer:A
Which of the following is used to display the replica set configuration object ?
A. rs.config B. rs.conf C. rs.confrepl D. None of the mentioned
Explanation:rs.conf() returns a document that contains the current replica set configuration. 10. MongoDB supports the execution of JavaScript code for certain server-side operations like :