What Consul command was executed on the CLI to result in the following output?
A . consul member -list
B. consul members
C. consul cluster -list
D. consul nodes -list
Answer: B
Explanation:
The members command outputs the current list of members that a Consul agent knows about, along with their state. The state of a node can only be "alive", "left", or "failed".
Nodes in the "failed" state are still listed because Consul attempts to reconnect with failed nodes for a certain amount of time in the case that the failure is actually just a network partition. https://www.consul.io/docs/commands/members.html
Latest Consul Associate Dumps Valid Version with 171 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund