Sample questions
Prometheus Certified Associate (PCA, CNCF/Linux Foundation) (PCA) practice questions
What is the default retention period for Prometheus data?
You have a Prometheus alerting rule that triggers too frequently during flapping states. Which feature should you use to prevent this without silencing the alert entirely?
Which TWO of the following are valid metric types natively supported by Prometheus? (Choose TWO)
Which TWO are common causes of high-cardinality in Kubernetes environments?
Which TWO of the following are true about the Pushgateway?
When using a Prometheus client library to instrument a Go application, which function call is typically used to register a new metric?
How does PromQL handle operator precedence between arithmetic operators like multiplication (*) and addition (+)?
What is 'Monitoring Philosophy' regarding alerts?
You need to prevent an alert from firing if a maintenance window is active. How should you approach this in Alertmanager?
Which THREE of the following are valid label matchers?
What is the purpose of the 'up' metric?
You need to calculate the 99th percentile HTTP request latency from a Prometheus histogram named http_request_duration_seconds. Which function is correct?
Which function is used to convert a counter rate into a per-second rate over a time range?
You are troubleshooting high cardinality in your metrics. What is a common cause for this in a custom exporter?
Which THREE of the following are valid components within a Prometheus Alerting Rule file?
Which THREE of the following are valid aggregation operators in PromQL? (Choose THREE)
A Prometheus administrator wants to query the current value of the metric 'http_requests_total'. Which of the following PromQL expressions should be used?
How does Prometheus handle subqueries embedded within an instant query, such as rate(http_requests_total[5m])[30m:1m]?
Which TWO of the following statements regarding PromQL subqueries are correct? (Choose two)
You need to send critical alerts to a specific Slack channel while warning alerts go to email. Where should this routing logic be defined?
In Alertmanager, what is the role of the 'continue' field in a route?
You need to monitor the availability of a specific web endpoint from external locations using blackbox_exporter. What is the primary purpose of the 'module' configuration in blackb…
What is the purpose of the instant vector selector syntax http_requests_total{job="api-server"}?
What is the purpose of 'labels' in Prometheus?