Explore topic-wise MCQs in Mongodb.

This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.

1.

The _________ message limit can result in the truncation of the audit messages.

A. oplog
B. syslog
C. evallog
D. none of the mentioned
Answer» C. evallog
2.

The _____________ option accepts either full path name or relative path name.

A. –auditPathLog
B. –logPath
C. –auditPath
D. None of the mentioned
Answer» D. None of the mentioned
3.

To view the contents of the file, pass the file to the MongoDB utility ___________

A. bsonlog
B. bsonout
C. bsondump
D. SelectIndexes
Answer» D. SelectIndexes
4.

The auditing facility can write audit events to the console, the _________ a JSON file, or a BSON file.

A. oplog
B. syslog
C. evallog
D. none of the mentioned
Answer» C. evallog
5.

THE___________MESSAGE_LIMIT_CAN_RESULT_IN_THE_TRUNCATION_OF_THE_AUDIT_MESSAGES.?$

A. oplog
B. syslog
C. evallog
D. none of the mentioned
Answer» C. evallog
6.

THE_______________OPTION_ACCEPTS_EITHER_FULL_PATH_NAME_OR_RELATIVE_PATH_NAME.?$

A. –auditPathLog
B. –logPath
C. –auditPath
D. None of the mentioned
Answer» D. None of the mentioned
7.

To view the contents of the file, pass the file to the MongoDB utility __________?

A. bsonlog
B. bsonout
C. bsondump
D. SelectIndexes
Answer» D. SelectIndexes
8.

The audit file rotates at the same time as the ________ log file.

A. Client
B. Server
C. Application
D. All of the mentioned
Answer» C. Application
9.

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» D. None of the mentioned
10.

Enabling _____________ degrades performance more than logging only the authorization failures.

A. auditAuthorizationFailure
B. auditAuthorizationSuccess
C. auditAuthorizationlog
D. none of the mentioned
Answer» C. auditAuthorizationlog
11.

_________ contains the local ip address and the port number of the running instance.

A. ts
B. local
C. remote
D. users
Answer» C. remote
12.

The auditing facility can write audit events to the console, the _________, a JSON file, or a BSON file.

A. oplog
B. syslog
C. evallog
D. none of the mentioned
Answer» C. evallog