1.

Which of the following sets the database profiler level?(a) systemLog.verbosity(b) operationProfiling.mode(c) operationProfiling.slowOpThresholdMs(d) none of the mentionedI have been asked this question during an online interview.The origin of the question is Run-time Database Configuration in section GridFS, BSON Datatype and Administration Concepts of MongoDB

Answer»

The correct choice is (b) operationProfiling.mode

The best EXPLANATION: The PROFILER is not ACTIVE by default because of the possible IMPACT on the profiler itself on performance.



Discussion

No Comment Found

Related InterviewSolutions