Hashicorp Certified Consul Associate 002 · Free Practice Question Easy

Question 5

Which of the following is responsible for managing membership and broadcasting messages to the cluster?

  • A

    Raft (Paxos)

  • B

    Prepared Queries

  • C

    Serf (SWIM)

  • D

    Discovery chain

Reveal correct answer

Correct answer: C

Explanation

Consul uses a gossip protocol to manage membership and broadcast messages to the cluster. All of this is provided through the use of the Serf library. The gossip protocol used by Serf is based on "SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol", with a few minor adaptations.

More information can be found here.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need