Exam4Training

In the following example, what is the name of the Consul service that this service definition will create?

In most organizations, a service will be run on multiple nodes to provide redundancy and high availability.

In the following example, what is the name of the Consul service that this service definition will create?

A . web-frontend
B. green
C. web-server-health
D. web-a

Answer: A

Explanation:

The service definition above will create a service named web-frontend, and will register a new node named web-a that will host the web-frontend service. As long as the health check passes, web-a will register as healthy and traffic destined to the web-frontend service will be directed to this node. https://www.consul.io/docs/agent/checks.html

Exit mobile version