Bird
0
0

Which broker is commonly used with Celery in Django for message passing?

easy📝 Conceptual Q2 of 15
Django - Celery and Background Tasks
Which broker is commonly used with Celery in Django for message passing?
AMySQL
BSQLite
CPostgreSQL
DRabbitMQ
Step-by-Step Solution
Solution:
  1. Step 1: Understand Celery brokers

    Celery needs a message broker to send and receive task messages.
  2. Step 2: Identify common brokers

    RabbitMQ and Redis are popular brokers; SQLite, PostgreSQL, and MySQL are databases, not brokers.
  3. Final Answer:

    RabbitMQ -> Option D
  4. Quick Check:

    Celery broker = RabbitMQ [OK]
Quick Trick: RabbitMQ or Redis are common brokers, not databases [OK]
Common Mistakes:
MISTAKES
  • Confusing databases with message brokers
  • Using SQLite as a broker which is not supported
  • Assuming MySQL can be a broker

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Django Quizzes