Courseiva

Consul 1.15 · domain

troubleshooting

Practise HashiCorp Certified: Consul Associate (Consul 1.15) (Consul 1.15) troubleshooting practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

194 questions53 easy82 medium59 hard

Focused practice

Practice troubleshooting questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about troubleshooting

troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common troubleshooting exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Question index

All troubleshooting questions (194)

Click any question to see the full explanation, or start a practice session above.

1

Which THREE items are required to configure an upstream service?

Medium
2

What is the default value for the Consul KV flags field if not provided during a write?

Easy
3

Which Consul agent configuration parameter defines the KV store file location when running locally?

Easy
4

You need to perform a write operation to the Consul KV store that only succeeds if the current ModifyIndex of the key is zero. Which parameter should you include in your API call?

Medium
5

You are configuring a service check that needs to be ignored if the node is in maintenance mode. What is the correct approach?

Hard
6

Which interface would you use to register a service dynamically using standard tools like 'curl'?

Easy
7

Which TWO of the following are benefits of using Consul Connect?

Easy
8

Which THREE of the following represent potential bottlenecks for Consul KV performance?

Hard
9

You are monitoring service health using Consul and want to ensure that a service is automatically removed from the catalog if it remains in a 'critical' state for more than 24 hours. Which configuration key supports this?

Hard
10

You need to register a health check that triggers an alert when memory usage is high. Which type of check is most appropriate?

Medium
11

Which TWO of the following are consequences of a primary datacenter outage in a federated environment?

Medium
12

You need to register a service that runs on a dynamic port. How should the service definition be configured to allow Consul to detect the port?

Hard
13

A cross-datacenter service discovery request is failing. You observe the local datacenter can resolve the service via DNS, but the remote datacenter cannot. Which configuration parameter must be checked?

Hard
14

You are troubleshooting a partition between two datacenters. The WAN gossip shows high latency. Which Consul CLI tool provides the best insight into the WAN gossip state?

Hard
15

You observe that a session lock is being released unexpectedly. What is the most likely cause?

Hard
16

If you need to perform an HTTP check over HTTPS, what configuration option is required to handle self-signed certificates?

Medium
17

Which command displays all active intentions in the Consul mesh?

Medium
18

Which THREE tasks are performed by the Consul agent for Connect?

Medium
19

You need to ensure a service instance is removed from the catalog immediately after the service process terminates. Which setting helps?

Medium
20

What is the purpose of the 'Behavior' field when creating a Consul session?

Medium
21

Which TWO are common use cases for Consul Connect?

Easy
22

When configuring ACL replication, where must the 'acl_replication_token' be defined?

Medium
23

A service definition includes a 'meta' block. What is the intended use of this block?

Medium
24

You are troubleshooting a connection error where the sidecar proxy cannot reach the upstream service. Which log file provides the most detail regarding Envoy's connectivity issues?

Hard
25

Which status indicates that a health check is successfully passing according to Consul?

Easy
26

What is the function of the 'consul intention check' command?

Easy
27

Which THREE of the following are valid check types in Consul?

Easy
28

How does Consul handle service discovery in multi-datacenter environments when a service is requested by name?

Medium
29

Which service definition field is used to link a sidecar proxy to its parent service?

Easy
30

How do you enable WAN federation between two Consul datacenters that do not share a network?

Easy
31

Which HTTP method is used to create or update a key in the Consul KV store?

Easy
32

You need to verify if a node has successfully joined the cluster for service discovery. Which tool confirms this?

Medium
33

Which THREE of the following are valid ways to register a service in Consul?

Hard
34

You have configured a Script health check that executes a shell command. For security reasons, you want to restrict which scripts the Consul agent can run. What configuration setting must be set to 'false' in the agent configuration to disable script checks entirely?

Hard
35

When configuring a Service-specific health check, what is the impact of setting the 'expose' field to true?

Hard
36

What is the role of a Consul server in a non-primary datacenter regarding ACLs?

Medium
37

What is the recommended approach for running health checks on a service that is part of a non-containerized, multi-process architecture?

Medium
38

If a service has multiple health checks associated with it, when is the service itself considered 'critical'?

Hard
39

What does the 'kind' field in a service definition specify for a Consul Connect service?

Easy
40

Which TWO of the following are features of Consul Connect native integration?

Hard
41

Which THREE of the following fields are returned in a typical Consul KV API GET response?

Medium
42

Which THREE factors influence the mTLS handshake in a Consul Connect mesh?

Hard
43

Which THREE network considerations are vital for Consul WAN federation?

Hard
44

Which Consul feature allows you to perform health checks against a service that does not have an exposed HTTP endpoint but resides on the same machine?

Medium
45

You are configuring a Consul Watch to trigger a script whenever a specific KV key changes. Which type of watch should you define in your configuration file?

Medium
46

Which command-line interface command is used to set a value in the Consul KV store?

Easy
47

Which of the following is a key feature of Consul Connect's intentions?

Easy
48

What is the impact of setting 'enable_tag_override' to true in a service definition?

Hard
49

When using Consul DNS for a service, what happens if no instances are healthy?

Hard
50

You need to ensure that a service is only discoverable via DNS if it passes its health checks. Which configuration setting in the service definition achieves this?

Medium
51

Which THREE of the following are true about Consul KV keys?

Easy
52

Which TWO of the following are true regarding the Consul Service Catalog?

Medium
53

You want to delete a key and all its children in the KV store using the CLI. Which flag should you use?

Medium
54

What is the primary benefit of using a Mesh Gateway in a Consul Connect architecture?

Hard
55

Which Consul API endpoint is used to create a new session that can be used for locking KV keys?

Medium
56

Which THREE settings are part of the 'proxy' configuration block?

Medium
57

In a multi-datacenter environment, what happens if the 'primary_datacenter' server cluster becomes unavailable?

Medium
58

When a service check transitions to 'critical', what does Consul do with the service's DNS entry?

Hard
59

When using the Consul KV store, what is the maximum size allowed for a single value in a key?

Easy
60

When providing a session TTL, what is the minimum duration allowed?

Medium
61

To verify if two datacenters are connected via WAN, which command shows the remote datacenter's server nodes?

Easy
62

Which TWO of the following are standard DNS records returned by Consul for service discovery?

Easy
63

You need to perform a canary deployment for a service. What Consul feature should you use?

Hard
64

What information does the Consul HTTP API return for a health check? (Select TWO)

Easy
65

Which of these are required fields for a TCP health check definition? (Select THREE)

Hard
66

What is true about Consul health checks? (Select TWO)

Easy
67

Which TWO of the following are valid ways to configure Consul Connect?

Easy
68

When multiple agents are in a cluster, how does Consul ensure that service discovery information is consistent across all nodes?

Medium
69

What happens if you try to write to a key that is currently locked by a session you do not own?

Easy
70

What is the benefit of using a Mesh Gateway in a multi-datacenter deployment with overlapping IP space?

Medium
71

Which HTTP status code range does Consul interpret as a passing state for an HTTP health check?

Easy
72

An operator observes that a service is failing its HTTP health check because the application takes 15 seconds to start up, exceeding the default timeout. Which parameter should be adjusted in the service definition to prevent premature failure?

Medium
73

When troubleshooting a failing health check, which tools are recommended? (Select TWO)

Medium
74

When configuring mTLS in Consul Connect, how are certificates distributed to the sidecar proxies?

Hard
75

You need to ensure that a read operation from the KV store is strongly consistent. Which consistency mode should you specify?

Hard
76

Which states can a health check report? (Select THREE)

Easy
77

You want to ensure that specific services in a remote datacenter are only accessible to certain local services. How can you achieve this?

Medium
78

A service in datacenter A needs to call a service in datacenter B. If 'prepared_queries' are not used, how does the service discovery query look?

Hard
79

You have a service that needs to talk to a service in a different datacenter. What configuration is required?

Medium
80

Which flag can be used to pass arbitrary metadata to a KV entry?

Easy
81

What is the default port used for WAN gossip between Consul servers?

Medium
82

Which THREE of the following are standard Consul KV CLI subcommands?

Easy
83

When configuring an ACL policy for cross-datacenter access, what policy rule is necessary to read service information from a remote datacenter?

Hard
84

Which TWO of the following are valid ways to trigger a KV watch?

Medium
85

Which TWO of the following are prerequisites for successful WAN federation?

Medium
86

If you are using SPIRE for certificate management, how does this interact with Consul Connect?

Hard
87

Which TWO of the following statements are true about the 'passing' parameter in DNS queries?

Hard
88

Which THREE configuration items are part of a complete WAN gossip setup?

Hard
89

What happens to the gossip protocol if the 'encrypt' key is mismatched between two datacenters trying to join via WAN?

Easy
90

Which TWO of the following are valid ways to monitor Consul Connect performance?

Hard
91

When joining a new datacenter to an existing WAN pool, what is the best practice for server versions?

Easy
92

Which THREE of the following fields are typically included in a service metadata (meta) block?

Medium
93

An administrator needs to query service information. Which DNS record type is commonly used by Consul to return service addresses?

Easy
94

A service has a TTL check configured with a 30-second TTL. If the application crashes and stops sending heartbeats, when will the service status change to 'critical'?

Medium
95

Which TWO of the following can be used to filter services during a DNS query?

Medium
96

Which TWO of the following are valid ways to troubleshoot inter-datacenter communication issues?

Medium
97

What is the purpose of the 'service-tag' in a Consul service definition?

Easy
98

A service 'api' is configured with mTLS. You want to rotate the CA root certificate without interrupting existing connections. What is the recommended strategy?

Hard
99

Which TWO of the following are true regarding Consul KV watches?

Hard
100

When defining a TCP health check, what is the primary indicator that the check is 'passing'?

Easy
101

What is the function of the 'retry_join_wan' configuration?

Hard
102

You are using a Consul Watch to monitor KV changes. What does the 'handler' field specify?

Medium
103

What is the purpose of the 'datacenter' field in the Consul agent configuration?

Medium
104

When a health check is failing, which Consul API endpoint would you call to investigate the specific error message provided by the check?

Hard
105

Which THREE items are required when configuring ACL replication in Consul?

Hard
106

Which component acts as the default sidecar proxy for Consul Connect?

Easy
107

Which TWO of the following describe a Consul 'service definition'?

Easy
108

What is the purpose of the 'upstreams' block in a service definition?

Medium
109

You are joining two Consul datacenters via WAN gossip. Which command must be executed on a Consul server in the secondary datacenter to initiate the federation?

Easy
110

When a session is associated with a lock, what happens to the lock if the session is deleted?

Medium
111

Which TWO of the following are true about the 'cas' parameter in KV writes?

Medium
112

Which THREE items are included in the metadata shared via WAN gossip?

Hard
113

A service is intermittently failing to resolve via DNS because it has multiple health checks, some of which are 'warning'. How do you ensure it is only returned when all checks are 'passing'?

Hard
114

What happens to a session if the associated node is marked as 'failed' by the Consul health check?

Hard
115

Which THREE features are critical for maintaining ACL consistency across datacenters?

Medium
116

Which actions can you perform on a TTL check? (Select TWO)

Medium
117

Which THREE of the following are valid ways to categorize services in Consul?

Medium
118

When using 'Consul Connect native' integration, how does the application handle mTLS?

Medium
119

You have enabled ACL replication between a primary and secondary datacenter. What is the effect of changing an ACL policy in the primary datacenter?

Medium
120

You observe a 'warning' status for a service. What is the most common reason for this?

Hard
121

What command displays the currently registered services in the local agent?

Easy
122

You want to perform a blocking query on a KV key to watch for updates. Which parameter must you provide in your request based on the last observed index?

Medium
123

You have a service that requires specific routing logic based on the environment. How can you distinguish between 'production' and 'staging' instances of the same service name using metadata?

Medium
124

What is the primary role of the Consul Connect 'upstream' configuration?

Easy
125

When using Consul KV for distributed locking, why is it recommended to use a session?

Hard
126

How does Consul handle service discovery when using the 'prepared query' feature?

Hard
127

What is the primary difference between a 'script' check and an 'http' check in terms of how they are processed by the Consul agent?

Hard
128

Which TWO statements are true regarding Consul Mesh Gateways?

Hard
129

What is the correct way to specify a local bind port for an upstream service?

Medium
130

Which of the following are true regarding TTL checks? (Select TWO)

Hard
131

Where can you define health checks in Consul? (Select THREE)

Hard
132

An application is using Consul KV to store configuration. You notice that the KV store is becoming large. What is the most efficient way to retrieve only the keys under the prefix "service/web/"?

Easy
133

If a KV operation returns a 403 Forbidden status, what is the most common cause?

Hard
134

How do you enable mTLS globally in a Consul datacenter?

Medium
135

Which file format is used for Consul configuration?

Medium
136

How are intentions applied to services in different partitions or namespaces?

Medium
137

Which TWO of the following actions occur when a node fails in a Consul cluster?

Hard
138

Which TWO of the following are true about Consul datacenters?

Medium
139

You need to deny all traffic between 'service-a' and 'service-b' using intentions. What is the most efficient way to achieve this?

Medium
140

You have implemented a leader election mechanism using Consul KV sessions. The session has a TTL of 15 seconds. If the application crashes, how long will it take for the lock to be automatically released?

Hard
141

Which THREE factors influence cross-datacenter service discovery resolution?

Medium
142

If a Consul agent is configured with 'disable_remote_exec = true', how does this affect the KV store?

Hard
143

You want to run a shell command as a health check. Which field in the service definition specifies the command to execute?

Medium
144

Which THREE of the following are valid session behaviors when a session is invalidated?

Hard
145

You are using Consul Template to observe health status. What happens to a service's health check status if the network segment between the agent and the server is partitioned and the server cannot contact the agent?

Hard
146

Which of the following are valid types of health checks in Consul? (Select TWO)

Easy
147

Which of the following best describes the 'consul agent -dev' mode in relation to service discovery?

Easy
148

When using 'prepared_queries' for cross-datacenter failover, what does the 'failover' block allow you to specify?

Hard
149

Which file format is primarily used for defining services in Consul?

Easy
150

In a Consul health check, what does the 'notes' field provide?

Easy
151

Which THREE of the following are components of a Consul Connect service definition?

Medium
152

You notice that the KV store is not consistent across datacenters. What is the cause?

Hard
153

Which command line tool can you use to manually trigger a TTL check update for a specific service?

Easy
154

Which TWO of the following are true regarding the behavior of the Consul KV store?

Hard
155

Which configuration file format is preferred by Consul for defining service health checks?

Easy
156

Which protocol is used for the control plane communication between the Consul agent and the sidecar proxy?

Medium
157

Which of the following is a valid method to update a TTL health check?

Medium
158

You need to retrieve the session information for a specific session ID. Which endpoint should you query?

Medium
159

When using multiple datacenters, what is the primary role of the 'consul-template' tool?

Medium
160

If you are running Consul Enterprise, what feature simplifies the management of cross-datacenter secrets?

Hard
161

Which command is used to check the status of a registered service?

Easy
162

You are troubleshooting a health check that seems to be hanging. Which flag, if available, would provide more information about the check's execution within the agent logs?

Medium
163

Which THREE of the following are key components of a service definition?

Hard
164

You are querying the Consul DNS interface for a service. How can you exclude specific tags from the results?

Medium
165

You are troubleshooting why a service registered via HTTP API is not showing up in the catalog. Which tool provides the most immediate insight into the registration status?

Medium
166

What is the recommended number of Consul servers per datacenter to ensure high availability?

Medium
167

Which protocol do Consul servers use to maintain the WAN gossip pool?

Easy
168

Which agent configuration allows you to specify the local address that the Consul agent binds to for performing health checks?

Medium
169

What is the function of the 'consul connect envoy' command?

Medium
170

When using the HTTP health check type, how can you verify that a specific header is included in the health check request?

Hard
171

What is the effect of changing the 'interval' parameter in a service health check?

Medium
172

Which THREE of the following are benefits of using the Consul DNS interface?

Medium
173

When troubleshooting a service that fails to start its Envoy proxy, which service definition field should you check for incorrect configuration?

Hard
174

What components can affect the outcome of a health check? (Select THREE)

Medium
175

Which TWO of the following are true regarding intentions?

Medium
176

Which feature allows you to define a health check that depends on the health of another service?

Medium
177

You want to perform a list operation on a KV prefix to see all keys, but you don't want the values returned. Which API parameter helps reduce payload size?

Medium
178

Which Consul feature allows you to observe the KV store for changes and run a command in response?

Easy
179

Which THREE of the following are supported as sidecar proxy types in Consul?

Medium
180

What is the purpose of the 'check' field inside a 'service' object in a Consul configuration file?

Medium
181

Which THREE of the following are required to successfully acquire a lock on a KV key?

Medium
182

What is the consequence of having a service with no health checks registered?

Easy
183

Which file path is standard for storing the Consul server configuration, including WAN settings?

Easy
184

What happens if a service proxy loses its connection to the local Consul agent?

Medium
185

Which of the following conditions can cause a health check to transition to the 'critical' state? (Select TWO)

Medium
186

What happens if you do not specify an 'interval' for a health check in the configuration?

Easy
187

An administrator wants to register a service using a JSON file. Where should this file be placed on a standard Consul agent installation to ensure automatic loading?

Easy
188

Which TWO of the following are common use cases for the Consul KV store?

Easy
189

Which CLI command would you use to check the status of a Connect-enabled service?

Easy
190

What is the 'Consul Connect proxy' kind used for?

Medium
191

Which THREE of the following are valid Consul health check statuses?

Hard
192

Which TWO of the following accurately describe Consul's WAN gossip protocol behavior?

Hard
193

You are deploying a legacy application that does not support HTTP or TCP health checks. Which Consul health check type should you configure to allow the application to signal its own health via a heartbeat API call?

Easy
194

You are configuring a sidecar proxy for a service named 'web'. Which configuration stanza in the service definition correctly defines the proxy's inbound port for Connect traffic?

Medium

Frequently asked questions

What does the troubleshooting domain cover on the Consul 1.15 exam?
troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 194 troubleshooting questions in the Consul 1.15 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only troubleshooting questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.