Quiz Space

Modern Application Development II · End Term · 31 Aug 2025 · May 2025 term · Set QDD3

Question 9: A popular e-commerce platform needs to notify multiple th…

Question 9

+3 marksOne correct option

A popular e-commerce platform needs to notify multiple third-party services (inventory management, email marketing, analytics) whenever a customer places an order. The development team is considering different approaches to handle these notifications.
Scenario: When an order is placed, the system needs to:
● Update inventory levels in an external warehouse system
● Send a welcome email through a third-party email service
● Log analytics data to an external tracking service
● Update customer loyalty points in a CRM system
Which of the following statements about using webhooks for this scenario is MOST accurate?

  1. A

    Webhooks are not suitable for this use case because they require the e- commerce platform to continuously poll each third-party service to check if they're ready to receive data, which would create unnecessary network overhead.

  2. B

    Webhooks should be avoided in this scenario because they operate synchronously, meaning the customer's order placement would be delayed until all third-party services have successfully processed their notifications.

  3. C

    Webhooks provide an ideal solution as they allow the e-commerce platform to push real-time notifications to all subscribed third-party services immediately when an order is placed, eliminating the need for these services to repeatedly poll for updates.

  4. D

    Webhooks are primarily designed for read-only operations and cannot handle complex data payloads like order information, making them unsuitable for e-commerce transaction notifications.

Show answer

Correct answer

  • C

    Webhooks provide an ideal solution as they allow the e-commerce platform to push real-time notifications to all subscribed third-party services immediately when an order is placed, eliminating the need for these services to repeatedly poll for updates.

Question 9 of 32 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 31 Aug 2025, in the May 2025 term (IIT M IMPROVEMENT AN EXAM QIB3 31 Aug 2025). It carries 3 marks.

This question was also asked in

More questions from this paper

  1. Q1In a message queue system, if the consumer is slower than the producer, what is likely to occur first?
  2. Q2What does "reactivity" mean in the context of frontend frameworks like Vue.js?
  3. Q3In Flask, what is the main benefit of using the @cache.cached() decorator?
  4. Q4What is the primary purpose of CORS (Cross-Origin Resource Sharing)?
  5. Q5Which of the following practices help protect against supply chain attacks?
  6. Q6Which of the following factors directly affect the speed and performance of a web page load?
  7. Q7Which of the following is/are the potential benefits of using a message broker?
  8. Q8Which statements about webhooks are correct?
  9. Q10What is the main advantage of using caching in a Flask-based web application?
  10. Q11What will be the order of console output when the following JavaScript code is executed?
  11. Q12Consider the following JavaScript program: What will be the output of the above program?
  12. Q13Consider the following javascript program. What will be the output of the above program on the browser’s console?
  13. Q14Consider this HTML and Vue setup: index.html app.js What will be rendered on the browser?
  14. Q15Consider the following JavaScript code running in a browser: What will be the output in the browser console?
  15. Q16Which factors directly impact the Lighthouse "Performance" score?
  16. Q17Which statements are true about handling background tasks in Flask with Celery?
  17. Q18Which of the following are true about mutations and actions in Vuex?
  18. Q19Figure question
  19. Q20Scenario\ The component is loaded.\ User clicks "Mark Complete" for the task named Build Project.\ User clicks "Show Co…
  20. Q21Scenario\ The component is loaded.\ User clicks "Mark Complete" for the task named Build Project.\ User clicks "Show Co…
  21. Q22Scenario\ The component is loaded.\ User clicks "Mark Complete" for the task named Build Project.\ User clicks "Show Co…
  22. Q23Consider the following JavaScript code: Assuming this code runs in a browser environment, what will be the output?
  23. Q24Consider this Vue.js component code: What happens when a user types "Learn Vue" into the input field and presses Enter?…
  24. Q25Given this Vue Router setup: What component renders for URL /user/123/settings?
  25. Q26Given the Flask app: frontend code: What will happen when run from a Vue app hosted at <u>http://localhost:5173</u>?
  26. Q27What will this JavaScript code output?
  27. Q28Consider the following Vue component structure with nested components and complex slot configurations: Now consider thi…
  28. Q29Consider the following Vue Router configuration in a Vue 2 application: In a Vue component, you have these navigation m…
  29. Q30Using the same Vue Router configuration from the previous question, Select ALL correct statements about these navigatio…
  30. Q31Prashant and Nikita are creating a quiz question paper collaboratively. They are each working on different sections — a…
  31. Q32Prashant and Nikita are creating a quiz question paper collaboratively. They are each working on different sections — a…