Bird
0
0

How can you ensure Kafka broker logs do not expose sensitive authentication details?

hard📝 Application Q9 of 15
Kafka - Security
How can you ensure Kafka broker logs do not expose sensitive authentication details?
ADisable all logging to prevent data exposure
BEnable verbose logging for all components
CStore logs in plain text files accessible to all users
DConfigure log level to WARN or ERROR and avoid DEBUG
Step-by-Step Solution
Solution:
  1. Step 1: Understand logging levels impact on sensitive data

    DEBUG logs often contain detailed info including sensitive data; WARN or ERROR reduce verbosity.
  2. Step 2: Choose logging configuration to protect sensitive info

    Setting log level to WARN or ERROR limits exposure of authentication details.
  3. Final Answer:

    Configure log level to WARN or ERROR and avoid DEBUG -> Option D
  4. Quick Check:

    Lower log verbosity protects sensitive info [OK]
Quick Trick: Use WARN or ERROR log level to protect secrets [OK]
Common Mistakes:
MISTAKES
  • Enabling verbose logging unnecessarily
  • Storing logs with open permissions
  • Disabling logging completely

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes