exam questions

Exam 701-100 All Questions

View all questions & answers for the 701-100 exam

Exam 701-100 topic 1 question 42 discussion

Actual exam question from LPI's 701-100
Question #: 42
Topic #: 1
[All 701-100 Questions]

How does Prometheus gather information about monitored hosts and services?

  • A. It implements the ICMP and SNMP protocols to ping and query remote services.
  • B. It opens a webhook where monitored applications have to submit various metrics.
  • C. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
  • D. It queries a relational database for metrics written to the database by monitored applications.
  • E. It runs scripts on the Prometheus server which perform tests and return various metrics.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️
Reference https://dzone.com/articles/monitoring-with-prometheus

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ignasi
2 months, 4 weeks ago
I think is C but you need to use an json exporter
upvoted 2 times
...
hamzaab
1 year, 5 months ago
whey we say Prometheus we say HTTP
upvoted 1 times
...
hythalo
2 years, 2 months ago
I think C is wrong because metrics are text-based and not json encoded. https://prometheus.io/docs/instrumenting/exposition_formats/
upvoted 2 times
...
hmagroun
2 years, 9 months ago
The correct answer is C see: https://prometheus.io/docs/introduction/overview/#features "Features ... time series collection happens via a pull model over HTTP ..."
upvoted 3 times
...
hector1978
2 years, 11 months ago
I don't agree. Prometheus uses HTTP to monitor objects. The correct answer is C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago