What are two ways that a client or service can programmatically discover healthy nodes for a service registered in a local Consul cluster? (select two)

What are two ways that a client or service can programmatically discover healthy nodes for a service registered in a local Consul cluster? (select two)
A . User Interface (UI)
B. HTTP API
C. federation
D. DNS

Answer: B,D

Explanation:

Applications can discover healthy nodes of a particular service by accessing the DNS name of the service (e.g., website.service.consul) or by making the request via Consul’s HTTP API. https://learn.hashicorp.com/consul/getting-started/services#query-services

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments