Bird
0
0

You want to secure Elasticsearch in EFK stack with basic authentication. Which Fluentd config addition is required?

hard📝 Application Q9 of 15
Kubernetes - Monitoring and Logging
You want to secure Elasticsearch in EFK stack with basic authentication. Which Fluentd config addition is required?
AAdd 'user' and 'password' parameters under <match> for Elasticsearch
BAdd 'auth_basic' under <source> section
CConfigure Kibana with username and password
DEnable TLS in Fluentd without credentials
Step-by-Step Solution
Solution:
  1. Step 1: Add authentication parameters in Fluentd output

    Fluentd Elasticsearch plugin supports 'user' and 'password' for basic auth under .
  2. Step 2: Exclude other options

    Auth_basic is not a Fluentd source parameter; Kibana config is separate; TLS alone doesn't provide credentials.
  3. Final Answer:

    Add 'user' and 'password' under <match> for Elasticsearch -> Option A
  4. Quick Check:

    Basic auth needs user/password in Fluentd output [OK]
Quick Trick: Set user/password in Fluentd Elasticsearch output for auth [OK]
Common Mistakes:
  • Adding auth to source instead of output
  • Configuring Kibana instead of Fluentd
  • Relying on TLS without credentials

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes