Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DBA · Question 348 · Single choice
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.
Debug messages will be indexed in the log file
B.
Queries that require index access will be logged
C.
Only indexes created in the admin database will be logged
D.
Index management commands will be logged with debug severity
E.
Queries taking over 5 milliseconds will be logged with the index the used
This question appears in 1 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.