Viva prep · Real questions · Student experiences Enroll in Bootcamp

Search viva questions

Search by question text across the whole library — then narrow with subject, level, or proctor.

Question sets

  1. 1
    Intro:-
    Times asked 2
  2. 2
    Show ID card
    Times asked 4
  3. 3
    Download submitted project or checksum
    Times asked 2
Advice: Best proctor in my say , He is calm , sweet , and very very helpful
  1. 1
    Same as in Documents
    Times asked 2
Advice: His voice may feel like he's strict but he's very calm and supportive person. Just be honest.
  1. 1
    Questions asked by the Viva Examiner
    Times asked 2
  2. 2
    Implement and explain the code.
    Times asked 2
  3. 3
    Show backend and frontend implementation.
    Times asked 2
  4. 4
    Why Redis and Celery?
    Times asked 1
  5. 5
    Explain application execution flow.
    Times asked 2
  6. 6
    Explain CSV-related code.
    Times asked 2
  7. 7
    Show email reminders/notifications.
    Times asked 2
  8. 8
    Explain database tables and relationships.
    Times asked 2
Advice: Suggestions/Tips Read your entire code thoroughly. Know your frontend, backend, database, and execution flow. Understand every feature you implemented. Practice basic SQL queries. Be honest if you don't know an answer—the examiner is helpful, but you should know your own code.
  1. 1
    This was my Level-2 viva. I don't remember everything because for the most part it was follow-up questions to test how deep I can go.
    Times asked 2
  2. 2
    - ID check, no GitHub collaborator check.
    Times asked 2
  3. 3
    - I started demo, during Admin demo he asked a system-design related question, this is my strong suit so I explained very well the rationale behind the design, he said very good. This went on for 10-12 mins.
    Times asked 2
  4. 4
    - After this he asked me to open tasks and asked "What is that `with.app_context`? I stumbled for a few mins then said I don't remember exactly now. He said it's ok.
    Times asked 2
  5. 5
    - Then there were questions on SMTP, but he wasn't interested in the textbook definitions, he probed deeper, I gave shallow answer here, so he understood I am not knowledgeable in this area, so he said "Ok" and moved on.
    Times asked 2
  6. 6
    - Finally we had a chat for 10-15 mins, asked how he would rate my performance (instead of directly asking a specific number), then asked where I can improve, this went on for a while.
    Times asked 2
Advice: There are many more questions that I don't remember, but one thing is he asks the same questions that's mentioned in this sheet, but the follow-up questions depend on your project, your level of response, etc., so instead of preparing for the "what" focus more on the "why" of things. He is a very humble, to-the-point, no-nonsense, knowledgeable guy. He'll keep you on ice but will test your real knowledge.
  1. 1
    What should I do in demonstration of this project
    Times asked 2
  2. 2
    Search api by name
    Times asked 2
  3. 3
    Give code (for search API)
    Times asked 2
  4. 4
    Give me code to change the color of btn from green to red
    Times asked 2
  5. 5
    Implementation of redis
    Times asked 2
  6. 6
    Explain how the tables in db are related
    Times asked 2
  7. 7
    What is sha256? Can it be decrypted back? How many hashing algorithms do you know?
    Times asked 2
  8. 8
    Why didn't I implement that the user can choose where to download the csv file?
    Times asked 2
  9. 9
    Where did you implement caching?
    Times asked 4
  10. 10
    Improvement in both implementation and code from mad1 to mad2
    Times asked 2
  11. 11
    What are vue lifecycles and which all you used?
    Times asked 4
  12. 12
    If you want to change the database from sqlite to any other, what all changes should be made?
    Times asked 2
  13. 13
    What is the need of virtual environment?
    Times asked 3
  14. 14
    In line 8 i defined create app what benefit do i get
    Times asked 2
  15. 15
    In create app function, is it giving any benefit
    Times asked 2
  16. 16
    In this file why i use underscore
    Times asked 2
  17. 17
    Quick overview of your database
    Times asked 1
  18. 18
    When would i label any api, what categories or design principles do i follow in rest api
    Times asked 1
  19. 19
    What is view directives what purpose they serve
    Times asked 2
  20. 20
    What promises is in js
    Times asked 1
  21. 21
    Explain what is promises
    Times asked 2
  22. 22
    Are they tied (promises and async/await)
    Times asked 2
  23. 23
    What name exports are in js
    Times asked 2
  24. 24
    Instantiate a list of 5 integers in js
    Times asked 2
  25. 25
    Write the code for it
    Times asked 2
  26. 26
    Using higher order function i need to multiply every number with 70
    Times asked 2
  27. 27
    How do i run single js file
    Times asked 2
  28. 28
    How do i run that previous code
    Times asked 2
  29. 29
    Tell each and every step to run this code
    Times asked 2
  30. 30
    If we are creating a new trek in database we will not accept more than 30 slots
    Times asked 2
  31. 31
    I'm getting backend problem
    Times asked 2
  32. 32
    How to run this
    Times asked 1
  33. 33
    How to run my code in terminal
    Times asked 2
Advice: Be true , truthful and honest
  1. 1
    First he ask for demo, when i start my demo he immediately start questions contest
    Times asked 2
  2. 2
    What is CRUD. Explain me in your project.
    Times asked 2
  3. 3
    How these statistics cards logic works, how the counting part connected and where the stats variable define in your project.
    Times asked 2
  4. 4
    What is Idempotency.
    Times asked 2
  5. 5
    Open your notepad, Question: "There is a company which have an api name 'movies', in this api have all movies then, Write frontend code that give 'movies list'...Simple 🫠"
    Times asked 2
