Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation PCA Exam - Topic 1 Question 12 Discussion

Posted by Ethan on Apr 07, 2026 at 09:28 PM

Which of the following metrics is unsuitable for a Prometheus setup?

Suggested Answer: D

The metric user_last_login_timestamp_seconds{email='john.doe@example.com'} is unsuitable for Prometheus because it includes a high-cardinality label (email). Each unique email address would generate a separate time series, potentially numbering in the millions, which severely impacts Prometheus performance and memory usage.

Prometheus is optimized for low- to medium-cardinality metrics that represent system-wide behavior rather than per-user data. High-cardinality metrics cause data explosion, complicating queries and overwhelming the storage engine.

By contrast, the other metrics---prometheus_engine_query_log_enabled, promhttp_metric_handler_requests_total{code='500'}, and http_response_total{handler='static/*filepath'}---adhere to Prometheus best practices. They represent operational or service-level metrics with limited, manageable label value sets.


Extracted and verified from Prometheus documentation -- Metric and Label Naming Best Practices, Cardinality Management, and Anti-Patterns for Metric Design sections.

Get Premium PCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
ME
Merrilee 2 months ago
Yeah, D should not be in Prometheus.
AN
Anjelica 2 months ago
C seems okay, but D is just too personal.
CA
Carmelina 2 months ago
A is fine, but D is definitely not a good metric.
DA
Daron 2 months ago
I feel like A is also questionable.
PA
Paz 3 months ago
Agreed, D doesn't fit well.
ME
Mee 3 months ago
I think D is unsuitable. Too specific.
DA
Dahlia 3 months ago
D is definitely the odd one out.
LA
Laurene 3 months ago
B is useful for tracking errors.
AN
Anthony 3 months ago
C seems fine. It's a valid metric.
SY
Sylvia 3 months ago
I like A. It's a config option, not a metric.
BR
Brynn 4 months ago
Agreed, D doesn't fit well.
BA
Barbra 4 months ago
I think D is unsuitable. Too specific.
HE
Herman 4 months ago
A is the one that stands out as unsuitable.
WI
Willard 4 months ago
B and C are totally valid metrics, no doubt!
EL
Elza 4 months ago
Wait, why would D be a problem? Seems fine to me.
GA
Galen 6 months ago
I think A is the right answer here!
TE
Tesha 6 months ago
D is definitely not suitable for Prometheus.
OR
Oren 7 months ago
I’m leaning towards D as well, but I’m not confident. It just seems like it wouldn’t fit the usual metric patterns we discussed.
TY
Ty 7 months ago
I feel like I've seen a similar question before, and I think it was about the format of the metrics. Could it be A?
RE
Rebbecca 7 months ago
I'm not entirely sure, but I remember something about metrics needing to be aggregated. Maybe option C is the odd one out?
DA
Dan 7 months ago
I think option D might be the one that's unsuitable since it seems too specific for Prometheus metrics.
0/2000 characters

Save Cancel