PCA Promql Practice Question
What is the primary difference between an instant vector and a range vector in PromQL?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
An instant vector contains a single sample per time series, while a range vector contains a set of samples over time.
Instant vectors contain a single sample per time series for the given timestamp, whereas range vectors contain a set of data points over a time window.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
An instant vector contains a single sample per time series, while a range vector contains a set of samples over time.
Why this is correct
Correct. Instant vectors represent a single point in time, range vectors represent a historical window.
- ✗
An instant vector includes timestamps from the future, while range vectors are strictly historical.
Why it's wrong here
Neither vector type includes timestamps from the future.
- ✗
An instant vector can only be used with counters, while range vectors can only be used with gauges.
Why it's wrong here
Both vector types can be used with both metric types depending on the function.
- ✗
A range vector evaluates faster because it caches historical calculations.
Why it's wrong here
Range vectors require more memory and evaluation overhead due to processing multiple points.
About these practice questions
This PCA question is part of Courseiva's 304-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This PCA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.