Kuis terkait panduan · Sedang Tingkat

Pemantauan ML dengan Prometheus dan Grafana Quiz

Pilih jenis metrik Prometheus dan tampilan Grafana untuk layanan inferensi, sekaligus menghindari masalah kardinalitas dan privasi.

Pertanyaan 1 dari 8

Bagaimana Prometheus biasanya mengumpulkan metrik dari layanan model?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Bagaimana Prometheus biasanya mengumpulkan metrik dari layanan model?
    • Scrape a metrics endpoint exposed by the service
    • Read every user's prediction database directly
    • Retrain the model at each interval
    • Inspect dashboard screenshots
  2. Jenis metrik manakah yang cocok untuk jumlah permintaan kumulatif?
    • Gauge
    • Counter
    • Histogram bucket label only
    • Dashboard annotation
  3. Mengapa menghindari ID pengguna sebagai label Prometheus?
    • It prevents latency measurement
    • Ini mengubah bobot model
    • It can create an unbounded number of time series
    • It makes the metric name invalid
  4. Apa yang dapat diberikan oleh histogram latensi?
    • A direct causal explanation
    • Jaminan akurasi model
    • A raw prompt transcript
    • Aggregatable bucket counts for latency distributions
  5. Apa yang harus ditampilkan dasbor Grafana untuk layanan inferensi?
    • Hanya akurasi pelatihan model
    • Service latency, errors, traffic and relevant model signals
    • Every raw user prompt
    • Only the most recent prediction
  6. Why separate service health alerts from model-quality monitoring?
    • Quality never changes after deployment
    • Prometheus cannot store model metrics
    • A service can be available while predictions are poor, or vice versa
    • Latency is the only useful metric
  7. Where should raw request IDs or sensitive prompt text generally be handled?
    • Public dashboard titles
    • Unbounded Prometheus labels
    • Metric names
    • Controlled logs or traces with access and retention policies
  8. What does a pending period in an alert rule help with?
    • Avoiding alerts on brief transient metric spikes
    • Reducing metric cardinality
    • Improving model calibration
    • Changing histogram buckets after collection