Bird
0
0

Which Kubernetes resource is typically used to deploy Fluentd as a log collector in the EFK stack?

easy📝 Syntax Q12 of 15
Kubernetes - Monitoring and Logging
Which Kubernetes resource is typically used to deploy Fluentd as a log collector in the EFK stack?
AServiceAccount
BDaemonSet
CDeployment
DConfigMap
Step-by-Step Solution
Solution:
  1. Step 1: Understand Fluentd deployment needs

    Fluentd must run on every node to collect logs from all pods on that node.
  2. Step 2: Choose correct Kubernetes resource

    DaemonSet ensures one pod per node, perfect for log collectors like Fluentd.
  3. Final Answer:

    DaemonSet -> Option B
  4. Quick Check:

    Fluentd runs as DaemonSet [OK]
Quick Trick: DaemonSet runs pods on all nodes [OK]
Common Mistakes:
  • Using Deployment which may not run on all nodes
  • Confusing ConfigMap with deployment type
  • Thinking ServiceAccount deploys pods

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes