Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 subjective questions Authentication and Database Integration

INT257 — Modern Web Application Development 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define authentication and explain its importance in modern web applications.

  2. Question 2 of 20

    Explain the typical authentication workflow using username and password credentials.

  3. Question 3 of 20

    Describe session management in a web application and explain how sessions are created, maintained, and destroyed.

  4. Question 4 of 20

    Compare cookie-based sessions and token-based authentication.

  5. Question 5 of 20

    What are protected routes? Explain how a web application protects a route from unauthenticated access.

  6. Question 6 of 20

    Distinguish between authentication and authorization with suitable web application examples.

  7. Question 7 of 20

    Explain role-based access control and describe how it can be implemented in a web application.

  8. Question 8 of 20

    Design an authorization strategy for an application containing administrator, instructor, and student users.

  9. Question 9 of 20

    Define ORM and explain the main advantages and limitations of using an ORM in web application development.

  10. Question 10 of 20

    Explain how database connectivity is established between a web application and a relational database.

  11. Question 11 of 20

    Describe the CRUD operations and explain how they map to common HTTP methods.

  12. Question 12 of 20

    Explain the complete lifecycle of a CRUD request from the client to the database and back to the client.

  13. Question 13 of 20

    What is data validation? Explain the difference between client-side and server-side validation.

  14. Question 14 of 20

    Explain how input validation and parameterized queries help prevent common database security vulnerabilities.

  15. Question 15 of 20

    Describe environment variables and explain why they are used in web applications.

  16. Question 16 of 20

    Explain how an application should securely manage database credentials and other secrets using environment variables.

  17. Question 17 of 20

    Describe the security risks associated with improper session management and explain suitable countermeasures.

  18. Question 18 of 20

    Explain the principle of least privilege in authentication, authorization, and database integration.

  19. Question 19 of 20

    Compare one-to-one, one-to-many, and many-to-many relationships in ORM-based database design.

  20. Question 20 of 20

    Explain database transactions and describe why they are important when performing related CRUD operations.

That's unit 4

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.