Advice: Coding question is same almost with little bit modification. He love vue files mostly, so know your vue working connection, buttons, variables.
  1. 1
    Application Functionality and Data Handling
    Times asked 2
  2. 2
    - Where are you storing the uploaded resumes (e.g., static folder or backend upload folder)?
    Times asked 2
  3. 3
    - Is the CSV download handled via Celery or a specific endpoint?
    Times asked 2
  4. 4
    - Can you open the downloaded application CSV?
    Times asked 2
  5. 5
    - Can you download a resume for me?
    Times asked 2
  6. 6
    - Do you have any validation in the application regarding passwords or other fields?
    Times asked 2
  7. 7
    - Can you export the application and show the updated CSV?
    Times asked 2
  8. 8
    - Can you change an application status from "shortlisted" back to "applied" in the UI?
    Times asked 2
  9. 9
    - What happens in the "update profile" section?
    Times asked 2
  10. 10
    - Does the "joining date" field only appear once a student is "selected"?
    Times asked 2
  11. 11
    Backend and Database Architecture
    Times asked 2
  12. 12
    - Can you explain the code organization and where everything is located?
    Times asked 2
  13. 13
    - Who is defined as a "user" in your models?
    Times asked 2
  14. 14
    - How are you linking the student, company, and user tables (relationships)?
    Times asked 2
  15. 15
    - Are company details being stored directly in the user table?
    Times asked 2
  16. 16
    - Can you explain what "backref" is and how it is used?
    Times asked 2
  17. 17
    - Why did you choose to use an ORM (Object Relational Mapper) like SQL Alchemy?
    Times asked 2
  18. 18
    - What kind of database is SQLite?
    Times asked 2
  19. 19
    - What is the difference between a relational database and a non-relational database?
    Times asked 2
  20. 20
    Error Handling and Advanced Logic
    Times asked 2
  21. 21
    - Why are specific JWT error handlers (like expired or invalid tokens) written, and what is the purpose of the unhandled error handler?
    Times asked 2
  22. 22
    - Can you demonstrate or intentionally raise a 422 error from the backend?
    Times asked 2
  23. 23
    - Can you show the inbuilt JWT functions you used, such as `get_role_claims` or `get_user_id`?
    Times asked 2
  24. 24
    - How does the data flow end-to-end for the admin summary API?
    Times asked 2
  25. 25
    - Where is the admin summary API call located in the code and the browser?
    Times asked 2
  26. 26
    - Where exactly is the API response data being used in the frontend?
    Times asked 2
  27. 27
    Frontend Organization
    Times asked 2
  28. 28
    - How are you handling child components?
    Times asked 2
  29. 29
    - Where are you defining and importing child components (like the header bar)?
    Times asked 2
  30. 30
    Live Coding and Troubleshooting
    Times asked 2
  31. 31
    - Can you create a new tab in the admin UI called "placed student" that prints only the student's name and their respective company?
    Times asked 2
  32. 32
    - There is an error in the application; can you identify the line and check what it is?
    Times asked 2
  33. 33
    - Is the "application details model view" present, and was it newly added?
    Times asked 2
  34. 34
    - Did you use a new route or an existing one for the new "placed student" tab?
    Times asked 2
  35. 35
    System Configuration and Tools
    Times asked 2
  36. 36
    - How did you set up Celery and Redis on your local system?
    Times asked 2
  37. 37
    - What is the configuration for MailHog, and where did the localhost/port values come from?
    Times asked 2
  38. 38
    - What specific commands did you run to start Redis?
    Times asked 1
  39. 39
    - What is the difference between a Celery worker and a Celery beat?
    Times asked 2
  40. 40
    - What steps did you follow to configure MailHog for the application?
    Times asked 2
  41. 41
    - Where did you get the specific server and port (1025) for mailing?
    Times asked 2
Advice: She's super chill, Just know your code well, she wont ask same coding questions from sheet.. will ask to code anything but will help you to debug if needed
  1. 1
    Write registration route
    Times asked 2
  2. 2
    Jwt and RBAC and show jwt stored area
    Times asked 2
  3. 3
    Why asynchronous and awaits are used
    Times asked 2
  4. 4
    How https works are they secure
    Times asked 2
  5. 5
    Vue lifecycle hooks
    Times asked 4
Advice: Be calm the proctor is very cool and give pointers if u were to fumble in the middle
  1. 1
    - mid demo -> route that gives treks that are fully booked (available_slots=0)
    Times asked 2
  2. 2
    - relationship between trek and staff (many to 1)
    Times asked 2
  3. 3
    - libraries used
    Times asked 2
  4. 4
    - show scheduled jobs (can change time in the code for demo)
    Times asked 2
  5. 5
    that's it
    Times asked 3
Advice: all the best, supportive proctor, gives feedback and is patient.
  1. 1
    Ask to write model for User
    Times asked 2
  2. 2
    Ask to show git repository
    Times asked 2
  3. 3
    Write v-for loop
    Times asked 1
  4. 4
    Explain login page
    Times asked 1
  5. 5
    Create vue page and connect with backend
    Times asked 1
Advice: Focus on coding questions and he don't disturb when I demonstrate my project.
Maintaine By Lazy IITians Team + IITM BS students Regualr for More data you have