> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Objective 3 Section Overview

> This lesson explores registering services in Consul and using service discovery for resilient, scalable applications.

In this lesson, we’ll explore how to register services in Consul and leverage service discovery for resilient, scalable applications. We’ll cover everything from defining service configurations to querying the service catalog and executing prepared queries.

<Frame>
  ![The image outlines objectives for registering services and using service discovery, including interpreting service registration and configuration, checking service catalog status, and using prepared queries. It also indicates a difficulty level of 3.](https://kodekloud.com/kk-media/image/upload/v1752877903/notes-assets/images/HashiCorp-Certified-Consul-Associate-Certification-Objective-3-Section-Overview/service-registration-discovery-objectives-diagram.jpg)
</Frame>

## Key Objectives

| Objective                                      | Description                                                                                      |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| Interpret service registration & configuration | Understand service definition files and metadata fields                                          |
| Register a service with Consul                 | Use the CLI, HTTP API, or HCL configuration files to register services                           |
| Define health checks                           | Configure liveness and readiness probes to monitor service health                                |
| Query the service catalog                      | Retrieve service status and metadata via DNS, HTTP API, and the Consul UI                        |
| Explore prepared queries                       | Learn what prepared queries are, how they work, and why they’re essential for advanced discovery |
| Execute prepared queries                       | Use prepared queries to dynamically filter healthy service instances and balance load            |

<Callout icon="lightbulb" color="#1CB2FE">
  Prepared queries simplify advanced service discovery by filtering healthy nodes and managing service responses. For more details, see the [Consul Service Discovery Docs](https://www.consul.io/docs/discovery).
</Callout>

Let’s get started!

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/hashicorp-certified-consul-associate-certification/module/c93b029c-49ea-4720-b869-60ee503c5fce/lesson/3e580090-5972-4bf7-90dc-37b5cb37cddd" />
</CardGroup>
