2V0-71.23 Question 96
Select 3You are tasked with setting up a logging pipeline in a Tanzu Kubernetes Grid (TKG) environment. The goal is to efficiently collect logs from multiple Kubernetes Pods and forward them to an external logging system. Which of the following describe the role of Fluent Bit in this scenario?
- A
Fluent Bit acts as a lightweight log processor and forwarder, collecting logs from Kubernetes Pods and forwarding them to external systems.
- B
Fluent Bit is responsible for storing long-term log data in the Kubernetes cluster.
- C
Fluent Bit can filter, parse, and transform logs before forwarding them to a destination.
- D
Fluent Bit provides a user interface to search and analyze logs in real-time.
- E
Fluent Bit is designed to operate with minimal resource consumption, making it suitable for Kubernetes environments.
Show answer and explanation
Correct answers: A, C, E
Explanation
Fluent Bit is a lightweight log processor and forwarder designed for environments like Kubernetes. It efficiently collects logs from Pods, applies filters or transformations, and forwards them to external systems. Its minimal resource consumption makes it a popular choice for Kubernetes-based logging pipelines. However, Fluent Bit is not responsible for log storage or providing a user interface for log analysis.
- A. Correct.
Correct: Fluent Bit is commonly used in Kubernetes environments to collect logs from Pods and forward them to external systems such as Elasticsearch, AWS CloudWatch, or other log analytics platforms.
- B. Incorrect.
Incorrect: Fluent Bit does not store long-term logs. Its role is to process and forward logs, not to provide persistent storage.
- C. Correct.
Correct: Fluent Bit includes features to filter, parse, and transform logs, enabling customization of log data before it is sent to a destination.
- D. Incorrect.
Incorrect: Fluent Bit does not provide a user interface for real-time log analysis. Such functionality is typically provided by tools like Kibana or Grafana, which integrate with Fluent Bit.
- E. Correct.
Correct: Fluent Bit is designed to be lightweight and operate efficiently, making it ideal for resource-constrained Kubernetes environments.