There are two methods to bind the Consul service to a specific IP address.
What are the two ways? (select two)
A . in the command line that is executed when the Consul service is started
B. using the configuration file
C. setting the preferred static IP address on eth0 rather than eth1
D. by using an environment variable
Answer: A,B
Explanation:
Consul can be bound to a specific IP address by either using the flag in the executable statement when
Consul is started, such as the ExecStart command in a service file or the IP address can be defined in the configuration file itself.
For example, in the configuration file, you can set the bind_addr parameter to define the IP address, or you can use the flag -bind in the command line that starts Vault. Either solution will bind the server to one specific address.
Latest Consul Associate Dumps Valid Version with 171 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund