1.

If you use the localhost exception when deploying a new MongoDB system, the first user you create must be in the ________ database.(a) head(b) local(c) admin(d) all of the mentionedThe question was posed to me in an interview for internship.This intriguing question comes from Access Control topic in portion Production Checklist, Security Concepts and Network Security of MongoDB

Answer» CORRECT answer is (C) admin

Best explanation: In the case of a sharded cluster, the localhost EXCEPTION applies to each shard individually as WELL as to the cluster as a whole.


Discussion

No Comment Found

Related InterviewSolutions