1.

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 mentionedThis question was posed to me in semester exam.This interesting question is from Security Checklist topic in section Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

The CORRECT answer is (b) rs.conf

The best EXPLANATION: rs.conf() RETURNS a document that contains the current replica SET configuration.



Discussion

No Comment Found

Related InterviewSolutions