Bird
0
0

How can you combine RabbitMQ security features to ensure message integrity and prevent unauthorized message changes?

hard📝 Best Practice Q15 of 15
RabbitMQ - Security and Operations
How can you combine RabbitMQ security features to ensure message integrity and prevent unauthorized message changes?
AUse TLS for encryption and set policies to restrict access
BEnable message TTL and dead letter exchanges only
CUse queue mirroring without TLS
DDisable all policies and rely on network firewall
Step-by-Step Solution
Solution:
  1. Step 1: Identify features protecting message integrity

    TLS encrypts messages to prevent tampering. Access policies restrict who can send or receive messages.
  2. Step 2: Evaluate other options

    Message TTL and dead letter exchanges manage message lifecycle but don't protect integrity. Mirroring copies queues but doesn't encrypt. Relying only on firewall ignores RabbitMQ-level security.
  3. Final Answer:

    Use TLS for encryption and set policies to restrict access -> Option A
  4. Quick Check:

    TLS + policies = secure and intact messages [OK]
Quick Trick: Combine TLS and policies for full message protection [OK]
Common Mistakes:
MISTAKES
  • Thinking TTL alone protects integrity
  • Assuming mirroring encrypts messages
  • Ignoring RabbitMQ policies for security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes