Quiz Space

Modern Application Development II · Quiz 2 · 16 Aug 2026 · May 2026 term

Question 8: A Vue frontend, a mobile app, and another backend service…

Question 8

+3 marksOne or more correct options

A Vue frontend, a mobile app, and another backend service all call the same Flask API deployed on multiple servers. The team chooses JWT authentication. Which of the following statements are correct?

Select all that apply.

  1. A

    Each request can carry the token, so any server can validate it without storing a per-user session in memory.

  2. B
  3. C
  4. D

    Session-based authentication is usually easier to scale across multiple servers because no shared storage is needed. The team should have chosen this.

Show answer

Correct answers

  • A

    Each request can carry the token, so any server can validate it without storing a per-user session in memory.

  • B
  • C

Question 8 of 15 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term (Modern Application Development Ii 14 Aug 26). It carries 3 marks.

More questions from this paper

  1. Q1A developer opens the Node.js REPL and runs the following line: Why does this fail?
  2. Q2Consider the following javascript code: The above code is initially loaded on the browser and then the browser is refre…
  3. Q3Point out the error with the following code that is used to display user data?
  4. Q4What is the correct output order for the following code?
  5. Q5Consider the following code:
  6. Q6Consider the following JavaScript code snippet? What will be the output of above code on the browser’s console?
  7. Q7Suppose the following HTML exists: Which of the following statements are correct?
  8. Q9A Vue 2 component does the following: •loads initial task data from an API, •starts a timer after the component appears…
  9. Q10Figure question
  10. Q11Fill in Code1, inside a mutation handler, which can be used to reduce the price of each of the products in the state by…
  11. Q12Consider the following Vuex store and component code. store.js Component.vue
  12. Q13What will be logged in the console when this component first loads?
  13. Q14file2: ProfileComponent.vue What should be filled in at Line A to correctly read the username from the URL?
  14. Q15file2: ProfileComponent.vue What should be filled in at Line B to navigate to the Settings page?