Bird
0
0

Which of the following is the correct way to enable encryption at rest in Kafka?

easy📝 Syntax Q12 of 15
Kafka - Security
Which of the following is the correct way to enable encryption at rest in Kafka?
AUse disk-level encryption or external tools since Kafka does not encrypt data on disk by default
BAdd <code>encryption.at.rest=true</code> in the Kafka topic configuration
CSet <code>ssl.enabled=true</code> in the Kafka broker configuration
DConfigure <code>kafka.security.encryption=true</code> in the producer settings
Step-by-Step Solution
Solution:
  1. Step 1: Check Kafka's default encryption behavior

    Kafka does not encrypt data on disk by default; it requires external disk encryption or tools.
  2. Step 2: Review configuration options

    Options A, B, and D are not valid Kafka configurations for encryption at rest.
  3. Final Answer:

    Use disk-level encryption or external tools since Kafka does not encrypt data on disk by default -> Option A
  4. Quick Check:

    Kafka disk encryption = external tools [OK]
Quick Trick: Kafka needs external disk encryption for data at rest [OK]
Common Mistakes:
  • Assuming SSL enables encryption at rest
  • Trying to set non-existent Kafka config keys
  • Confusing topic or producer configs with disk encryption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes