フリー問題

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

問題文

An engineer needs the samples of http_requests_total from the last five minutes as input to a function. Which expression produces a range vector, and what does the square bracket syntax mean?

選択肢

  1. http_requests_total @ 5m produces the range vector, because the at modifier pins the evaluation to a five-minute window.
  2. http_requests_total offset 5m selects the samples of the preceding five minutes, because the offset modifier widens the selection window to that duration.
  3. http_requests_total[5m] selects, for each matching series, the samples recorded within the preceding five minutes rather than a single value.
  4. sum_over_time(http_requests_total) produces the range vector, because the function name and its suffix declare the intent to look back over time.

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

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