Linux Foundation PCA Practice Exam Questions & Answers

7 Free Questions Last reviewed November 8, 2026 Prepared & Reviewed by the ValidExamDumps Editorial Team

60 Practice Questions (Our Bank)
90 minutes Exam Duration
75% Passing Score
USD 250 Official Exam Fee
Exam Facts

Linux Foundation PCA Exam Details

Key details for this exam, checked against the published exam outline

Exam Code
PCA
Full Name
Prometheus Certified Associate
Issuing Body
Linux Foundation
Question Format (Our Bank)
Multiple Choice
Delivery
Online proctored
Eligibility
None
Validity
2 years
Practice Questions

Free PCA Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our PCA exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Question 1 Domain 2 Prometheus Fundamentals

What does the rate() function in PromQL return?

Correct Answer B
Explanation

The rate() function calculates the average per-second rate of increase of a counter over the specified range. It smooths out short-term fluctuations and adjusts for counter resets.

Example:

rate(http_requests_total[5m])

returns the number of requests per second averaged over the last five minutes. This function is frequently used in dashboards and alerting expressions.

Question 2 Domain 2 Prometheus Fundamentals

Which of the following is an invalid @ modifier expression?

Correct Answer D
Explanation

The @ modifier in PromQL allows querying data as it existed at a specific point in time rather than the evaluation time. It can be applied after a selector or an entire expression, but the syntax rules are strict.

go_goroutines @ start() Valid; queries value at the start of the evaluation range.

sum(http_requests_total{method='GET'}) @ 1609746000 Valid; applies the modifier after the full expression.

go_goroutines @ end() Valid; queries value at the end of the evaluation range.

sum(http_requests_total{method='GET'} @ 1609746000) Invalid, because the @ modifier cannot appear inside the selector braces; it must appear after the selector or aggregation expression.

This invalid placement violates PromQL's syntax grammar for subquery and modifier ordering.


Verified from Prometheus documentation -- PromQL @ Modifier Syntax, Evaluation Modifiers, and PromQL Expression Grammar sections.

Question 3 Domain 2 Prometheus Fundamentals

What is the best way to expose a timestamp from your application?

Correct Answer A
Explanation

The correct way to expose a timestamp from an application in Prometheus is to use a gauge metric where the timestamp value (in Unix time, seconds since epoch) is stored as the metric's value. This approach aligns with the Prometheus data model, which discourages embedding timestamps as labels or metadata.

Example:

app_last_successful_backup_timestamp_seconds 1.696358e+09

In this example, the gauge represents the timestamp of the last successful backup. The _seconds suffix indicates the unit of measurement, making the metric self-descriptive. Prometheus automatically assigns timestamps to scraped samples, so the metric's value is treated purely as data, not as a Prometheus sample time.

Options B and D are incorrect because Prometheus does not allow arbitrary timestamps or labels for time values. Option C is incorrect since counters are monotonically increasing and not suited for discrete timestamp values.


Verified from Prometheus documentation -- Instrumentation Best Practices (Exposing Timestamps), Gauge Metric Semantics, and Metric Naming Conventions -- _seconds suffix.

Get the complete PCA question set $20$40

Get Full Access

Question 4 Domain 4 Instrumentation and Exporters

What is a rule group?

Correct Answer A
Explanation

In Prometheus, a rule group is a logical collection of recording and alerting rules that are evaluated sequentially at a specified interval. Rule groups are defined in YAML files under the groups: key, with each group containing a name, an interval, and a list of rules.

For example:

groups:

- name: example

interval: 1m

rules:

- record: job:http_inprogress_requests:sum

expr: sum(http_inprogress_requests) by (job)

All rules in a group share the same evaluation schedule and are executed one after another. This ensures deterministic order, especially when one rule depends on another's result.


Verified from Prometheus documentation -- Rule Configuration, Rule Groups and Evaluation Order, and Recording & Alerting Rules Guide.

Question 5 Domain 3 PromQL

What Prometheus component would you use if targets are running behind a Firewall/NAT?

Correct Answer D
Explanation

When Prometheus targets are behind firewalls or NAT and cannot be reached directly by the Prometheus server's pull mechanism, the recommended component to use is PushProx.

PushProx works by reversing the usual pull model. It consists of a PushProx Proxy (accessible by Prometheus) and PushProx Clients (running alongside the targets). The clients establish outbound connections to the proxy, which allows Prometheus to ''pull'' metrics indirectly. This approach bypasses network restrictions without compromising the Prometheus data model.

Unlike the Pushgateway (which is used for short-lived batch jobs, not network-isolated targets), PushProx maintains the Prometheus ''pull'' semantics while accommodating environments where direct scraping is impossible.


Verified from Prometheus documentation and official PushProx design notes -- Monitoring Behind NAT/Firewall, PushProx Overview, and Architecture and Usage Scenarios sections.

Question 6 Domain 3 PromQL

What is the name of the official *nix OS kernel metrics exporter?

Correct Answer B
Explanation

The official Prometheus exporter for collecting system-level and kernel-related metrics from Linux and other UNIX-like operating systems is the Node Exporter.

The Node Exporter exposes hardware and OS metrics including CPU load, memory usage, disk I/O, network traffic, and kernel statistics. It is designed to provide host-level observability and serves data at the default endpoint :9100/metrics in the standard Prometheus exposition text format.

This exporter is part of the official Prometheus ecosystem and is widely deployed for infrastructure monitoring. None of the other listed options (Prometheus_exporter, metrics_exporter, or os_exporter) are official components of the Prometheus project.


Verified from Prometheus documentation -- Node Exporter Overview, System Metrics Collection, and Official Exporters List.

Question 7 Domain 3 PromQL

What's "wrong" with the myapp_filG_uploads_total{userid=,,5123",status="failed"} metric?

Correct Answer A
Explanation

In Prometheus best practices, high-cardinality labels---especially those containing unique or user-specific 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'').


Verified from Prometheus official documentation sections Instrumentation -- Metric and Label Naming Best Practices and Writing Exporters.

Study Guide

What the Linux Foundation PCA Exam Covers

Exam domains verified against the Official Linux Foundation PCA exam guide, last checked November 2026.

Domain 1 Observability Concepts

18%

Understand the fundamentals of observability through metrics, logs, events and tracing. Learn push vs pull collection methods, service discovery patterns, and the core differences between SLOs, SLAs and SLIs.

Domain 2 Prometheus Fundamentals

20%

Master Prometheus system architecture, configuration and scraping mechanics, and the data model with labels. Understand the exposition format and Prometheus's limitations in your monitoring strategy.

Sample questions from this domain above Q1Q2Q3

Domain 3 PromQL

28%

Develop proficiency in selecting data, calculating rates and derivatives, and aggregating over time and dimensions. Learn to work with binary operators, histograms and timestamp metrics in your queries.

Sample questions from this domain above Q5Q6Q7

Domain 4 Instrumentation and Exporters

16%

Get hands-on with client libraries and exporters to instrument applications. Learn the patterns for structuring and naming metrics consistently across your infrastructure.

Sample question from this domain above Q4

Domain 5 Alerting & Dashboarding

18%

Configure alerting rules effectively and use Alertmanager to route notifications. Build dashboards that communicate system state and understand the when, what and why of alerting.

FAQ

PCA Exam FAQ

Common questions about the exam itself

What background do I need before taking the PCA exam?
There are no formal prerequisites for PCA. The exam suits engineers or developers with interest in observability and monitoring, though candidates often have experience with Kubernetes, cloud engineering, or systems administration. Some find prior exposure to monitoring concepts helpful but not required.
How hard is the Prometheus Certified Associate exam?
PCA is entry-level but not trivial. It tests both conceptual understanding and practical decision-making through multiple-choice and scenario-based questions. PromQL is widely considered the most challenging section, requiring hands-on practice with real queries and data.
Which exam domains give candidates the most trouble?
PromQL consistently ranks as the hardest domain because it requires you to write queries from scratch rather than just select answers. Study by practicing real queries against Prometheus instances and focus on rates, derivatives, and dimensional aggregation.
How long should I spend preparing for PCA?
Most candidates prepare for two to four months with consistent study, though this varies by background. Plan to spend at least 50 to 100 hours including course content, hands-on lab work, and practice exams. More time helps with PromQL fluency.
What happens on exam day for the PCA?
You take the 90-minute exam remotely with online proctoring from anywhere with internet. The exam is closed-book and multiple-choice. You need a quiet space, valid ID, and a webcam. Your score arrives by email within 24 hours.
What are the retake and rescheduling rules for PCA?
Your exam purchase includes one free retake. You have 12 months from registration to schedule and take the exam. If you fail, you can retake at no cost but must do so within your 12-month window.
How long does the PCA certification last and what renewal involves?
The certification is valid for two years. To renew, you must retake and pass the exam before it expires. There is no separate renewal process, just retaking the current version of the exam.
Which job roles is PCA designed for?
PCA suits SREs, DevOps engineers, platform engineers, systems administrators and developers focused on observability. The certification validates that you can build scraping pipelines, write PromQL queries, configure alerts and design dashboards for production systems.
How does PCA relate to other Linux Foundation certifications?
PCA is entry-level for observability. It pairs well with Kubernetes certifications like KCNA, CKA or CKAD since Prometheus is the standard monitoring tool for Kubernetes. There is no formal prerequisite chain, but many candidates pursue Kubernetes certs first.

Other Linux Foundation Exams

Free practice questions for more Linux Foundation certification exams

All Linux Foundation exams