Question 5
In a Celery setup, we use two separate Redis databases:
Which of the following best explains the conceptual difference between the broker and the backend?
The backend is only needed when tasks involve sending emails; for tasks that only read from the database, only the broker is required.
The broker and backend must always use different port numbers; using the same Redis port for both would cause a conflict.
The broker distributes tasks evenly across multiple Celery workers, while the backend tracks which worker is currently processing which task.
The broker stores task requests until a Celery worker picks and executes them, while the backend stores the task result after execution.