Hashicorp Certified Consul Associate 002 · Free Practice Question Easy
Question 8
True or False? You want to restore a Consul from a snapshot. On a five-node Consul cluster, the consul snapshot restore filename.snap command must be run on each individual node before starting the Consul service.
-
A
false
-
B
true
Reveal correct answer
Correct answer: A
Explanation
Running the restore process should be straightforward. However, there are a couple of actions you can take to ensure the process goes smoothly. First, make sure the datacenter you are restoring is stable and has a leader. You can see this using consul operator raft list-peers and checking server logs and telemetry for signs of leader elections or network issues.
You will only need to run the process once, on the leader. The Raft consensus protocol ensures that all servers restore the same state.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
