2V0-71.23 Question 110
Select 3You are managing a Kubernetes cluster deployed with VMware Tanzu and are tasked with implementing monitoring and visualization for the cluster. The team decides to use Prometheus and Grafana. Which of the following statements correctly describe the role of these tools in this scenario?
- A
Prometheus is used for collecting and storing time-series data from the Kubernetes cluster.
- B
Grafana is used for alerting based on metrics collected by Prometheus.
- C
Prometheus provides visualization dashboards for the metrics it collects.
- D
Grafana is used to create and manage dashboards for visualizing metrics.
- E
Prometheus integrates directly with Kubernetes to scrape metrics from pods and nodes.
Show answer and explanation
Correct answers: A, D, E
Explanation
Prometheus is used for collecting and storing time-series metrics and integrates directly with Kubernetes to scrape metrics from workloads and infrastructure. Grafana is then used to visualize these metrics by creating and managing dashboards. Together, Prometheus and Grafana provide a robust monitoring and visualization solution for Kubernetes environments.
- A. Correct.
Prometheus is a time-series database and monitoring tool designed to scrape, store, and query metrics, making it a core tool for collecting and storing data from Kubernetes.
- B. Incorrect.
While Grafana does provide visualization capabilities, it also supports alerting based on data from multiple sources, including Prometheus. However, this is not its primary use in this scenario.
- C. Incorrect.
Prometheus does not provide advanced visualization capabilities. Instead, it focuses on metric collection and querying, while Grafana handles visualization.
- D. Correct.
Grafana is widely used to create and manage dashboards for visualizing metrics from various data sources, including Prometheus.
- E. Correct.
Prometheus integrates directly with Kubernetes, using service discovery to scrape metrics from pods, nodes, and other components.