nerdexam
MongoDB

C100DBA · Question #40

In a replicated cluster, which of the following node would only be used during an election?

The correct answer is A. arbiter. An arbiter (A) exists solely to participate in elections by casting a vote to break ties - it holds no data and cannot become a primary, making it useless for any purpose other than elections. A primary (B) is wrong because it actively handles all write operations and is the…

Replication

Question

In a replicated cluster, which of the following node would only be used during an election?

Options

  • Aarbiter
  • Bprimary
  • Chidden
  • Dsecondary

How the community answered

(32 responses)
  • A
    91% (29)
  • B
    3% (1)
  • C
    6% (2)

Explanation

An arbiter (A) exists solely to participate in elections by casting a vote to break ties - it holds no data and cannot become a primary, making it useless for any purpose other than elections. A primary (B) is wrong because it actively handles all write operations and is the result of an election, not a node reserved only for one. A secondary (D) replicates data from the primary and can serve reads, so it has ongoing operational duties beyond elections. A hidden node (C) also replicates data and can vote in elections, but its main purpose is for reporting or backups, not elections exclusively.

Memory tip: Think of the arbiter as a referee - it shows up only when there's a dispute (election) and has no role in the actual game (data operations).

Topics

#arbiter#replica set#election#replication

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice