Practice Consul 1.15 Service Discovery questions with full explanations on every answer.
Start practicing
Service Discovery — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
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?
2Which 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?
3An 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?
4You 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?
5You 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?
6An administrator needs to query service information. Which DNS record type is commonly used by Consul to return service addresses?
7A 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'?
8You 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?
9What is the purpose of the 'service-tag' in a Consul service definition?
10When using Consul DNS for a service, what happens if no instances are healthy?
11A service definition includes a 'meta' block. What is the intended use of this block?
12Which command is used to check the status of a registered service?
13You are configuring a service check that needs to be ignored if the node is in maintenance mode. What is the correct approach?
14You need to register a health check that triggers an alert when memory usage is high. Which type of check is most appropriate?
15How does Consul handle service discovery in multi-datacenter environments when a service is requested by name?
16When multiple agents are in a cluster, how does Consul ensure that service discovery information is consistent across all nodes?
17Which of the following best describes the 'consul agent -dev' mode in relation to service discovery?
18What is the impact of setting 'enable_tag_override' to true in a service definition?
19Which interface would you use to register a service dynamically using standard tools like 'curl'?
20What is the effect of changing the 'interval' parameter in a service health check?
21You need to ensure a service instance is removed from the catalog immediately after the service process terminates. Which setting helps?
22How does Consul handle service discovery when using the 'prepared query' feature?
23You are querying the Consul DNS interface for a service. How can you exclude specific tags from the results?
24Which file format is primarily used for defining services in Consul?
25You need to verify if a node has successfully joined the cluster for service discovery. Which tool confirms this?
26When a service check transitions to 'critical', what does Consul do with the service's DNS entry?
27What command displays the currently registered services in the local agent?
28Which THREE of the following are valid check types in Consul?
29Which TWO of the following can be used to filter services during a DNS query?
30Which THREE of the following are key components of a service definition?
31Which TWO of the following are true regarding the Consul Service Catalog?
32Which THREE of the following are valid ways to register a service in Consul?
33Which TWO of the following are standard DNS records returned by Consul for service discovery?
34Which THREE of the following fields are typically included in a service metadata (meta) block?
35Which TWO of the following actions occur when a node fails in a Consul cluster?
36Which THREE of the following are valid ways to categorize services in Consul?
37Which TWO of the following statements are true about the 'passing' parameter in DNS queries?
38Which THREE of the following are benefits of using the Consul DNS interface?
39Which TWO of the following describe a Consul 'service definition'?
40Which THREE of the following are valid Consul health check statuses?
The Service Discovery domain covers the key concepts tested in this area of the Consul 1.15 exam blueprint published by HashiCorp. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all Consul 1.15 domains — no account required.
The Courseiva Consul 1.15 question bank contains 40 questions in the Service Discovery domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Service Discovery domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included