Which command adds members to the replica set from MongoDB shell?
rs.add(“<hostname>”) replicaSetAdd(“<hostname>”) rs.insert(“<hostname>”) replica.add(“<hostname>”)
Multiple choice questions & answers (MCQs),
rs.add(“<hostname>”) replicaSetAdd(“<hostname>”) rs.insert(“<hostname>”) replica.add(“<hostname>”)