Quiz Space

Modern Application Development II · End Term · 13 Sept 2026 · May 2026 term · Set S2

Question 6: A team builds an internal warehouse dashboard where multi…

Question 6

+3 marksOne correct option

A team builds an internal warehouse dashboard where multiple managers, each on a different computer, need to receive live low-stock alerts from the server in real time. They decide to use Flask-SSE with Redis.
Which of the following best explains Redis's role in a Flask-SSE setup?

  1. A

    Redis is used by Flask-SSE to authenticate connected users before events can be streamed to the browser.

  2. B

    Redis is optional in Flask-SSE and is only recommended when the application has a very large number of concurrent users.

  3. C

    Redis is only needed when SSE events must be stored permanently and replayed after reconnection.

  4. D

    Flask-SSE uses Redis as a shared event channel so published messages can be delivered to connected clients.

Show answer

Correct answer

  • D

    Flask-SSE uses Redis as a shared event channel so published messages can be delivered to connected clients.

Video solution

The video solution to this question is being recorded and will play here. Until then, the answer key is above.

Question 6 of 31 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 13 Sept 2026, in the May 2026 term (Modern Application Development Ii 13 Sep 26 (Session 2)). It carries 3 marks.

This question was also asked in

More questions from this paper

  1. Q1Figure question
  2. Q2A news platform wants to send a morning digest email to all subscribers every day at 7 AM. Sweta sets up the beat sched…
  3. Q3A startup is building a food delivery app. The customer-facing screen shows live order status updates: "Order Placed → …
  4. Q4File: app.js
  5. Q5In a Celery setup, we use two separate Redis databases: Which of the following best explains the conceptual difference …
  6. Q7Match the testing concept in Column I with the most appropriate description in Column II.
  7. Q8Match the performance metric in Column I with the most appropriate description in Column II.
  8. Q9A developer has just created a new Vue 2 project using Vue CLI and the following package.json was generated.\ package.j…
  9. Q10Consider the following JavaScript code: What will be output on the browser’s console?
  10. Q11What is logged to the console after running the following code?
  11. Q12What is logged to the console after running the following code?
  12. Q13Consider the following JavaScript code: What is the order of console output?
  13. Q14Match each Vue directive with its correct description:
  14. Q15Which of the following is/are the advantage(s) of client-side storage?
  15. Q16Which of the following are valid capabilities of Lighthouse while analyzing a website?
  16. Q17Given the following code, select all the statements that are TRUE about its execution if the code is run in a browser e…
  17. Q18Consider the following Flask JWT code:
  18. Q19Figure question
  19. Q20Consider the following code using flask_jwt_extended: Which of the following statements are correct? (Select all that a…
  20. Q21Consider the following javascript code: Note: Each sub question runs on its own, starting from the original 'user' obje…
  21. Q22Consider the following javascript code: Note: Each sub question runs on its own, starting from the original 'user' obje…
  22. Q23Consider the following JavaScript code: Based on the above data, answer the given subquestions. What will be the output…
  23. Q24Consider the following JavaScript code: Based on the above data, answer the given subquestions. Which of the following …
  24. Q25Read the following Vue 2 component code carefully (using the Options API via CDN) and answer the given sub questions.
  25. Q26Read the following Vue 2 component code carefully (using the Options API via CDN) and answer the given sub questions.
  26. Q27Called from a view/script: Checked immediately, right after delay() — worker hasn't processed it yet: Called separately…
  27. Q28Called from a view/script: Checked immediately, right after delay() — worker hasn't processed it yet: Called separately…
  28. Q29component's method:
  29. Q30component's method:
  30. Q31component's method: