PCA · domain
Prometheus Fundamentals
Prometheus Fundamentals covers the core data model, metric types, scrape-based collection, and PromQL basics that every PCA candidate must know. Questions test retention defaults, the Pushgateway's role, the synthetic 'up' metric, and rate() semantics. Expect direct recall plus scenario items distinguishing counters, gauges, histograms, and summaries in real configurations.
Focused practice
Practice Prometheus Fundamentals questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Prometheus Fundamentals
Be able to state Prometheus's default retention, explain Pushgateway's batch-job purpose and stale-metric caveat, read the 'up' metric for scrape health, and apply rate() to counters over a range vector. The single most important thing: rate() requires a counter and a range selector, returning per-second values.
Default Prometheus TSDB retention period and how --storage.tsdb.retention.time overrides it
Pushgateway behavior: batch job metrics, no automatic deletion, and its limitations for service monitoring
The 'up' metric: synthetic per-target scrape health indicator, value 1 or 0
PromQL rate() and irate() converting counters to per-second rates over a range vector
Watch out for
Common Prometheus Fundamentals exam traps
- ▸Assuming Pushgateway is a general metrics proxy; it is only for short-lived batch jobs and never deletes pushed series automatically
- ▸Confusing rate() with increase() or applying rate() to gauges instead of counters
- ▸Believing 'up' reflects application health rather than whether the scrape itself succeeded
Question index
All Prometheus Fundamentals questions (44)
Click any question to see the full explanation, or start a practice session above.
You are deploying Prometheus in a Kubernetes cluster and need to ensure it discovers pods labeled 'app=frontend'. Which configuration block is required?
Easy2Which label is used to group alerts in Alertmanager?
Medium3Which THREE conditions cause a scrape to be unsuccessful?
Hard4Which THREE features are provided by the Prometheus HTTP API?
Hard5Which TWO of the following are valid ways to configure target discovery in Prometheus?
Medium6Which component is best suited for long-term storage?
Easy7Which THREE of the following metrics are automatically added to all scraped targets?
Hard8Which mechanism allows Prometheus to discover targets by reading a list from a file?
Medium9What is the purpose of the 'rule_files' configuration?
Medium10What is the primary language used to query Prometheus data?
Easy11What is the default port that Prometheus listens on?
Easy12Which component is responsible for receiving alerts from Prometheus and managing notification delivery?
Easy13When a Prometheus server is restarted, how does it recover the in-memory data?
Hard14What is the benefit of using recording rules?
Medium15Your Prometheus server is hitting high memory usage due to high cardinality. Which action is most effective at reducing memory pressure?
Hard16What is the purpose of 'tombstones' in the TSDB?
Hard17Which THREE of the following are common sources of high cardinality?
Hard18What is the default value for the scrape interval?
Easy19Which TWO of the following are core responsibilities of the Prometheus server?
Medium20Where do you define the scrape interval for a specific target?
Easy21Which TSDB component is responsible for ensuring data durability if the server crashes?
Medium22Which operator performs a set union in PromQL?
Medium23What happens if a label set for a metric changes during its lifetime?
Hard24You are performing a 'label_replace' operation. What is the correct syntax for a regex capture group?
Hard25In the Prometheus data model, what is a 'sample'?
Medium26What is the default retention period for Prometheus data?
Easy27Which TWO of the following are true about the Pushgateway?
Medium28When using the 'scrape_timeout', what happens if the timeout is reached?
Medium29Which function is used to convert a counter rate into a per-second rate over a time range?
Medium30Which THREE of the following are required to expose a new metric in an application?
Hard31A batch job runs for only 30 seconds every hour. How should you expose these metrics to Prometheus?
Medium32Which component allows Prometheus to be scaled horizontally for high availability?
Medium33Which TWO of the following are valid data types in Prometheus?
Medium34Which TWO of the following can be configured globally?
Medium35When configuring Alertmanager to send notifications to Slack, which block defines the routing tree?
Medium36Which file format does Prometheus use for its main configuration?
Easy37Which metric type is best for reporting the number of requests received by a service?
Medium38Which THREE labels are often considered part of the default Prometheus ecosystem metrics?
Hard39Which THREE of the following are components of a Prometheus alert state?
Hard40Which THREE of the following are valid Prometheus TSDB file types?
Hard41What is the purpose of the 'up' metric?
Easy42Which TWO of the following are valid Alertmanager configuration blocks?
Medium43What is the behavior of the 'absent()' function?
Hard44Which TWO of the following are valid ways to run Prometheus?
MediumOther domains
All PCA exam domains
Frequently asked questions
- What does the Prometheus Fundamentals domain cover on the PCA exam?
- Be able to state Prometheus's default retention, explain Pushgateway's batch-job purpose and stale-metric caveat, read the 'up' metric for scrape health, and apply rate() to counters over a range vector. The single most important thing: rate() requires a counter and a range selector, returning per-second values.
- How many questions are in this domain?
- This page lists all 44 Prometheus Fundamentals questions in the PCA question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Prometheus Fundamentals questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.