2V0-71.23 Question 111
Select 2Your organization has deployed a Tanzu Kubernetes Grid (TKG) environment, and the operations team needs to monitor cluster performance, track resource utilization, and generate visual dashboards for analysis. Which tools would you use in this scenario to achieve these objectives?
- A
Prometheus for metrics collection and Grafana for visual dashboard creation
- B
Kubernetes kube-scheduler for monitoring and alerting
- C
Grafana for metrics collection and Prometheus for alerting
- D
Prometheus for data collection and alerting, and Grafana for visualizing metrics
- E
Tanzu Mission Control for real-time metrics and dashboard visualization
Show answer and explanation
Correct answers: A, D
Explanation
Prometheus and Grafana are complementary tools in a Kubernetes environment. Prometheus is used for collecting metrics and setting up alerts, while Grafana is used to visualize these metrics in dashboards. Together, they provide a comprehensive monitoring and visualization solution, making them an essential part of the Tanzu Kubernetes Operations toolset.
- A. Correct.
Prometheus is a metrics collection and alerting tool, and Grafana is used for creating visual dashboards. Together, they are a common combination for monitoring and visualization in Kubernetes environments.
- B. Incorrect.
The Kubernetes kube-scheduler is responsible for scheduling workloads to nodes; it is not a monitoring or visualization tool.
- C. Incorrect.
Grafana is not used for metrics collection or alerting. Its primary purpose is to visualize data collected by tools like Prometheus.
- D. Correct.
Prometheus collects metrics and provides alerting capabilities, while Grafana visualizes the metrics data. This combination is widely used to monitor Kubernetes environments.
- E. Incorrect.
Tanzu Mission Control provides cluster management capabilities, but it is not designed for real-time metrics collection or dashboard creation like Prometheus and Grafana.