Get ready for the ITGSS DevOps Engineer Exam with flashcards and multiple choice questions, each question includes hints and explanations. Prepare effectively and succeed on your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Kubernetes uses which of the following to run logging agents?

  1. Google Cloud Functions

  2. Fluentd agents

  3. Custom logging frameworks

  4. AWS Lambda

The correct answer is: Fluentd agents

Kubernetes commonly employs Fluentd agents for logging purposes due to their designed capability to collect, filter, and aggregate logs efficiently from various sources within the Kubernetes environment. Fluentd integrates smoothly with Kubernetes, enabling it to gather logs from containers, nodes, and the system as a whole, summarizing this information into a format that can be easily processed or forwarded to various log storage and analysis solutions. Moreover, Fluentd is highly configurable, allowing users to specify log sources, apply custom parsing and filtering, and define output destinations, making it an ideal choice for managing logging in dynamic environments like Kubernetes. It supports a wide range of plugins, further enhancing its interoperability and versatility in handling logs from multiple systems and applications. The other options do not participate in running logging agents within Kubernetes. Google Cloud Functions and AWS Lambda are serverless computing platforms, not designed for log management or aggregation in container orchestration environments. Custom logging frameworks, while useful, typically require greater effort to integrate and manage compared to the standardized approach provided by Fluentd, making them less favorable for Kubernetes logging tasks.