Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

Which metric type uses the delta() function?

A.

Info

B.

Histogram

C.

Gauge

D.

Counter

http_requests_total{verb="POST"} 30

http_requests_total{verb="GET"} 30

What is the issue with the metric family?

A.

Metric names are missing a prefix to indicate which application is exposing the query.

B.

The value represents two different things across the dimensions: code and verb.

C.

verb label content should be normalized to lowercase.

D.

Unit is missing in the http_requests_total metric name.

Which function would you use to calculate the 95th percentile latency from histogram data?

A.

quantile_over_time(0.95, http_request_duration_seconds[5m])

B.

histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le))

C.

percentile(http_request_duration_seconds, 0.95)

D.

topk(0.95, http_request_duration_seconds)

Where does Prometheus store its time series data by default?

A.

In-memory only.

B.

In an embedded TSDB on local disk.

C.

In an external database such as InfluxDB.

D.

In etcd.

Given the metric prometheus_tsdb_lowest_timestamp_seconds, how do you know in which month the lowest timestamp of your Prometheus TSDB belongs?

A.

format_date(prometheus_tsdb_lowest_timestamp_seconds,"%M")

B.

prometheus_tsdb_lowest_timestamp_seconds % month

C.

month(prometheus_tsdb_lowest_timestamp_seconds)

D.

(time() - prometheus_tsdb_lowest_timestamp_seconds) / 86400

How do you calculate the average request duration during the last 5 minutes from a histogram or summary called http_request_duration_seconds?

A.

rate(http_request_duration_seconds_sum[5m]) / rate(http_request_duration_seconds_count[5m])

B.

rate(http_request_duration_seconds_total[5m]) / rate(http_request_duration_second$_count[5m])

C.

rate(http_request_duration_seconds_total[5m]) / rate(http_request_duration_seconds_average[5m])

D.

rate(http_request_duration_seconds_sum[5m]) / rate(http_request_duration_seconds_average[5m])

How would you add text from the instance label to the alert’s description for the following alert?

alert: InstanceDown

expr: up == 0

for: 5m

labels:

severity: page

annotations:

description: "Instance INSTANCE_NAME_HERE down"

A.

Use $labels.instance instead of INSTANCE_NAME_HERE

B.

Use $value.instance instead of INSTANCE_NAME_HERE

C.

Use $expr.instance instead of INSTANCE_NAME_HERE

D.

Use $metric.instance instead of INSTANCE_NAME_HERE

What are Inhibition rules?

A.

Inhibition rules mute a set of alerts when another matching alert is firing.

B.

Inhibition rules repeat a set of alerts when another matching alert is firing.

C.

Inhibition rules inject a new set of alerts when a matching alert is firing.

D.

Inhibition rules inspect alerts when a matching set of alerts is firing.