2V0-71.23 Question 113
Select 2Your organization uses VMware Tanzu Kubernetes Grid (TKG) to manage multiple Kubernetes clusters across different environments. To improve observability, the team wants to set up monitoring and visualization for application performance and infrastructure metrics. Which components should you use to collect metrics and create dashboards for visual representation of the data?
- A
Prometheus for metrics collection and Grafana for visualization
- B
Fluentd for collecting application logs and Prometheus for dashboard creation
- C
Prometheus for collecting metrics and Alertmanager for creating dashboards
- D
Grafana for creating dashboards and configuring alert rules
- E
Prometheus for collecting metrics and Grafana for creating dashboards
Show answer and explanation
Correct answers: A, E
Explanation
Prometheus is a powerful open-source metrics collection system that is popular in Kubernetes environments for its ability to scrape metrics from different sources, including Kubernetes clusters. Grafana complements Prometheus by providing a platform to visualize these metrics through customizable and interactive dashboards. Together, they form a robust observability solution for monitoring Kubernetes clusters and applications running on them.
- A. Correct.
Prometheus is a metrics collection tool, and Grafana is used to visualize these metrics through dashboards. This is the correct combination of tools for observability.
- B. Incorrect.
Fluentd is a log aggregation tool, not a metrics collection tool. Prometheus is not designed for creating dashboards, which makes this option incorrect.
- C. Incorrect.
Prometheus is a metrics collection tool, but Alertmanager is used for alerting, not for creating dashboards. This option is incorrect.
- D. Incorrect.
While Grafana is used for creating dashboards, it cannot create alert rules independently. Alert rules are configured in Prometheus or other alerting tools like Alertmanager. This makes this option partially incorrect.
- E. Correct.
Prometheus collects metrics, and Grafana is used to create dashboards for metrics visualization. This combination is correct.