Free HashiCorp Consul-Associate Exam Questions

Become HashiCorp Certified with updated Consul-Associate exam questions and correct answers

Page:    1 / 35      
Total 174 Questions | Updated On: Oct 28, 2025
Add To Cart
Question 1

You have two Consul datacenters and you want to enable federation so services in dc1 can discover services in dc2. You run the consul join wan node2.example.com.
However, servers in dc1 can not communicate with servers in dc2 and vice versa. Based on the snippets of the server configuration files can be found below, why would
this be assuming network connectivity is working as expected?
dc1 configuration
1. "datacenter": "dc1",
2. "server": true,
3. "key_file": "/etc/consul.d/cert.key",
4. "cert_file": "/etc/consul.d/client.pem",
5. "ca_file": "/etc/consul.d/chain.pem",
6. "verify_incoming": true,
7. "verify_outgoing": true,
8. "verify_server_hostname": true,
9. "ui": true,
10. "encrypt": "XIUEktl3YjG9KPJfaBU1xE69IZ0XhsNCSH423FyknJE=",
11. "bootstrap_expect": 5,
12. "enable_syslog": true,
dc2 configuration
1. "datacenter": "dc2",
2. "server": true,
3. "key_file": "/etc/consul.d/cert.key",
4. "cert_file": "/etc/consul.d/client.pem",
5. "ca_file": "/etc/consul.d/chain.pem",
6. "verify_incoming": true,
7. "verify_outgoing": true,
8. "verify_server_hostname": true,
9. "ui": true,
10. "encrypt": "LSBSOZI5+9EX/kdY8u27mX50rk1ywcprfUCoSZjnpUg=",
11. "bootstrap_expect": 5,
12. "enable_syslog": false,


Answer: A
Question 2

Scenario: You have an application that uses Consul service discovery to connect to backend services in order to process data submitted by end-users. The front-end web
service consists of 3 containers, while the backend service consists of 5 static virtual machines. All of the front-end web servers and the backend servers are registered
with Consul.
During normal operations, a user complains that the data processing is taking too long. To troubleshoot, you run a DNS query against the DNS name for the backend
service, but discover that the response only contains three of the virtual machines. Why would Consul only respond with three servers rather than all five?


Answer: C
Question 3

You need to deny communication between the customer-db service and the payment service using an intention. You open the command line and issue the following
command:
$ consul intention create customer-db payment
However, the two services can still initiate new connections even after the intention is created. What would explain this?


Answer: A
Question 4

Which of the following is responsible for managing membership and broadcasting messages to the cluster?


Answer: C
Question 5

You have a Consul cluster running production workloads in your environment. However, you've discovered that the cluster was initially deployed without gossip
encryption configured, which means that traffic is being sent in cleartext. The security team has requested this to be updated ASAP. However, you can't take an outage on
the Consul service right now, knowing the server nodes will stop communicating once you start editing the configuration files one by one.
How can you enable gossip encryption on the existing cluster without affecting the services it is currently providing the business?


Answer: B
Page:    1 / 35      
Total 174 Questions | Updated On: Oct 28, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.