Prometheus Certified Associate (PCA) — Questions and Answers
Question 1: Which exporter is commonly used to expose PostgreSQL database metrics for Prometheus?
- postgres_exporter (Correct answer)
- sql_exporter
- db_exporter
- postgresql_exporter
Correct answer: postgres_exporter
The `postgres_exporter` (by Prometheus Community) connects to PostgreSQL and exposes connection counts, query stats, replication lag, and more.
Question 2: Why is it important to set up proper alerting in Prometheus?
- To detect and address issues proactively (Correct answer)
- To increase system performance
- To reduce data volume
- To monitor logs
Correct answer: To detect and address issues proactively
Proper alerting in Prometheus is crucial for maintaining system reliability and performance. By setting up alerts for critical thresholds or abnormal behavior, operations teams can be notified immediately when problems arise. This proactive notification enables swift investigation and resolution, minimizing downtime and potential impact on users.
Question 3: When using `group_left` in a binary operation, what does it signify?
- Labels are copied from the right side to the left side result
- The left-hand side has more labels and the result keeps all left-hand labels
- The left-hand side is grouped first before matching
- The left-hand side has fewer unique label sets (many-to-one matching) (Correct answer)
Correct answer: The left-hand side has fewer unique label sets (many-to-one matching)
`group_left` indicates a many-to-one match where multiple left-side series can match a single right-side series, and optionally copies labels from the right side.
Question 4: What is the role of a Prometheus exporter?
- It exports Prometheus TSDB blocks to an external backup system
- It forwards Prometheus alerts to external notification channels
- It converts Prometheus metrics to Grafana JSON format
- It translates metrics from a third-party system into the Prometheus exposition format and exposes them on an HTTP endpoint (Correct answer)
Correct answer: It translates metrics from a third-party system into the Prometheus exposition format and exposes them on an HTTP endpoint
An exporter is a bridge that reads metrics from a system that doesn't natively support Prometheus and exposes them in Prometheus text format for scraping.
Question 5: What is a dashboard in Grafana?
- A configuration panel
- A tool for storing data
- A visual representation of metrics (Correct answer)
- A query tool
Correct answer: A visual representation of metrics
A Grafana dashboard is a collection of panels, such as graphs and tables, that display metrics from data sources like Prometheus. It gives an at-a-glance view of system health.
Question 6: What does the `labelmap` action in relabel_configs do?
- Maps label values to integer codes
- Copies all labels matching a regex into new labels with transformed names (Correct answer)
- Converts label names to uppercase
- Removes all labels from a target
Correct answer: Copies all labels matching a regex into new labels with transformed names
labelmap matches existing label names against a regex and creates new labels with names derived from the match groups.
Question 7: What OAuth2 configuration capability does Prometheus support natively in scrape_configs?
- Authorization code flow for user-facing authentication
- SAML-based federated identity for scrape targets
- PKCE-secured token exchange for dashboards
- Client credentials flow to obtain a bearer token before scraping (Correct answer)
Correct answer: Client credentials flow to obtain a bearer token before scraping
Prometheus's oauth2 block supports the client credentials grant, allowing it to fetch access tokens to authenticate against protected scrape endpoints.
Question 8: What does the `group_left` modifier do in a PromQL join, commonly used in recording rules?
- It groups all left-side series by their job label before aggregation
- It forces the left operand to be evaluated before the right operand
- It merges two recording rule groups with overlapping metrics
- It performs a many-to-one join, carrying labels from the right-hand side onto many left-hand series (Correct answer)
Correct answer: It performs a many-to-one join, carrying labels from the right-hand side onto many left-hand series
group_left allows a many-to-one vector matching where multiple left-side series match one right-side series, copying right-side labels onto the result.
Question 9: What is the role of the Prometheus Alertmanager?
- To scrape metrics
- To visualize metrics
- To manage alerts and send notifications (Correct answer)
- To store metrics
Correct answer: To manage alerts and send notifications
The Prometheus Alertmanager manages alerts, including grouping, silencing, and sending notifications to users or external systems.
Question 10: What is a common challenge in troubleshooting with Prometheus?
- Tracking tenant behavior
- Managing large volumes of data and efficient queries (Correct answer)
- Writing scripts
- Storing alerts
Correct answer: Managing large volumes of data and efficient queries
As systems scale, Prometheus can collect vast amounts of metric data, making it challenging to store, query, and analyze efficiently. Crafting optimized PromQL queries that perform well across large datasets requires skill, and inefficient queries can strain the Prometheus server. Effective data retention policies and query optimization are essential for successful troubleshooting in such environments.
Question 11: The `statsd_exporter` converts StatsD metrics to Prometheus format using which configuration file feature?
- scrape_configs mapping
- Mapping rules that translate StatsD metric names to Prometheus labels and names (Correct answer)
- Prometheus relabel_configs
- PromQL transform rules
Correct answer: Mapping rules that translate StatsD metric names to Prometheus labels and names
The statsd_exporter's mapping configuration translates dot-separated StatsD metric names into Prometheus metric names with proper labels using regex-based mapping rules.
Question 12: What is the recommended way to add TLS encryption to Prometheus scrape endpoints?
- Enable the --tls flag on the Prometheus binary
- Use IPtables to encrypt TSDB traffic
- Configure tls_config in the scrape job or use a reverse proxy with TLS termination (Correct answer)
- Configure TLS via recording_rules
Correct answer: Configure tls_config in the scrape job or use a reverse proxy with TLS termination
Prometheus supports tls_config in scrape_configs to present or verify TLS certificates, or you can terminate TLS at a reverse proxy.
Question 13: When configuring the match[] parameter on the /federate endpoint, which selector would correctly fetch all metrics from the 'node' job?
- job="node"
- {job~="node"}
- match(job, "node")
- {job="node"} (Correct answer)
Correct answer: {job="node"}
The match[] parameter accepts standard PromQL instant vector selectors using curly-brace syntax, so {job="node"} is the correct form to select all series for the node job.
Question 14: What metric does the blackbox_exporter expose to indicate whether a probe succeeded?
- probe_status
- blackbox_probe_ok
- endpoint_up
- probe_success (Correct answer)
Correct answer: probe_success
`probe_success` is set to 1 when a probe passes all checks and 0 when any check fails, serving as the primary availability signal.
Question 15: What does the `delta()` function return when applied to a gauge metric in PromQL?
- The maximum minus minimum value in the range
- The sum of all changes (absolute) in the range
- The difference between the first and last value in the range (Correct answer)
- The per-second rate of change
Correct answer: The difference between the first and last value in the range
`delta()` calculates the difference between the first and last value of a gauge in the range vector, using extrapolation to fill edge gaps.
Question 16: In Prometheus client libraries, what does calling `Inc()` on a Counter do?
- Initializes the counter at 1 and resets it on subsequent calls
- Decrements the counter by 1 (alias for Dec())
- Increments the counter value by 1 (Correct answer)
- Increments the counter by the current timestamp in milliseconds
Correct answer: Increments the counter value by 1
Calling Inc() on a Prometheus Counter adds exactly 1 to its value; use Add(n) to increment by an arbitrary positive amount.
Question 17: In Prometheus, what is the role of `source_labels` in a relabel_configs entry?
- They define the labels written to remote storage
- They specify which existing labels are read as input for the relabeling action (Correct answer)
- They list labels that trigger alert rules
- They name the output labels after relabeling
Correct answer: They specify which existing labels are read as input for the relabeling action
source_labels selects the labels whose concatenated values are tested against the relabeling regex.
Question 18: Which Prometheus feature enables long-term metric storage by sending data to an external system?
- recording_rules
- remote_write (Correct answer)
- file_sd_configs
- federation
Correct answer: remote_write
remote_write streams scraped metrics to an external storage backend like Thanos, Cortex, or VictoriaMetrics for long-term retention.
Question 19: When instrumenting a web server with Prometheus, which metric type should track the total number of HTTP requests served?
- Gauge
- Counter (Correct answer)
- Summary
- Histogram
Correct answer: Counter
HTTP requests are a monotonically increasing count, so a Counter is the correct type; you can then use rate() to compute requests per second.
Question 20: In a Prometheus rule file, which YAML key defines a recording rule's output metric name?
- name
- output
- metric
- record (Correct answer)
Correct answer: record
The `record` key in a rule group entry specifies the name of the new time series that the rule's expression will be written to.
Question 21: Which Prometheus service discovery mechanism discovers targets using Kubernetes API watch calls?
- dns_sd_config
- http_sd_config
- file_sd_config
- kubernetes_sd_config (Correct answer)
Correct answer: kubernetes_sd_config
`kubernetes_sd_config` uses the Kubernetes API to discover pods, services, endpoints, ingresses, and nodes as scrape targets.
Question 22: What does the `topk(3, http_requests_total)` expression return?
- The 3 most frequently scraped targets
- The top 3 values averaged over the last 5 minutes
- The 3 time series with the highest values at the current moment (Correct answer)
- The 3 labels with the highest cardinality
Correct answer: The 3 time series with the highest values at the current moment
`topk(k, expr)` returns the k time series with the largest values at the current evaluation timestamp.
Question 23: What is the purpose of the `__metrics_path__` label in Prometheus service discovery?
- It specifies the URL path on the target from which metrics are scraped (Correct answer)
- It defines the local filesystem path for metric storage
- It sets the Prometheus rule file path
- It names the remote_write endpoint
Correct answer: It specifies the URL path on the target from which metrics are scraped
The __metrics_path__ label overrides the default /metrics path used when scraping a specific target.
Question 24: What is the role of labels in troubleshooting Prometheus metrics?
- To monitor configuration files
- To identify alert triggers
- To define data retention
- To group and filter metrics for troubleshooting (Correct answer)
Correct answer: To group and filter metrics for troubleshooting
Labels are key-value pairs attached to Prometheus metrics, providing rich dimensionality. They allow users to group related metrics, filter data based on specific criteria (e.g., by instance, service, or environment), and drill down into issues during troubleshooting. This granular categorization is crucial for efficiently identifying the root cause of problems within complex systems.
Question 25: How does Prometheus alerting work?
- By storing alerts in a separate system
- By generating logs
- By notifying users when thresholds are met (Correct answer)
- By collecting data
Correct answer: By notifying users when thresholds are met
Prometheus alerting uses alert rules defined in PromQL to notify users when certain conditions are met, such as system performance thresholds being exceeded.
Question 26: What does the Prometheus Pushgateway allow you to do?
- Push TSDB blocks to remote object storage
- Push configuration changes to Prometheus without a restart
- Push alert notifications from Prometheus to Alertmanager
- Push metrics from short-lived jobs to an intermediary that Prometheus can scrape (Correct answer)
Correct answer: Push metrics from short-lived jobs to an intermediary that Prometheus can scrape
The Pushgateway accepts metrics pushed from batch jobs or crons that exit before Prometheus can scrape them, holding the last pushed value until overwritten.
Question 27: How does Prometheus handle a bearer token stored in a file for scrape authentication?
- It hashes the token file and only re-reads if the hash changes
- It reads the file once at startup and caches it permanently
- It requires a Prometheus restart whenever the token file is updated
- It reads the token file on each scrape, automatically picking up rotated tokens (Correct answer)
Correct answer: It reads the token file on each scrape, automatically picking up rotated tokens
Using bearer_token_file, Prometheus re-reads the token on each scrape interval, supporting dynamic token rotation without restarts.
Question 28: What is the role of Grafana in Prometheus?
- To store data
- To visualize data in dashboards (Correct answer)
- To write queries
- To collect data
Correct answer: To visualize data in dashboards
Grafana connects to Prometheus as a data source. It runs PromQL queries and shows the results as graphs and dashboards. Prometheus handles scraping, storage, querying and rule evaluation; Grafana handles the visualization.
Question 29: Which cAdvisor metric prefix is commonly used to expose container CPU and memory metrics to Prometheus?
- container_ (Correct answer)
- docker_stats_
- k8s_container_
- kubelet_container_
Correct answer: container_
cAdvisor exposes container resource usage metrics with the container_ prefix, such as container_cpu_usage_seconds_total and container_memory_usage_bytes.
Question 30: What is the default scrape path Prometheus uses if `__metrics_path__` is not set for a target?
- /status
- /prometheus/metrics
- /health
- /metrics (Correct answer)
Correct answer: /metrics
Prometheus scrapes the /metrics path by default when no custom __metrics_path__ label is provided.
Question 31: What is the purpose of Prometheus' storage system?
- To store configuration files
- To store logs
- To store all application data
- To provide fast access to recent time-series data (Correct answer)
Correct answer: To provide fast access to recent time-series data
Prometheus's custom-built time-series database is highly optimized for the specific workload of monitoring data. It is designed to efficiently store and retrieve large volumes of time-stamped metrics, particularly prioritizing fast querying and access to recent data for real-time dashboards and alerting.
Question 32: How can external systems be integrated with Prometheus for alerting?
- By storing alerts in external databases
- By exporting alerts to CSV
- By using the Alertmanager to send notifications to external systems (Correct answer)
- By writing custom scripts
Correct answer: By using the Alertmanager to send notifications to external systems
Prometheus itself generates alerts, but it delegates the responsibility of handling and routing these alerts to the Alertmanager. The Alertmanager acts as a central hub, deduplicating, grouping, and routing alerts to various external notification systems like email, Slack, PagerDuty, or custom webhooks. This separation allows for flexible and robust alert management and integration.
Question 33: What is the purpose of a 'stale marker' sent by Prometheus via remote_write?
- Flagging series that have inconsistent or unexpected label set changes
- Marking metric series that have exceeded the local retention period for cleanup
- Signaling to the remote storage backend that a time series has stopped being scraped (Correct answer)
- Indicating that the remote_write send queue has reached its capacity limit
Correct answer: Signaling to the remote storage backend that a time series has stopped being scraped
When Prometheus detects that a target is no longer producing a metric (e.g., the target disappeared), it sends a special NaN stale marker so remote storage can properly close that series.
Question 34: What Kubernetes RBAC resource does a Prometheus service account typically need to perform pod-level service discovery?
- ValidatingWebhookConfiguration for metric admission
- ClusterRole with get/list/watch on pods, endpoints, and nodes (Correct answer)
- NetworkPolicy allowing egress to the API server
- PodSecurityPolicy with hostNetwork access
Correct answer: ClusterRole with get/list/watch on pods, endpoints, and nodes
Prometheus needs a ClusterRole granting get, list, and watch permissions on pods, services, endpoints, and nodes to perform Kubernetes service discovery.
Question 35: How does Prometheus collect metrics?
- By importing CSV files
- By pushing data to servers
- By scraping endpoints over HTTP (Correct answer)
- By pulling data from APIs
Correct answer: By scraping endpoints over HTTP
Prometheus primarily uses a pull model to collect metrics. It is configured to periodically scrape (fetch) metrics from instrumented applications or services by making HTTP requests to specific `/metrics` endpoints. This method allows Prometheus to actively collect data from targets rather than waiting for data to be pushed to it, ensuring consistent and controlled data acquisition.
Question 36: What does the `__address__` label represent in Prometheus service discovery?
- The alertmanager endpoint
- The Prometheus server's own address
- The host:port of the scrape target (Correct answer)
- The metric namespace prefix
Correct answer: The host:port of the scrape target
The __address__ label holds the host:port string that Prometheus will use to scrape a target.
Question 37: What does the Prometheus blackbox_exporter do?
- Monitors Prometheus itself for internal health metrics
- Probes external endpoints via HTTP, TCP, ICMP, or DNS and reports availability and latency metrics (Correct answer)
- Scrapes metrics from containers without instrumentation
- Exports metrics from black-box encrypted data stores
Correct answer: Probes external endpoints via HTTP, TCP, ICMP, or DNS and reports availability and latency metrics
The blackbox_exporter performs synthetic probing of endpoints and exposes probe success, response time, and status code as Prometheus metrics.
Question 38: Which exporter is the standard choice for exposing Linux host-level metrics such as CPU, memory, and disk?
- blackbox_exporter
- host_exporter
- node_exporter (Correct answer)
- process_exporter
Correct answer: node_exporter
The `node_exporter` exposes a comprehensive set of hardware and OS metrics from Linux/Unix hosts via `/proc` and `/sys`.
Question 39: Why might setting a very short TSDB retention period cause high disk I/O in Prometheus?
- More WAL segments are written per second at shorter retention
- Frequent block deletions and compactions run more often to purge data quickly (Correct answer)
- Remote write batching is disabled when retention is under 24 hours
- Prometheus re-indexes all series more frequently at short retention
Correct answer: Frequent block deletions and compactions run more often to purge data quickly
Short retention causes Prometheus to compact and delete blocks more frequently, increasing background disk activity.
Question 40: What Prometheus metric type should you use to track a value that can both increase and decrease, such as the number of active connections?
- Histogram
- Counter
- Summary
- Gauge (Correct answer)
Correct answer: Gauge
Gauges represent values that can arbitrarily go up or down, making them ideal for point-in-time measurements like queue depth or active connections.
Question 41: What is the recommended approach for instrumenting a new Go application with Prometheus?
- Write metrics to a file for file_sd to pick up
- Use the Pushgateway for all application metrics
- Import the prometheus/client_golang library and register metrics with the default registry (Correct answer)
- Embed the statsd_exporter as a sidecar
Correct answer: Import the prometheus/client_golang library and register metrics with the default registry
The official `prometheus/client_golang` library provides Counter, Gauge, Histogram, and Summary types that auto-register with the default registry and expose via an HTTP handler.
Question 42: Which Prometheus configuration block allows per-target scrape parameter overrides such as custom query params?
- target_params
- scrape_params
- params (Correct answer)
- query_params
Correct answer: params
The `params` map in a scrape_config appends arbitrary HTTP query parameters to every scrape request, commonly used with multi-target exporters.
Question 43: What is the primary use case for hierarchical federation in a large enterprise environment?
- Reducing per-target scrape intervals across regions
- Replicating raw metrics for high availability failover
- Collecting aggregated metrics from multiple data centers into a global Prometheus (Correct answer)
- Sending alerts from multiple clusters to a single Alertmanager
Correct answer: Collecting aggregated metrics from multiple data centers into a global Prometheus
Hierarchical federation is used to build a global Prometheus that scrapes aggregated or pre-recorded metrics from datacenter-level Prometheus servers.
Question 44: How can Prometheus be used for troubleshooting?
- By tracking configuration changes
- By storing error messages
- By analyzing logs
- By providing time-series data to investigate issues (Correct answer)
Correct answer: By providing time-series data to investigate issues
Prometheus helps troubleshoot by providing time-series data, enabling users to query specific metrics and investigate system performance issues.
Question 45: What Prometheus label controls which Alertmanager instance a particular alert is routed to?
- alertmanager_url
- __replica__
- There is no per-alert routing to specific Alertmanagers (Correct answer)
- __alertmanager__
Correct answer: There is no per-alert routing to specific Alertmanagers
Prometheus sends all alerts to all configured Alertmanager instances; per-alert Alertmanager selection is not a Prometheus feature — routing is handled inside Alertmanager.
Question 46: Which Prometheus service discovery type polls an HTTP endpoint that returns a JSON list of targets?
- http_sd_configs (Correct answer)
- static_configs
- consul_sd_configs
- file_sd_configs
Correct answer: http_sd_configs
http_sd_configs retrieves scrape targets by calling an HTTP URL that returns a JSON-formatted target list.
Question 47: What is a Prometheus 'block' on disk?
- A single scrape result file per target
- An immutable directory containing chunks, an index, and metadata for a fixed time range (Correct answer)
- A WAL segment written every 15 seconds
- A JSON export of all active time series
Correct answer: An immutable directory containing chunks, an index, and metadata for a fixed time range
A TSDB block is an immutable directory holding compressed chunk files, an inverted index, and a meta.json describing its time range.
Question 48: What are the key components of the Prometheus ecosystem?
- Exporters and Grafana only
- Grafana and SQL
- Prometheus and alertmanager only
- Prometheus, exporters, alertmanager, and visualization tools (Correct answer)
Correct answer: Prometheus, exporters, alertmanager, and visualization tools
The Prometheus ecosystem includes the Prometheus server, exporters, Alertmanager, the Pushgateway and visualization tools such as Grafana.
Question 49: What is the purpose of labels in Prometheus metrics?
- To provide additional context for metrics (Correct answer)
- To classify metrics into categories
- To track changes over time
- To store timestamps
Correct answer: To provide additional context for metrics
Labels are key-value pairs that add dimensions to a metric, such as instance, job or status code. They give each series context and let you filter and aggregate across those dimensions.
Question 50: What happens when Prometheus evaluates a recording rule that produces no series (empty result)?
- The rule writes a 0 value to prevent gaps in the recorded metric
- Prometheus raises a rule evaluation error and logs a warning
- The rule is disabled automatically after 3 consecutive empty results
- No new data points are written for that evaluation interval (Correct answer)
Correct answer: No new data points are written for that evaluation interval
If a recording rule returns an empty result, Prometheus simply writes nothing for that interval, leaving a gap in the recorded metric.
Question 51: What does the remote_write configuration block in prometheus.yml enable?
- Reading historical metrics from a remote TSDB
- Streaming live metrics to connected Grafana instances
- Pushing alert rules to an external rules engine
- Forwarding sampled metrics to a remote storage backend in near-real-time (Correct answer)
Correct answer: Forwarding sampled metrics to a remote storage backend in near-real-time
remote_write sends metric samples to a compatible remote storage endpoint as they are ingested, enabling long-term or scalable storage.
Question 52: What is the purpose of a Prometheus `Collector` interface in client libraries?
- It collects all registered metrics and writes them to the /metrics endpoint atomically
- It defines the collection interval for metrics that require polling
- It batches scrape results before sending them to the Prometheus server
- It allows custom metric sources to register and describe their metrics dynamically rather than declaring them statically (Correct answer)
Correct answer: It allows custom metric sources to register and describe their metrics dynamically rather than declaring them statically
The Collector interface lets you implement custom metric collection logic where metric descriptors and values are generated dynamically at scrape time.
Question 53: Which node_exporter collector exposes filesystem usage metrics such as available bytes per mount point?
- filesystem (Correct answer)
- diskstats
- mountstats
- blockdevice
Correct answer: filesystem
The `filesystem` collector reads `/proc/mounts` and `statfs` syscalls to expose metrics like `node_filesystem_avail_bytes` per device and mount point.
Question 54: What is an alerting rule in Prometheus?
- A condition in PromQL that triggers an alert (Correct answer)
- A notification to users
- A setting in the Grafana dashboard
- A query to fetch data
Correct answer: A condition in PromQL that triggers an alert
An alerting rule in Prometheus defines a specific condition, expressed using the Prometheus Query Language (PromQL), that, when met, indicates a potential issue. These rules are evaluated periodically, and if the condition remains true for a specified duration, an alert is triggered. This mechanism allows Prometheus to proactively identify and signal problems based on collected metrics.
Question 55: What is the correct PromQL syntax for a subquery that evaluates `rate(http_requests_total[5m])` over the last 1 hour at 1-minute resolution?
- `rate(http_requests_total[5m])[1h]`
- `rate(http_requests_total[5m:1m])[1h]`
- `subquery(rate(http_requests_total[5m]), 1h, 1m)`
- `rate(http_requests_total[5m])[1h:1m]` (Correct answer)
Correct answer: `rate(http_requests_total[5m])[1h:1m]`
Subquery syntax appends `[range:resolution]` to a range expression, so `[1h:1m]` evaluates the inner expression over 1 hour at 1-minute steps.
Question 56: How long does Prometheus keep data in memory before writing it to a disk block by default?
- 1 hour
- 2 hours (Correct answer)
- 24 hours
- 15 minutes
Correct answer: 2 hours
Prometheus accumulates data in a head block in memory for approximately 2 hours before compacting it to disk.
Question 57: What is the primary role of Prometheus in monitoring?
- To store logs
- To collect and store metrics (Correct answer)
- To visualize data
- To create applications
Correct answer: To collect and store metrics
Prometheus's primary role is to scrape and store metrics as time series and make them queryable with PromQL. Visualization is mostly done by tools like Grafana.
Question 58: What naming convention does Prometheus recommend for recording rule metric names?
- metric_name_rule (e.g., http_requests_total_rule)
- agg_metric_name (e.g., agg_http_requests_total)
- record_metric_name (e.g., record_http_requests)
- level:metric:operations (e.g., job:http_requests_total:rate5m) (Correct answer)
Correct answer: level:metric:operations (e.g., job:http_requests_total:rate5m)
The recommended format is level:metric:operations, encoding aggregation level, source metric, and transformations into the name.
Question 59: Which service discovery mechanism allows Prometheus to discover targets registered in HashiCorp Consul?
- http_sd_configs
- dns_sd_configs
- static_configs
- consul_sd_configs (Correct answer)
Correct answer: consul_sd_configs
consul_sd_configs integrates Prometheus with HashiCorp Consul to dynamically discover services registered there.
Question 60: What is the purpose of monitoring in Prometheus?
- To collect logs
- To collect metrics and monitor system performance (Correct answer)
- To store data
- To generate alerts only
Correct answer: To collect metrics and monitor system performance
Prometheus monitoring means scraping metrics from targets at regular intervals and storing them as time series. They can then be queried with PromQL, graphed, and used for alerting. It is built for metrics, not logs.
Question 61: Which exporter is the standard choice for exposing Linux/Unix OS-level metrics like CPU, memory, and disk to Prometheus?
- node_exporter (Correct answer)
- process_exporter
- cadvisor
- blackbox_exporter
Correct answer: node_exporter
The node_exporter exposes hardware and OS metrics from /proc and /sys on Linux hosts in Prometheus exposition format.
Prometheus Certified Associate (PCA)
The PCA certifies foundational knowledge of Prometheus monitoring and observability, covering PromQL, Prometheus architecture, instrumentation, exporters, and alerting. It is offered by the Linux Foundation and CNCF.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds
Practice questions written with AI assistance and published by Nathan Beja, founder of Practice Test Geeks. They are not real exam questions. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- training.linuxfoundation.org — Test delivery, eligibility, exam information · verified Oct 2026
- cncf.io — Fees, retake policy · verified Oct 2026
- docs.linuxfoundation.org — Registration deadline, exam format, score release, time limit, passing score, renewal, score validity · verified Oct 2026