フリー問題

Prometheus Certified Associate のフリー問題 10 / 20 問目

問題文

A graph of rate(http_requests_total[1m]) shows long empty stretches. The scrape interval for that job is 60 seconds. What is the most likely cause, and what is the fix?

選択肢

  1. The window is too short for two samples, so the rate cannot be computed. Widening it to several scrape intervals fixes it.
  2. The metric is a gauge value, so the rate function silently returns nothing. Switching to the average over time fixes the gaps.
  3. The counter is resetting on every new scrape, which makes the rate correction discard the result. Restarting the target fixes it.
  4. The lookback period is shorter than the window, so the selector finds nothing. Raising the lookback period to one hour fixes it.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。