20+ practice questions focused on Promql — one of the most tested topics on the Prometheus Certified Associate (PCA, CNCF/Linux Foundation) (PCA) exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Promql PracticeAn operator needs to query the current, un-extrapolated rate of increase per second over the last 5 minutes for a counter metric named http_requests_total. Which function should they use?
Explanation: The irate() function calculates the per-second rate of increase of a time series based on the last two data points in the specified range window, making it ideal for volatile, high-frequency counters.
An engineer needs to determine the total absolute increase in disk space consumed over the last 3 hours using a gauge metric node_disk_bytes_used. Which function is appropriate?
Explanation: The increase() function is designed for counters, but delta() calculates the difference between the first and last value of a range vector, making it suitable for gauges.
Which label matcher operator is used for exact equality in PromQL selectors?
Explanation: The = operator is the standard label matcher for exact string equality.
You are joining an instant vector of application versions with an instant vector of metrics using a many-to-one relationship. The application version vector has more labels than the metric vector. Which keyword must be appended to the matching modifier to include labels from the 'many' side?
Explanation: In many-to-one or one-to-many matches, group_left or group_right must be provided to specify which side supplies additional labels.
An operator writes the query sum(rate(http_requests_total[5m])) without any aggregation clauses. What is the output format?
Explanation: Aggregations without a by or without clause aggregate all time series into a single global vector with no labels.
+15 more Promql questions available
Practice all Promql questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Promql. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Promql questions on the PCA frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Promql is tested as part of the Prometheus Certified Associate (PCA, CNCF/Linux Foundation) (PCA) blueprint. Practicing with targeted Promql questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free PCA practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Promql is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Promql practice session with instant scoring and detailed explanations.
Start Promql Practice →