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