Weekend Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Linux Foundation PCA Dumps

Page: 1 / 6
Total 60 questions

Prometheus Certified Associate Exam Questions and Answers

Question 1

What is the minimum requirement for an application to expose Prometheus metrics?

Options:

A.

It must be exposed to the Internet.

B.

It must be compiled for 64-bit architectures.

C.

It must be able to serve text over HTTP.

D.

It must run on Linux.

Question 2

http_requests_total{verb="POST"} 30

http_requests_total{verb="GET"} 30

What is the issue with the metric family?

Options:

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.

Question 3

What is api_http_requests_total in the following metric?

api_http_requests_total{method="POST", handler="/messages"}

Options:

A.

"api_http_requests_total" is a metric label name.

B.

"api_http_requests_total" is a metric type.

C.

"api_http_requests_total" is a metric name.

D.

"api_http_requests_total" is a metric field.

Question 4

With the following metrics over the last 5 minutes:

up{instance="localhost"} 1 1 1 1 1

up{instance="server1"} 1 0 0 0 0

What does the following query return:

min_over_time(up[5m])

Options:

A.

{instance="localhost"} 1 {instance="server1"} 0

B.

{instance="server1"} 0

Question 5

What does the increase() function do in PromQL?

Options:

A.

Calculates the percentage increase of a counter over time.

B.

Returns the absolute increase in a counter over a specified range.

C.

Calculates the derivative of a gauge over time.

D.

Returns the total sum of values in a vector.

Question 6

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

Options:

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)

Question 7

What is considered the best practice when working with alerting notifications?

Options:

A.

Minor alerts are as important as major alerts and should be treated with equal care.

B.

Have as few alerts as possible by alerting only when symptoms might become externally visible.

C.

Have as many alerts as possible to catch minor problems before they become outages.

D.

Make sure to generate alerts on every metric of every component of the stack.

Question 8

The following is a list of metrics exposed by an application:

http_requests_total{code="500"} 10

http_requests_total{code="200"} 20

http_requests_total{code="400"} 30

http_requests_total{verb="POST"} 30

http_requests_total{verb="GET"} 30

What is the issue with the metric family?

Options:

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.

Question 9

Which kind of metrics are associated with the function deriv()?

Options:

A.

Counters

B.

Gauges

C.

Summaries

D.

Histograms

Question 10

What are Inhibition rules?

Options:

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.

Question 11

Which of the following PromQL queries is invalid?

Options:

A.

max by (instance) up

B.

max on (instance) (up)

C.

max without (instance) up

D.

max without (instance, job) up

Question 12

What is the name of the official *nix OS kernel metrics exporter?

Options:

A.

Prometheus_exporter

B.

node_exporter

C.

metrics_exporter

D.

os_exporter

Question 13

What are the four golden signals of monitoring as defined by Google’s SRE principles?

Options:

A.

Traffic, Errors, Latency, Saturation

B.

Requests, CPU, Memory, Latency

C.

Availability, Logging, Errors, Throughput

D.

Utilization, Load, Disk, Network

Question 14

What should you do with counters that have labels?

Options:

A.

Investigate if you can move their label value inside their metric name to limit the number of labels.

B.

Make sure every counter with labels has an extra counter, aggregated, without labels.

C.

Instantiate them with their possible label values when creating them so they are exposed with a zero value.

D.

Save their state between application runs so you can restore their last value on startup.

Question 15

Which Prometheus component handles service discovery?

Options:

A.

Alertmanager

B.

Prometheus Server

C.

Pushgateway

D.

Node Exporter

Question 16

What is a difference between a counter and a gauge?

Options:

A.

Counters change value on each scrape and gauges remain static.

B.

Counters and gauges are different names for the same thing.

C.

Counters have no labels while gauges can have many labels.

D.

Counters are only incremented, while gauges can go up and down.

Question 17

What popular open-source project is commonly used to visualize Prometheus data?

Options:

A.

Kibana

B.

Grafana

C.

Thanos

D.

Loki

Question 18

What is the difference between client libraries and exporters?

Options:

A.

Exporters are written in Go. Client libraries are written in many languages.

B.

Exporters expose metrics for scraping. Client libraries push metrics via Remote Write.

C.

Exporters run next to the services to monitor, and use client libraries internally.

D.

Exporters and client libraries mean the same thing.

Page: 1 / 6
Total 60 questions