Kcna Kubernetes And Cloud Native Associate · Free Practice Question Easy
Question 11
Which of the following is not generally a good practice when configuring observability for a Kubernetes cluster?
-
A
Scraping metrics with Prometheus from various components
-
B
Periodically rebooting nodes to clear logs and metrics
-
C
Adding custom alerts for key performance indicators (KPIs)
-
D
Centralizing logs using a tool like Fluentd
Reveal correct answer
Correct answer: B
A.
Prometheus is widely used for gathering metrics in a Kubernetes environment; it is a recommended best practice.
B.
This is not a recommended practice for observability. Rebooting nodes can lead to service disruptions and does not offer a structured way to manage logs or metrics.
C.
Setting up custom alerts allows you to proactively monitor the health and performance of the cluster.
D.
This is a recommended practice for aggregating logs, making them easier to analyze.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
