Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DBA · Question 323 · Single choice
42. Consider the following set of commands in the mongo shell:
use admin
db.setLogLevel(5, "index")
Which of the following statements is true after the logging level is changed by the above command?
Choose the best answer:
Answer options
A.
Only indexes created in the admin database will be logged
B.
Debug messages will be indexed in the log file
C.
Queries taking over 5 milliseconds will be logged with the index the used
D.
Index management commands will be logged with debug severity
This question appears in 5 bank records. Public pages combine identical prompts and options. Selected questions display the highest-confidence record; the others show a short preview. Paper-based learning preserves each record's answer, explanation, and confidence.