Study guide · Flashcards and memory notes

Prometheus Certified Associate Flashcards

40 recall cards for the current CNCF curriculum: signals, the Prometheus server, PromQL, instrumentation, and Alertmanager.

Linux Foundation and CNCF5 decks · 40 cardsNo sign-up required

How to use these cards: Say the function or the config key out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Signals

The credential, the three signals, and the service-level words.

8 cards
1.1What does passing this exam award by itself?

Prometheus Certified Associate. It does not award CKA, CKAD, CKS, or Google Cloud Professional Cloud Architect.

1.2What duration, delivery, and pass score does the Linux Foundation publish?

90 minutes, online proctored multiple choice, with 75 percent required to pass. The public PCA pages do not state a question count.

Memory note: Exam only is listed at $250, with one retake, 12 months of eligibility, and a credential valid for 2 years. Check checkout.

1.3What is a metric, compared with a log and a span?

A metric is a number over time. A log is an event record. A span is one timed step in a trace. Prometheus stores the metric.

1.4Which word is the measurement, the target, and the agreement?

SLI, SLO, then SLA. The error budget is what the SLO still allows you to miss.

1.5Why does pull notice a dead target more directly?

The scraper tries the target and can record the failure. A missing push can leave the last value in place.

1.6What is service discovery for?

Finding scrape targets as addresses change. It does not send pages or store the TSDB.

1.7What do RED and USE stand for?

Rate, errors, duration. Utilization, saturation, errors. RED is for a service. USE is for a resource.

1.8Why is a user id a bad metric label?

It creates one series per user. Put that detail in a log or a span.

Deck 2 · Prometheus

The server, labels, scrapes, and the exposition format.

8 cards
2.1Which component stores samples and evaluates rules?

The Prometheus server. Alertmanager routes notifications. Exporters only expose samples.

2.2Who sets the up metric?

Prometheus. 1 means the scrape succeeded. 0 means it failed.

2.3What identifies one time series?

The metric name plus every label. A different label value is a different series.

2.4What happens if scrape_timeout is longer than scrape_interval?

Prometheus rejects the file. The timeout must not be greater than the interval.

2.5honor_labels is false and the scraped job label clashes. Which value wins?

The server-side label. The scraped one is renamed to exported_job.

2.6Which relabel block runs after the scrape?

metric_relabel_configs. relabel_configs change targets before the scrape.

2.7What is true of classic histogram buckets?

They are cumulative. The +Inf bucket matches the count series.

2.8How does federation differ from remote write?

Federation pulls selected series. Remote write streams samples out. Neither one is a log store.

Deck 3 · PromQL

Rates, aggregations, histograms, and timestamps.

8 cards
3.1What does a selector without brackets return?

An instant vector. Brackets such as [5m] make the range vector that rate requires.

3.2Which functions fit a counter, and which fits a gauge slope?

rate and increase fit counters. deriv fits a gauge. irate uses the last two counter points.

3.3A counter drops to 0 mid-range. What does rate do?

It treats the drop as a reset and still estimates the increase. Do not subtract the raw samples yourself.

3.4Which order is sum and rate?

rate each series, then sum. Summing raw counters first hides resets.

3.5How do you keep a 0 or 1 from a comparison?

Add the bool modifier. Without it, the comparison filters series out.

3.6What is the order for a global p95?

rate the buckets, sum by (le), then histogram_quantile. Do not average per-instance quantiles.

3.7What is process uptime in PromQL?

time() minus a start-time gauge such as process_start_time_seconds. timestamp(up) is sample age, not uptime.

3.8When does absent help and up == 0 does not?

When the series is gone. up == 0 needs the series to still exist.

Deck 4 · Instrumentation

Libraries, names, and exporters.

8 cards
4.1When do you use a client library?

When you can change the application. Use an exporter when you cannot.

4.2Which name is a counter?

http_requests_total. Do not put _total on a gauge, and do not bake per_second into the name.

4.3What does node_exporter expose?

Host metrics such as CPU, memory, and disk. It does not create your application request counter.

4.4Why prefer a histogram for a fleet p99?

Buckets add across instances. A summary quantile should not be averaged into one p99.

4.5Which unit belongs in a latency name?

Seconds. Base units are seconds, bytes, and ratios.

4.6What does blackbox_exporter probe_success mean?

An outside probe worked. It is not the application request counter.

4.7How does Prometheus normally receive client-library samples?

It scrapes the metrics URL. The library does not push each sample. The Pushgateway is for short-lived jobs.

4.8What is kube-state-metrics for, compared with cAdvisor?

Object state, such as desired replicas. Container CPU and memory come from the kubelet cAdvisor metrics.

Deck 5 · Alerts

Rules, routing, and dashboard habits.

8 cards
5.1Where is an alerting rule evaluated?

In Prometheus. Alertmanager groups and delivers. It does not run PromQL.

5.2What does for: 5m do?

It keeps the alert pending until the expression has been true for five minutes. It is not the rate window and it is not a silence.

5.3What should a page measure?

A user-visible symptom, such as error ratio or latency. A single CPU spike is often a cause, not the page.

5.4How do two replicas avoid a double page?

Use the same external labels. Different labels look like two alerts.

5.5Which timer sends a group that just gained an alert?

group_interval. repeat_interval resends a group that has not changed.

5.6What does a silence change?

Notification only, until it expires. The rule still evaluates. The series stays.

5.7What does inhibition do?

It mutes target alerts while a source alert is firing. It does not delete series or rewrite PromQL.

5.8What belongs on a RED dashboard?

Request rate, error ratio, and a histogram quantile. Not three raw counters.

Official exam sources

Use the Linux Foundation PCA page, its multiple-choice FAQ, and the CNCF curriculum PDF to check the exam facts on these cards. Queries and config keys are in the PromQL basics and the configuration reference. These cards are independent recall prompts, not official exam items.

CKA

A Kubernetes administration exam. Prometheus often scrapes a cluster. Passing either exam does not award the other.

CKAD

The application-developer exam. Its observability objective is not this Prometheus exam.

Apply concepts in the Scenario Workshop →