Explore topic-wise MCQs in Mongodb.

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

1.

In a sharded cluster _______ do not interact with hidden members.

A. mongod
B. mongos
C. mongostore
D. all of the mentioned
Answer» C. mongostore
2.

The db.________ method does not display hidden members.

A. isPrima ry()
B. isMaster()
C. Master()
D. none of the mentioned
Answer» C. Master()
3.

A ______ member maintains a copy of the primary’s data set but is invisible to client applications.

A. primary
B. delayed
C. hidden
D. none of the mentioned
Answer» D. none of the mentioned
4.

A second data center hosts one priority 0 member that cannot become ___________

A. primary
B. write
C. view
D. Secondary
Answer» B. write
5.

THE_DB._________METHOD_DOES_NOT_DISPLAY_HIDDEN_MEMBERS.?$

A. isPrima ry()
B. isMaster()
C. Master()
D. none of the mentioned
Answer» C. Master()
6.

In_a_sharded_cluster,_________do_not_interact_with_hidden_members.$

A. mongod
B. mongos
C. mongostore
D. all of the mentioned
Answer» C. mongostore
7.

A ______ member maintains a copy of the primary’s data set but is invisible to client applications.$

A. primary
B. delayed
C. hidden
D. none of the mentioned
Answer» D. none of the mentioned
8.

A second data center hosts one priority 0 member that cannot become :

A. primary
B. write
C. view
D. Secondary
Answer» B. write
9.

A priority __ member is a secondary that cannot become primary.

A. 0
B. 1
C. 2
D. None of the mentioned
Answer» B. 1
10.

A rollback reverts _______ operations on a former primary when the member rejoins the replica set after a failover.

A. read
B. write
C. view
D. secondary
Answer» C. view
11.

The __________ of a replica set affects the outcome of failover situations.

A. deployment
B. architecture
C. structure
D. all of the mentioned
Answer» B. architecture