PCA Service Discovery & Configuration 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 & Configuration flashcards as text
Which Prometheus configuration block allows per-target scrape parameter overrides such as custom query params?
Answer: params
The `params` map in a scrape_config appends arbitrary HTTP query parameters to every scrape request, commonly used with multi-target exporters.
What Prometheus label controls which Alertmanager instance a particular alert is routed to?
Answer: There is no per-alert routing to specific Alertmanagers
Prometheus sends all alerts to all configured Alertmanager instances; per-alert Alertmanager selection is not a Prometheus feature — routing is handled inside Alertmanager.
What is the effect of setting `honor_labels: true` in a Prometheus scrape_config?
Answer: Prometheus preserves conflicting labels from the scraped metrics over its own labels
With `honor_labels: true`, when a scraped metric carries a label that conflicts with a Prometheus-attached label, the scraped value wins and the Prometheus label is renamed.
Which Prometheus CLI flag triggers a hot reload of the configuration file without restarting the process?
Answer: Sending SIGHUP to the Prometheus process
Sending `SIGHUP` to the Prometheus process causes it to re-read `prometheus.yml` and apply changes without downtime.
What does the `target_label` field specify in a Prometheus relabel_config rule?
Answer: The name of the label that will be written with the replacement value
`target_label` names the destination label that receives the result of the regex replacement in a relabeling rule.
In a Prometheus scrape_config, what does `scheme: https` combined with an empty `tls_config` result in by default?
Answer: TLS is used but the target certificate is verified against system CAs
Without explicit `ca_file` or `insecure_skip_verify`, Prometheus validates the target's certificate against the host system's default CA bundle.