2V0-71.23 Question 114
Select 3Your organization has deployed a Kubernetes cluster managed by VMware Tanzu. To monitor the performance and health of the cluster, you have decided to use Prometheus and Grafana. Which of the following describes the primary roles of Prometheus and Grafana in this monitoring setup?
- A
Prometheus collects and stores metrics from the Kubernetes cluster.
- B
Grafana ingests metrics directly from Kubernetes and stores them for long-term analysis.
- C
Prometheus provides a query language (PromQL) for analyzing metrics data.
- D
Grafana visualizes metrics data using dashboards and supports querying Prometheus as a data source.
- E
Prometheus is responsible for generating visual dashboards to display metrics data.
Show answer and explanation
Correct answers: A, C, D
Explanation
Prometheus and Grafana are complementary tools commonly used together in Kubernetes monitoring. Prometheus is responsible for collecting, storing, and querying metrics data, while Grafana focuses on visualizing this data through customizable dashboards. Prometheus uses PromQL for analyzing metrics, and Grafana connects to Prometheus as a data source to fetch data for visualization.
- A. Correct.
Correct. Prometheus is a monitoring and alerting toolkit designed to collect and store metrics from systems like Kubernetes.
- B. Incorrect.
Incorrect. Grafana does not ingest or store metrics directly; it relies on data sources such as Prometheus for metrics collection.
- C. Correct.
Correct. Prometheus provides PromQL, a powerful query language, to analyze the collected metrics.
- D. Correct.
Correct. Grafana is a visualization tool that uses data sources like Prometheus to create dashboards and display metrics.
- E. Incorrect.
Incorrect. Prometheus does not generate dashboards; this is the role of Grafana.