Linux Foundation PCA Exam Questions & Answers (December 2026)
Prometheus Certified Associate exam questions with 15 free practice questions and explained answers. Updated December 4, 2026. ยท See all Linux Foundation exams
Answer 15 scenario questions on this page and see your score as you go. No sign-up needed.
Exam Details
- Exam Code
- PCA
- Vendor
- Linux Foundation
- Duration (minutes)
- 90
- Delivery
- Online, proctored
- Question Types
- Single Choice
- Official Page
- View Exam Page
Observability Concepts
18% of the examThis topic covers how metrics, logs, events, traces, and spans describe system behavior, as well as the difference between push and pull collection. Candidates must also distinguish SLIs, SLOs, and SLAs and reason about basic service discovery needs.
A payments team sees that average request latency has increased during the afternoon, while the number of requests remains close to its normal level. Application logs include request identifiers, and distributed traces record spans for calls to the payment service and its database. The team wants to identify which part of the request path changed before assigning an owner.
Which evidence should the team correlate first to locate the source of the latency increase?
Show Answer
Correct Answer
A
Option A is correct because correlating metrics, logs, and trace spans by trace ID can reveal which operation is taking longer despite stable request volume. Option B is not correct because log volume does not directly measure latency. Option C is not correct because a trace can contain multiple spans. Option D is not correct because stable traffic does not rule out a slower application dependency.
A hosted document service has a customer agreement that defines service credits for availability below a stated level. Separately, its operations team has set a monthly reliability target that is stricter than the contract. At the end of each week, the team calculates the actual fraction of user requests that completed within 300 milliseconds and reports the result to service owners.
Which item is the service-level indicator?
Show Answer
Correct Answer
A
Option A is correct because it is a measured value describing request performance over a stated period. Option B is not correct because it states a target, which is an SLO. Option C is not correct because it describes an SLA commitment and its consequence. Option D is not correct because a meeting is a process, not a performance measure.
A data platform runs cleanup jobs that finish in less than a minute and then terminate. The jobs run in isolated network segments where a central monitoring collector cannot open connections to their temporary addresses. Each job can make outbound connections to a shared telemetry endpoint, and operators need to retain a final count of processed records for each run.
Which collection approach best fits the batch jobs described?
Show Answer
Correct Answer
A
Option A is correct because the jobs can send their results outward before their short execution ends, while the collector cannot reach them. Option B is not correct because polling requires reachable targets that still exist. Option C is not correct because permanent addresses conflict with the stated short-lived job model. Option D is not correct because discovery cannot make a terminated process available for polling.
Prometheus Fundamentals
20% of the examThis topic covers Prometheus architecture, scrape configuration, time series data, labels, and the text exposition format. Candidates must interpret scrape settings, understand how labels identify series, and recognize the structure of metric samples.
The platform team is configuring a Prometheus server for an internal API. The global scrape interval is 30 seconds, and the API exposes metrics at /internal/metrics. The team adds a scrape job with a 10 second interval and a static target named api-node on port 8080. They need to confirm which endpoint and interval the server will use.
Which description of the resulting scrape behavior is correct?
Show Answer
Correct Answer
A
Option A is correct because the job-level interval overrides the 30 second global interval, and its metrics path directs requests to /internal/metrics. Option B is not correct because a job-level scrape interval can override the global value. Option C is not correct because it ignores both job settings. Option D is not correct because it uses the default path instead of the configured path.
A payments service exports checkout_total with a region label, and its dashboard currently groups results by region. A developer proposes adding a request_id label because support staff want to inspect individual checkouts. The service handles thousands of requests each minute, and request IDs are unique for each checkout. The team wants to understand the effect on the stored data model.
What is the likely effect of adding request_id as a label to checkout_total?
Show Answer
Correct Answer
B
Option B is correct because a time series is identified by its metric name and complete set of label values, so each new request_id and region combination creates a distinct series. Option A is not correct because matching names alone do not define series identity. Option C is not correct because labels are not sample values. Option D is not correct because label values may vary between samples.
A platform team is moving a service endpoint into a Prometheus scrape job. The endpoint currently returns JSON records containing a measurement name, several dimensions, and a numeric reading. The service can be changed, but the team wants to avoid adding unnecessary fields and must ensure that the response can represent dimensions for separate series. They ask which sample structure the endpoint should emit.
Which change would make the endpoint's samples conform to the standard Prometheus text exposition format?
Show Answer
Correct Answer
B
Option B is correct because a text exposition sample has a metric name, may include labels, and supplies a numeric value, while a timestamp is optional. Option A is not correct because JSON objects are not the standard text sample representation. Option C is not correct because labels are permitted and timestamps are optional. Option D is not correct because metadata declarations and timestamps are not required for every sample.
PromQL
28% of the examThis topic covers PromQL expressions for selecting samples, calculating rates, aggregating values, and combining vectors. Candidates must choose queries that preserve the required labels and correctly handle counters, histograms, and vector matching.
A service team tracks requests with the counter http_requests_total, which has service, instance, and code labels. Its dashboard must show the average rate of successful requests over the last five minutes for each service. Instances can restart during the window, and the dashboard should not display separate lines for individual instances or status codes. Which query meets these requirements?
Which query returns the average five-minute rate of successful requests, aggregated by service?
Show Answer
Correct Answer
A
Option A applies rate to each counter series before summing by service, so counter resets are handled and the result is an average five-minute rate. Option B uses irate, which focuses on the last two samples. Option C leaves the result split by its original labels. Option D includes requests with non-success status codes.
An API team uses a classic Prometheus histogram named http_request_duration_seconds, with bucket, sum, and count series labeled by route and instance. The team needs a ten-minute 95th percentile for each route across all instances. Instance restarts are possible, and the percentile must be calculated from the bucket distribution rather than from a mean duration. Which query should the team use?
Which query calculates the 95th percentile request duration for each route over the last ten minutes?
Show Answer
Correct Answer
A
Option A calculates bucket rates, retains the le boundary while aggregating instances by route, and then estimates the percentile. Option B drops le, so the bucket distribution is lost. Option C applies the quantile function before aggregating the buckets. Option D uses the sum metric, which does not provide bucket counts for the percentile calculation.
A worker fleet records worker_cpu_seconds_total as a counter with instance and mode labels, with one series per mode on each instance. A separate machine_cpu_cores gauge has instance and cluster labels and one series per instance. The team wants five-minute total CPU use divided by available cores for each instance. Instance names are unique across the fleet. Which query meets the requirement?
Which query returns total CPU usage as a fraction of available cores for each instance?
Show Answer
Correct Answer
A
Option A sums the per-mode CPU rates for each instance and matches the capacity metric by instance, despite its extra cluster label. Option B averages the modes instead of totaling their CPU use. Option C uses default label matching, which fails because the capacity series has an extra label. Option D matches by cluster, not by the required instance.
Instrumentation and Exporters
16% of the examThis area covers adding metrics to applications with Prometheus client libraries and exposing metrics from systems through exporters. Candidates must choose suitable metric instruments, apply metric naming and unit conventions, and select an exporter that can expose the required source data.
A payment API team is adding metrics to a Go service before a release. They need one value for the total number of accepted payment attempts since process start and another value for requests currently being processed. The second value must drop when handlers finish. The team can change the instrumentation code and wants each metric to represent the behavior of its underlying value.
Which pair of metric instruments should the team use?
Show Answer
Correct Answer
A
Option A is correct because the request total only increases, while the active-request value must rise and fall as work begins and completes. Option B is not correct because a gauge is not the appropriate instrument for a cumulative event count. Option C is not correct because active requests can decrease. Option D is not correct because a histogram records observations such as durations or sizes, not the current number of active requests.
The checkout service is being instrumented in its Go application before a multi-replica rollout. The team needs to record each request duration and preserve the observations for later bucket-based latency analysis. Its instrumentation standard requires base units, and the service currently measures elapsed time as a floating-point number of seconds. Several teams will rely on a stable, descriptive metric name.
Which instrumentation design best meets these requirements?
Show Answer
Correct Answer
C
Option C is correct because the histogram records duration observations for later bucket-based analysis, and its name uses the standard seconds unit suffix. Option A is not correct because a gauge does not preserve a distribution of observations and the name uses milliseconds. Option B is not correct because a gauge does not record the required distribution. Option D is not correct because a counter total is not the appropriate instrument for individual duration observations.
A team operates a Java payment application whose required business and runtime values are available as JMX MBeans. The application source is maintained by another vendor, so the operations team cannot add a client library or modify the code. The team can schedule one JVM restart to add a Java agent, and it needs those MBean values exposed as Prometheus metrics.
Which approach should the team use to expose the application metrics?
Show Answer
Correct Answer
A
Option A is correct because the Prometheus JMX Exporter Java agent can read MBeans inside the JVM and expose their values without edits to the application source. Option B is not correct because Node Exporter reports host-level metrics and does not translate application MBeans. Option C is not correct because Blackbox Exporter probes endpoints rather than reading JMX data. Option D is not correct because a client library would require application instrumentation changes.
Alerting & Dashboarding
18% of the examThis topic covers configuring alert rules, using Alertmanager to manage notifications, and building dashboards for operational monitoring. Candidates must be able to choose suitable alert behavior and configure dashboards so that responders can view relevant information.
A Prometheus rule already detects elevated request failures for a production service. Its condition often becomes true for about 90 seconds during brief traffic spikes, then clears. The on-call team wants a page only when the condition remains true for five continuous minutes. Rule evaluations currently occur every 30 seconds, and Alertmanager sends notifications for firing alerts.
Which change best meets the team's requirement?
Show Answer
Correct Answer
A
Option A is correct because the alert must remain active for five minutes before it fires. Option B changes how often the rule is evaluated, not how long the condition must persist. Option C delays notification after an alert fires. Option D controls how often repeat notifications are sent.
A platform team receives separate warning alerts for each affected node during a cluster outage, alongside one critical alert for that cluster. The team wants the critical alert to suppress only warning alerts from the same cluster while it is active. Warning alerts from other clusters must still notify responders, and the team does not want to maintain outage-specific silences.
Which Alertmanager configuration best suppresses only the related warning notifications while preserving warnings from other clusters?
Show Answer
Correct Answer
A
Option A is correct because the inhibition rule suppresses a warning only when a matching critical alert shares its cluster label. Option B groups notifications but does not suppress warning alerts. Option C also silences warnings in unaffected clusters. Option D suppresses every warning, including those without a related critical alert.
An operations team has one Grafana dashboard with six panels for service health. Engineers currently copy the dashboard whenever a new service is added, then edit each panel to show that service. Responders need to select one service, compare several services, or view all services from the same dashboard, while keeping a single set of panels to maintain.
Which dashboard change best supports the requested service selection without maintaining separate dashboards?
Show Answer
Correct Answer
A
Option A is correct because a shared multi-value variable lets viewers select one service, several services, or All, while the panels use the same selection. Option B requires separate dashboards to be maintained. Option C navigates to fixed views rather than filtering this dashboard. Option D displays repeated panels without allowing the requested selection.
Continue Your PCA Preparation
You have seen 15 questions from a full set of 60. Prepare with the PCA dumps PDF and the Web-Based Practice Test.
- Compatible with All Devices
- Printable Format
- No Download Limits
Practice Test
- Check your timing and weak areas
- No Practice Limits
- Regularly Updated
- 100% Money-Back Guarantee
- 90 Days Free Updates
- Instant Access
Frequently Asked Questions
Why does PromQL cause difficulty on the PCA exam?
PromQL accounts for 28% of the exam and requires more than recognizing familiar functions. You must select samples, calculate rates, aggregate values, and combine vectors while preserving the labels needed for the result. Counter and histogram handling, along with vector matching, can make a seemingly simple query misleading. Use the Exam4Success Practice Test to check which query tasks slow you down, then review those expressions and explain why their labels and output are appropriate.
What makes the 90-minute online exam demanding?
The challenge is applying several related concepts under time pressure, rather than recalling definitions in isolation. A scenario may require you to reason about scrape configuration, time series labels, a PromQL result, or an alert response. The exam is online and proctored, so prepare for a focused session in a suitable setting. Practise reading each prompt carefully, identify the system behavior it describes, and then eliminate options that do not fit the stated monitoring need.
Why can studying Prometheus theory feel disconnected from the exam?
Prometheus terminology can seem clear until you must use it in context. Knowing that labels identify time series does not by itself show which labels an aggregation should preserve, and memorizing alerting terms does not resolve how an alert should behave. The Exam4Success PDF can support review away from a lab or monitoring setup. As you study, pair each concept with a short example, such as tracing how a scrape produces samples that a query can use.
How can I avoid mixing up metrics, labels, and naming conventions?
Candidates can confuse a metric's meaning with the labels that distinguish its individual series. The exam also expects familiarity with the text exposition format, metric instruments, and naming and unit conventions. Those details matter when choosing instrumentation or interpreting samples. The Exam4Success Practice Test can help reveal recurring mistakes across these topics. When reviewing, write down what each metric measures, what its labels identify, and whether the instrument and unit suit the data.
What practical Prometheus skills does the PCA exam assess?
The exam covers skills used to monitor systems with Prometheus, including configuring scrapes, interpreting time series, writing PromQL, instrumenting applications, and selecting exporters. It also addresses alert rules, Alertmanager notifications, and operational dashboards. These topics help candidates build a clearer picture of how monitoring data moves from a source to a responder. To connect the material to your work, choose one service you know and map its metrics, queries, and possible alerting needs.
Will preparing for PCA help me understand operational monitoring?
PCA preparation addresses how monitoring supports operational decisions, from distinguishing SLIs, SLOs, and SLAs to presenting relevant information in dashboards. It also covers how Alertmanager manages notifications and how exporters expose source data. The exam does not replace hands-on experience, but studying these topics can give you a structured basis for discussing Prometheus monitoring. Pick a service or system you support and identify what responders would need to see during an incident.
How should I decide what to study first for PCA?
Start with the topic weights and your existing experience. PromQL is the largest area at 28%, followed by Prometheus Fundamentals at 20%. Observability Concepts and Alerting and Dashboarding are each 18%, while Instrumentation and Exporters account for 16%. Begin with a brief self-check across all five areas, then give extra study time to weak topics with greater weight. The Exam4Success PDF can help organize review, while a Practice Test can show where further work is needed.
How can I judge whether I am ready for the PCA exam?
Readiness means being able to apply the topics, not just recognize their names. Check that you can explain push and pull collection, interpret scrape settings and metric samples, write queries that handle rates and labels correctly, and reason through an alerting or dashboard need. Since the exam lasts 90 minutes, practise working through mixed questions within a focused session. Review errors by topic and repeat the areas where your reasoning is uncertain before scheduling your exam.
Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Linux Foundation.