Reference notes for Prometheus Certified Associate. Each section names the object, and what you check on a server you are allowed to delete.
CNCF curriculumFive domainsReviewed November 15, 2026
How to read these notes: Unmarked items sit on the public curriculum or the Prometheus docs it points at. Items tagged Extra are job context the competency line does not require. New to the exam? Start with the overview. Practice on a host you can remove.
Observability concepts
18 percent. Metrics, logs, traces, push versus pull, discovery, and the service-level words.
Three signals
A metric is a number over time. A log is a timestamped event record. A trace is one request, and a span is one timed step in that request, with a trace ID and a parent span ID. Prometheus stores metrics. A user id or a request body is a log or a span attribute. Putting either on a label creates one series per value.
Pull, push, and discovery
Prometheus scrapes a target that is still listening. A failed scrape becomes up = 0. A batch job that exits in seconds can miss that scrape. The Pushgateway keeps the last push until you overwrite or delete it, and Prometheus scrapes the gateway. Service discovery replaces a stale static IP list. Kubernetes, file, DNS, and Consul discovery emit targets. Relabeling then keeps or drops them.
SLI, SLO, SLA
An SLI is the measurement, such as the ratio of successful requests. An SLO is the target, such as 99.9 percent over 30 days. An SLA is the agreement, often with a consequence. The error budget is what the SLO still allows you to miss. It is not a field in prometheus.yml. RED is rate, errors, and duration for a service. USE is utilization, saturation, and errors for a resource.
What not to page on
A raw counter almost always rises. A threshold on the lifetime total does not say that users are in pain now. Graph rate or increase, or a ratio. Extra The four golden signals are latency, traffic, errors, and saturation. They overlap RED and USE. They are not PromQL functions.
Prometheus fundamentals
20 percent. The server, the scrape file, the limits, labels, and the exposition format.
Who does what
The Prometheus server scrapes, stores the local TSDB, and evaluates rules. Exporters and client libraries only expose samples. Alertmanager routes notifications. Grafana, or the built-in expression browser, draws charts. up is synthetic: 1 when the scrape succeeded, 0 when it failed. The target does not increment up.
Series and labels
One series is a metric name plus every label name and value. job and instance are labels the server adds. Two instances are two series. With honor_labels: false, a scraped label that clashes with a target label is renamed to exported_ plus the original name. honor_labels: true keeps the scraped value. Use that on the Pushgateway, not as a default for every job.
Scrape config
Jobs live in scrape_configs. scrape_timeout must not be greater than scrape_interval, or Prometheus rejects the file. relabel_configs edit targets before the scrape. action: drop there means the target is not scraped. metric_relabel_configs run after the scrape and can drop a series or a label before it is stored.
Exposition and limits
A text sample looks like http_requests_total{code="200"} 1027. # HELP describes it. # TYPE is counter, gauge, histogram, summary, or untyped. An optional timestamp is milliseconds. Histogram buckets are cumulative, and the +Inf bucket matches _count. Extra One server is not a clustered long-term store. Remote write streams samples out. Federation pulls a selected subset. Neither one makes Prometheus a log database.
PromQL
28 percent. Selectors, rates, aggregations, operators, histograms, and timestamps.
Instant and range
http_requests_total{job="api"} is an instant vector, the latest sample. [5m] makes a range vector. rate, irate, increase, and avg_over_time need the range. offset 1h evaluates the selector an hour earlier. It does not delete data.
Counters and gauges
rate and increase are for counters. They treat a drop as a restart and still estimate the increase. increase can return a fraction because it extrapolates. irate uses the last two points and is a poor alert signal. deriv is for a gauge slope. Average a gauge across time with avg_over_time, not with avg of a range. Sum rates, do not take a rate of summed raw counters: sum(rate(http_requests_total[5m])).
Labels and operators
sum by (job) keeps only job. without drops the labels you name. and is intersection, or is union, and unless removes matches. Arithmetic normally matches one series to one series. Use group_left or group_right for an explicit many-to-one match, or aggregate both sides first. A comparison filters; bool returns 0 or 1 for matched series. If an error-rate vector has several code values per job, ignoring(code) alone is insufficient against one total-rate series. Aggregate each side by (job) for an overall ratio, or add group_left to retain per-code results.
Histograms and time
For a classic histogram, histogram_quantile(0.95, sum by (le) (rate(http_request_duration_seconds_bucket[5m]))) calculates a global p95. Rate the buckets, keep le, then take the quantile. Native histograms instead use samples such as histogram_quantile(0.95, sum(rate(http_request_duration_seconds[5m]))) and do not need an le label. Do not average per-instance quantiles. time() is the evaluation timestamp in seconds. timestamp() is the sample time. Uptime is time() - process_start_time_seconds, not the age of up. absent() fires when the selector matches nothing. up == 0 does not.
Worked PromQL: error ratio by job
If http_requests_total has a code label, divide the five-minute rate of 5xx requests by the rate of all requests after aggregating both sides to job:
sum by (job) (rate(http_requests_total{code=~"5.."}[5m])) / sum by (job) (rate(http_requests_total[5m]))
The two vectors now have the same label set. If the error series has several status codes per job, ignoring(code) alone would attempt a many-to-one match and fail. Use group_left only if you need a separate result per code; for an overall error ratio, aggregate first. A missing result can also mean the error series has never existed, so inspect both sides separately before changing the query.
Instrumentation and exporters
16 percent. Libraries, metric types, exporters, and names.
Library or exporter
Change the application when you can. A client library creates the counter and serves the exposition. Prometheus scrapes that URL. The library does not push each sample. Use an exporter when you cannot change the process. node_exporter is the host. It does not create http_requests_total. blackbox_exporter probes from the outside and exposes probe_success.
Types
A counter only goes up, aside from a process restart, and its name ends in _total. A gauge is a level: queue depth, temperature, in-progress calls. A histogram observes values into cumulative buckets and can be added across pods before histogram_quantile. A summary quantile is computed on one client. Do not average it into a fleet p99. Use base units: seconds, bytes, and ratios.
Names and labels
Use letters, digits, and underscores. Do not put _total on a gauge. Do not name a counter per_second. The rate is a query. Keep label values to a small set. A user id, an email, or a raw URL is the usual cardinality incident. Extrakube-state-metrics exposes object state such as desired replicas. Container CPU comes from the kubelet cAdvisor metrics. They are different scrapes.
Short-lived jobs
The Pushgateway is the exception for a job that exits before the next scrape. Long-running services expose their own metrics path. Leaving the last push in the gateway makes a dead job look fresh until you delete those series.
Alerting and dashboarding
18 percent. Rules, Alertmanager, and what a panel should show.
Rules
Prometheus evaluates alerting rules. Alertmanager does not run PromQL. for: 5m keeps the alert pending until the expression has stayed true for five minutes, then it fires. That duration is not the [5m] inside rate. A recording rule stores a query result for reuse. It is not an alert and it does not scrape.
Alertmanager
Routes group, wait, and deliver. group_by chooses the bundle. group_wait delays the first send. group_interval waits before sending a group that gained or lost alerts. repeat_interval resends a group that has not changed. Inhibition mutes target alerts while a source alert is firing, often for the same instance. A silence mutes matches until it expires. The rule still evaluates. Identical external_labels let two Prometheus replicas deduplicate into one page.
What to page
Page on a symptom: error ratio, latency, or an SLO burn. A single CPU spike is often a cause and may be a ticket. A dashboard is for a person who is already looking. A panel does not route email. The RED panel set is request rate, error ratio, and a histogram quantile, not three raw counters.
Pending is not a silence
Pending means the expression is true and for has not elapsed. Firing means it has. Inactive means the expression is false. A silence lives in Alertmanager and does not change that Prometheus state. Extra Annotations can template {{ $labels.instance }} and {{ $value }}. Put the runbook URL there. The template does not fix the incident.
Five checks on a disposable server
Say what you expect to see before you change the object. Then delete the lab if it was only for practice.
A target that is down
Scrape a metrics URL, then stop that process.
What to verify:up for that instance is 0. The application did not have to expose up. Starting the process again returns up to 1 on the next successful scrape.
A timeout the file rejects
Set scrape_timeout longer than scrape_interval and reload.
What to verify: Prometheus rejects the configuration. Shorten the timeout or lengthen the interval. Alertmanager does not rewrite this file.
A rate instead of a raw counter
Graph http_requests_total, then graph sum(rate(http_requests_total[5m])) while you generate a short burst of traffic.
What to verify: the raw counter keeps climbing. The rate shows the burst and then falls. The lifetime total hides the quiet period.
A label that multiplies series
Add a label that changes on every request, scrape twice, then remove the label.
What to verify: the series count jumps. After the label is gone, new scrapes stop creating those series. The old series go stale. They are not deleted by the next good scrape.
A pending alert
Write an alert on up == 0 with for: 2m. Stop the target.
What to verify: the alert is pending before two minutes and firing after. A silence in Alertmanager stops the page and leaves the rule firing. The [5m] on a different query is not this for.
An evidence-first Prometheus sequence
Name the object before you change it: target, series, query, instrument, or alert. A dashboard panel does not send a page. A green exporter scrape does not prove the application counter exists. A silence does not change the rule.
Read the failure before the next setting
If the configuration will not load, compare timeout and interval. If a target is missing, read service discovery and relabel_configs before you edit the application. If a query is empty, compare label sets before you call the histogram function. If two pages arrive from two replicas, compare external_labels.
Verify at the same layer you changed
After a scrape change, query up and the series you expected. After a PromQL change, compare the instant result with the raw samples. After a rule change, read pending and firing in Prometheus, then the route in Alertmanager. Keep production remote-write credentials out of a lab you can delete.
Frequently asked questions
Which exam do these notes follow?
These notes follow the CNCF Prometheus Certified Associate curriculum: observability 18 percent, fundamentals 20 percent, PromQL 28 percent, instrumentation and exporters 16 percent, and alerting and dashboarding 18 percent. Items tagged Extra are deeper product facts for practice.
Do the notes replace the Prometheus docs?
No. Use them with the configuration reference, the PromQL page, and the Alertmanager page. A practice query on this site does not change a server you have not configured.
Does this page cover Google Cloud Professional Cloud Architect?
No. That exam is also abbreviated PCA and has its own path. These notes mention it only to keep the names apart. Passing Prometheus Certified Associate does not award it, and it does not award CKA or CKAD.
Continue the Prometheus study path
Use the notes, then test recall with cards and a timed practice set.
Certicab provides general informational, educational, and convenience resources. Learning materials can contain errors or become outdated. Check the current exam guide and official documentation before relying on a technical recommendation. Practice only in environments you own or are authorized to use, and do not share credentials or confidential exam material. Study resources are independent and do not guarantee exam success or imply certification-provider endorsement. Prometheus is a trademark of The Linux Foundation. CNCF is a trademark of The Linux Foundation. Certicab is not affiliated with, endorsed by, or sponsored by The Linux Foundation or the Cloud Native Computing Foundation. Google Cloud is a trademark of Google LLC.