Question: Which method shows you whether MongoDB uses any indexes when running a query, and how the indexes are used?

  1. detailQueryExecution()
  2. showPlan()
  3. explain()
  4. describe()

Answer: The correct answer of the above question is Option C:explain()