| Exam Code | PCA |
| Exam Name | Prometheus Certified Associate |
| Vendor | Linux Foundation |
| Total Questions | 60 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free PCA Practice Questions
Explore 5 free practice questions for the Linux Foundation PCA exam and review the answers and explanations to support your preparation.
-
Question 1
Single answerWhich exporter would be best suited for basic HTTP probing?
-
Option A:Correct
JMX exporter
-
Option B:Correct
Blackbox exporter
-
Option C:Correct
Apache exporter
-
Option D:Correct
SNMP exporter
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
The Blackbox Exporter is the Prometheus component designed specifically for probing endpoints over various network protocols, including HTTP, HTTPS, TCP, ICMP, and DNS. It acts as a generic probe service, allowing Prometheus to test endpoints' availability, latency, and correctness without requiring instrumentation in the target application itself. For basic HTTP probing, the Blackbox Exporter performs HTTP GET or POST requests to defined URLs and exposes metrics like probe success, latency, response code, and SSL certificate validity. This makes it ideal for uptime and availability monitoring. By contrast, the JMX exporter is used for collecting metrics from Java applications, the Apache exporter for Apache HTTP Server metrics, and the SNMP exporter for network devices. Thus, only the Blackbox Exporter serves the purpose of HTTP probing. Reference: Verified from Prometheus documentation – Blackbox Exporter Overview and Exporter Usage Guidelines
-
-
Question 2
Single answerWhat's "wrong" with the my app_filG_uploads_total{userid=,,5123",status="failed"} metric?
-
Option A:Correct
The use rid should not be exposed as a label.
-
Option B:Correct
The status should not be exposed as a label
-
Option C:Correct
The _tota lsuffix should be omitted.
-
Option D:Correct
The metric name should consist of dashes instead of underscores.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
In Prometheus best practices, high-cardinality labels—especially those containing unique or userspecific identifiers—should be avoided. The metric myapp_filG_uploads_total{userid="5123",status="failed"} exposes the userid as a label, which is problematic. Each distinct value of a label generates a new time series in Prometheus. If there are thousands or millions of unique users, this would exponentially increase the number of time series, leading to cardinality explosion, degraded performance, and high memory usage. The _total suffix is actually correct and required for counters, as per the Prometheus naming convention. The use of underscores in metric names is also correct, as Prometheus does not support dashes in metric identifiers. The status label, however, is perfectly valid because it typically has a low number of possible values (e.g., “success”, “failed”). Reference: Verified from Prometheus official documentation sectionsInstrumentation – Metric and Label Naming Best Practices and Writing Exporters.
-
-
Question 3
Single answerHow many metric types does Prometheus text format support?
-
Option A:Correct
40
-
Option B:Correct
4
-
Option C:Correct
8
-
Option D:Correct
10
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Prometheus definesfour core metric typesin its official exposition format, which are: Counter, Gauge, Histogram, and Summary. These types represent the fundamental building blocks for expressing quantitative measurements of system performance, behavior, and state. A Counter is a cumulative metric that only increases (e.g., number of requests served). A Gauge represents a value that can go up and down, such as memory usage or temperature. A Histogram samples observations (e.g., request durations) and countsthem in configurable buckets, providing both counts and sum of observed values. A Summary is similar to a histogram but provides quantile estimation over a sliding time window along with count and sum metrics. These four types are the only officially supported metric types in the Prometheus text exposition format as defined by the Prometheus data model. Any additional metrics or custom naming conventions are built on top of these core types but do not constitute new types. Reference: Extracted and verified from Prometheus official documentation sections on Metric Types and Exposition Formats in the Prometheus study materials.
-
-
Question 4
Single answerWhat does scrape_interval configure in Prometheus?
-
Option A:Correct
It defines how frequently to scrape targets.
-
Option B:Correct
It defines how frequently to evaluate rules.
-
Option C:Correct
It defines how often to send alerts.
-
Option D:Correct
It defines how often to refresh metrics.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
In Prometheus, the scrape_interval parameter specifies how frequently the Prometheus server should scrape metrics from its configured targets. Each target exposes an HTTP endpoint (usually /metrics) that Prometheus collects data from at a fixed cadence. By default, the scrape_interval is set to 1 minute, but it can be overridden globally or per job configuration in the Prometheus YAML configuration file. Thissetting directly affectsthe resolution of collected time series data—a shorter interval increases data granularity but also adds network and storage overhead, while a longer interval reduces load but might miss short-lived metric variations. It is important to distinguish scrape_interval from evaluation_interval, which defines how often Prometheus evaluates recording and alerting rules. Thus, scrape_interval pertains only to data collection frequency, not to alerting or rule evaluation. Reference: Extracted and verified from Prometheus documentation on Configuration File – scrape_interval and Scraping Fundamentals sections.
-
-
Question 5
Single answerWhat is a difference between a counter and a gauge?
-
Option A:Correct
Counters change value on each scrape and gauges remain static.
-
Option B:Correct
Counters and gauges are different names for the same thing.
-
Option C:Correct
Counters have no labels while gauges can have many labels.
-
Option D:Correct
Counters are only incremented, while gauges can go up and down.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
The key difference between a counter and a gauge in Prometheus lies in how their values change over time. A counter is a cumulative metric that only increases—it resets to zero only when the process restarts. Counters are typically used for metrics like total requests served, bytes processed, or errors encountered. You can derive rates of change from counters using functions like rate() or increase() in PromQL. A gauge, on the other hand, represents a metric that can go up and down. It measures values that fluctuate, such as CPU usage, memory consumption, temperature, or active session counts. Gauges provide a snapshot of current state rather than a cumulative total. This distinction ensures proper interpretation of time-series trends and prevents misrepresentation of one-time or fluctuating values as cumulative metrics. Reference: Extracted and verified from Prometheus official documentation – Metric Typessection explaining Counters and Gauges definitions and usage examples.
-