How can you update the Consul agent without any downtime to include the new health check?
A service supporting a grocery store is using Consul for service discovery. Multiple instances of the inventory service have been registered with a health check to ensure each individual instance is healthy. You've decided that you want to add a second health check to the service, so you update the...
Based on the information provided below, why can't you successfully register the service?
You are launching a new service to be registered with Consul. However, when you attempt to register the service using the following command you are getting a permission denied error. consul services register /etc/consul.d/client/app1_service.json - token=988b8fb4-357a-376d-057e-9d9fd5a170a2 Based on the information provided below, why can't you successfully register the service? ------------------------------------------------------------------------------...
A Consul snapshot saves a point-in-time snapshot of the state of the Consul servers, and includes what type of data? (select five)
A Consul snapshot saves a point-in-time snapshot of the state of the Consul servers, and includes what type of data? (select five)A . prepared queries B. sessions C. consul-template templates D. ACLs E. audit log of API requests F. KV entries G. the service catalogView AnswerAnswer: A,B,D,F,G Explanation: Consul provides...
True or False? The open-source tools Consul Template and Envconsul require a Consul cluster to operate.
True or False? The open-source tools Consul Template and Envconsul require a Consul cluster to operate.A . true B. falseView AnswerAnswer: B Explanation: Despite the name, Consul Template, nor Envconsul, does not require a Consul cluster to operate. Consul Template can retrieve secrets from Vault and manage the acquisition and...
What is the easiest way to do so?
You are using the Consul KV store and need to be able to easily list all of the keys in a given path. What is the easiest way to do so?A . consul kv read -recursive B. consul kv get *.* C. consul kv read D. consul kv get -recurseView...
True or False? The Consul UI and the API can only be accessed from a Consul server itself.
True or False? The Consul UI and the API can only be accessed from a Consul server itself.A . True B. FalseView AnswerAnswer: B Explanation: This is false. The UI and API are intended to be consumed from remote systems, such as a user's desktop or an application looking to...
Which of the following are true about running Consul in development mode? (select three)
Which of the following are true about running Consul in development mode? (select three)A . development mode allows you to easily experiment with most of Consul's functionality B. development mode is not secure C. it is acceptable to run development mode in a production environment D. development mode is easily...
There are several ways to register services in Consul. Select the valid options below: (select four)
There are several ways to register services in Consul. Select the valid options below: (select four)A . through the UI for a visual configuration B. using the API to register them with a JSON or HCL specification C. using configuration files that are loaded at node startup D. using the...
Which of the following is responsible for managing membership and broadcasting messages to the cluster?
Which of the following is responsible for managing membership and broadcasting messages to the cluster?A . Prepared Queries B. Raft (Paxos) C. Discovery chain D. Serf (SWIM)View AnswerAnswer: D Explanation: Consul uses a gossip protocol to manage membership and broadcast messages to the cluster. All of this is provided through...
What could be the reason for this?
You are verifying the gossip encryption key currently used on your Consul cluster. You notice a discrepancy between the encryption key identified in the configuration file vs. what is being reported by the consul keyring command. What could be the reason for this? ------------------------------------------------------------------- Excerpt from Configuration File: The output...