1.

If a .mongorc.js file exists, the mongo shell will evaluate a __________ file before starting.(a) .mongorc.js(b) .mongo.js(c) .mongorc.jscript(d) all of the mentionedThis question was addressed to me by my school teacher while I was bunking the class.The origin of the question is Security and MongoDB API Interfaces topic in division Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

The CORRECT OPTION is (a) .mongorc.js

For explanation: You can DISABLE this behavior by PASSING the MONGO –norc option.



Discussion

No Comment Found

Related InterviewSolutions