Explanation:If an index exists for the field, then MongoDB matches the regular expression against the values in the index, which can be faster than a collection scan. 6. Use the ____________ option to enable auditing and specify where to output the audit events.
A. –auditLocation
B. –auditOutput
C. –auditDestination
D. None of the mentioned
Answer:A
Explanation:If an index exists for the field, then MongoDB matches the regular expression against the values in the index, which can be faster than a collection scan. 6. Use the ____________ option to enable auditing and specify where to output the audit events.
A. –auditLocation B. –auditOutput C. –auditDestination D. None of the mentioned
Explanation:For sharded clusters, if you enable auditing on mongos instances, you must enable auditing on all mongod instances in the cluster, i.e. shards and config servers. 7. The audit file rotates at the same time as the ________ log file.