← All PCA Flashcard Decks

PCA Service Discovery & Targets Flashcards

6 cards from real PCA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 PCA Service Discovery & Targets flashcards as text
  1. What is the effect of setting `honor_labels: true` in a Prometheus scrape config?

    Answer: Target-provided labels take precedence over server-side labels

    When honor_labels is true, Prometheus keeps the labels exported by the target instead of overwriting them with its own labels.

  2. Which Prometheus SD mechanism discovers targets via DNS SRV records?

    Answer: dns_sd_configs

    dns_sd_configs uses DNS SRV records to discover scrape targets dynamically.

  3. What is the purpose of the `__metrics_path__` label in Prometheus service discovery?

    Answer: It specifies the URL path on the target from which metrics are scraped

    The __metrics_path__ label overrides the default /metrics path used when scraping a specific target.

  4. When using Kubernetes service discovery, which role discovers individual pod endpoints rather than services?

    Answer: pod

    The `pod` role in kubernetes_sd_configs discovers all running pods and exposes their container ports as scrape targets.

  5. How does Prometheus handle a target that becomes unreachable during service discovery?

    Answer: It marks it as DOWN and continues attempting to scrape on the next interval

    Prometheus records scrape failures as UP=0 for the target and retries on the next scrape interval without removing it.

  6. Which relabel_configs action copies label values from one label name to another?

    Answer: replace

    The `replace` action can copy a source label's value into a new target_label, effectively renaming or duplicating it.

Written and edited by , founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. training.linuxfoundation.org — Test delivery, eligibility, exam information · verified Oct 2026
  2. cncf.io — Fees, retake policy · verified Oct 2026
  3. docs.linuxfoundation.org — Registration deadline, exam format, score release, time limit, passing score, renewal, score validity · verified Oct 2026