Bird
0
0

Why might Kafka fail to decrypt data after a broker restart when encryption at rest is enabled?

medium📝 Debug Q7 of 15
Kafka - Security
Why might Kafka fail to decrypt data after a broker restart when encryption at rest is enabled?
AKafka consumer configuration is incorrect
BEncryption keys were not properly loaded from the key provider
CEncryption at rest was disabled before restart
DData was corrupted during storage
Step-by-Step Solution
Solution:
  1. Step 1: Understand decryption dependency

    Decryption requires access to the correct encryption keys after restart.
  2. Step 2: Identify common cause of failure

    If keys are not loaded properly from the key provider, Kafka cannot decrypt stored data.
  3. Final Answer:

    Encryption keys were not properly loaded from the key provider -> Option B
  4. Quick Check:

    Missing keys on restart = decryption failure [OK]
Quick Trick: Ensure keys load correctly after restart [OK]
Common Mistakes:
  • Blaming data corruption without evidence
  • Confusing consumer config with broker encryption
  • Assuming encryption was disabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes