Explore topic-wise MCQs in Mongodb.

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

1.

By default, an application directs its ____ operations to the primary member.

A. read
B. write
C. read write
D. all of the mentioned
Answer» B. write
2.

If the current primary becomes unavailable, the replica set holds an ______ to choose which of the secondaries becomes the new primary.

A. election
B. replication
C. clasification
D. none of the mentioned
Answer» B. replication
3.

Which of the following may be non-voting or priority 0?

A. center
B. secondary
C. primary
D. none of the mentioned
Answer» C. primary
4.

A replica set can have up to ______ members but only 7 voting members.

A. 10
B. 30
C. 50
D. 70
Answer» E.
5.

_________ play a role in the elections that select a primary if the current primary is unavailable.

A. Arbiters
B. Replicators
C. Loggers
D. None of the mentioned
Answer» B. Replicators
6.

Which of the member receives all write operations?

A. center
B. secondary
C. primary
D. none of the mentioned
Answer» D. none of the mentioned
7.

How many types of members exist in replica set?

A. 1
B. 2
C. 3
D. 4
Answer» C. 3
8.

IF_THE_CURRENT_PRIMARY_BECOMES_UNAVAILABLE,_THE_REPLICA_SET_HOLDS_AN________TO_CHOOSE_WHICH_OF_THE_SECONDARIES_BECOMES_THE_NEW_PRIMARY.?$

A. election
B. replication
C. clasification
D. none of the mentioned
Answer» B. replication
9.

By_default,_an_application_directs_its______operations_to_the_primary_member.$

A. read
B. write
C. read write
D. all of the mentioned
Answer» B. write
10.

Which of the following may be non-voting or priority 0 ?

A. center
B. secondary
C. primary
D. none of the mentioned
Answer» C. primary
11.

A replica set can have up to ______ members but only 7 voting members

A. 10
B. 30
C. 50
D. 70
Answer» E.
12.

_________ play a role in the elections that select a primary if the current primary is unavailable

A. Arbiters
B. Replicators
C. Loggers
D. None of the mentioned
Answer» B. Replicators
13.

_________ replicate operations from the primary to maintain an identical data set.

A. center
B. secondary
C. primary
D. none of the mentioned
Answer» C. primary
14.

Which of the member receives all write operations ?

A. center
B. secondary
C. primary
D. none of the mentioned
Answer» D. none of the mentioned
15.

How many types of members exist in replica set ?

A. 1
B. 2
C. 3
D. 4
Answer» C. 3