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
    Difference between CLI and CDN
    Times asked 1
  2. 2
    What is Query Params?
    Times asked 2
  3. 3
    Open notepad and write how you displayed available appointments
    Times asked 2
Advice: Answer with confidence, sometimes over explaining helps and but was genuine person and even allowed consulting internet when I was not able to run a particular module in cmd
  1. 1
    Joined 10 mins early, i too joined (35-40 mins)
    Times asked 2
  2. 2
    As soon as i joined, he started we will follow a structure - while you download and setup your app, i will keep asking the questions, will keep asking till your setup completes(took 20 mins due to this) - then the rapid fire:
    Times asked 2
  3. 3
    Which vue version? cli or cdn? what is cli and cdn
    Times asked 1
  4. 4
    Explain how flask handles the request from the moment it arrives till it sends the response
    Times asked 2
  5. 5
    How does flask decide which function to execute(he expected wsgi to be mentioned - i didn't)
    Times asked 2
  6. 6
    explicitly asked WSGI. if you knew why didn't you mention
    Times asked 2
  7. 7
    rolemixin and usermixin. how is token generated? diff between fs_uniquifier and fs_uniquifier tokens
    Times asked 2
  8. 8
    what happens to fs_uniquifier token when a user changes password
    Times asked 2
  9. 9
    Client Side scripting
    Times asked 2
  10. 10
    When will vue fail to detect changes in the reactive data properties
    Times asked 2
  11. 11
    v-if and v-show(by this time he was really enjoying asking the questions)
    Times asked 2
  12. 12
    many other questions were there
    Times asked 2
  13. 13
    Write a component with 1 input and 1 button it accepts 1 integer in the url 'a' when the button is clicked the output is printed on the console
    Times asked 2
  14. 14
    Write an api to execute a celery task 'viva_celery_task' and query the db for the appointments in past 'a' and return in json format
    Times asked 2
Advice: Just hope that you don't get this proctor. If you do, you need to have an in-depth theory knowledge as well as how to write code. He was joking in between and not rude but kept the pressure on and asked questions in real detail. All the best if you get him
  1. 1
    level2
    Times asked 4
  2. 2
    download project from portal
    Times asked 1
  3. 3
    take your time and run it
    Times asked 2
  4. 4
    first, he says to showcase your application in browser
    Times asked 1
  5. 5
    second, he says to go through code and explain it,
    Times asked 2
  6. 6
    after 40 minutes, he asks some 3-4 questions
    Times asked 2
  7. 7
    whats the another name of version control system
    Times asked 1
  8. 8
    thats it, these are the questions
    Times asked 2
Advice: Proctor is very chill and he gives the answer for those, which i didn't answer. and make sure go through this sheet. This sheet helps me a lot.
  1. 1
    NEED NOT BE IN ORDER (Based on Placement Portal App)
    Times asked 2
  2. 2
    Show github profile and colaborators (Didn't check my ID)
    Times asked 2
  3. 3
    Download and run the app
    Times asked 2
  4. 4
    Create a company and student
    Times asked 2
  5. 5
    Login as admin. Show functionality and approve company.
    Times asked 2
  6. 6
    Create a drive as the company then approve it via admin
    Times asked 2
  7. 7
    Apply as a student to the drive and show the flow of it.
    Times asked 2
  8. 8
    Show Export function (backend jobs).
    Times asked 2
  9. 9
    Asked me to blacklist a student and then try to login from it.
    Times asked 2
  10. 10
    Whats authentication and authorization and the difference.
    Times asked 2
  11. 11
    He asked me to show where caching is. (I just did it on one function for the sake of it as I was not sure where all to put it as server side caching is messy. I told him this.)
    Times asked 2
  12. 12
    Show the daily remainder email. (I made a student with temp mail and sent it there. Also, I sent it from my gmail for which you need to generate a key. Keep it saved in notepad or something).
    Times asked 2
  13. 13
    Asked me to open the vue file for one of the dashboard and asked what is mounted.
    Times asked 2
Advice: Really nice proctor. Gives you time to do everything. Will not pressure you. I actually got lost in my own project (point 7 in questions). I took like 2 mins to just find the code for it but he just kept quite till I found it. So just keep calm (unless you didn't make the project yourself) In feedback he said the demo was nice. Be comfortable with theory for level 2 and also be prepared to make changes in code. (I didn't make any changes in level 1 except crontab to show the daily remainder. He didn't ask excpet point 7 where I said it will be lengthy) I kept the celery beat and worker code and also venv activation code in notepad to reduce typing.
  1. 1
    Then she asked
    Times asked 1
  2. 2
    Change the colour of login button
    Times asked 2
  3. 3
    Open notepad and write an api to get user details
    Times asked 2
  4. 4
    Have you implement role based authentication or not? If yes then show me in code where.
    Times asked 2
Advice: Proctor was very kind. Just answer as detailed as possible. Questions were basic and from the project itself
  1. 1
    saw some comments on my code and asked if I wrote it
    Times asked 2
  2. 2
    ai% and where I used ai
    Times asked 2
  3. 3
    why did you "import os"
    Times asked 2
  4. 4
    what are most important imports
    Times asked 2
  5. 5
    what does jsonify do
    Times asked 2
  6. 6
    what is cors and what it does
    Times asked 2
  7. 7
    notepad coding :
    Times asked 2
  8. 8
    if you have a student table add a column with roll number
    Times asked 2
  9. 9
    write a javascript code which returns square of a number
    Times asked 2
  10. 10
    run app and show it's functionality
    Times asked 2
  11. 11
    celery daily reminder code
    Times asked 2
Advice: depends upon her mood , can go really deep with theory just don't piss her off
  1. 1
    show how the frontend is sending data to backend
    Times asked 2
  2. 2
    how to write the backend function to print square of two numbers. And few 2-3 similar questions
    Times asked 1
Advice: Just be confident
  1. 1
    Questions (NOT IN ORDER):
    Times asked 2
  2. 2
    * in db.relationship(...cascade='all,delete-orphan') what does 'all, delete-orphan' do?
    Times asked 2
  3. 3
    * can companies can start drive without being approved.
    Times asked 2
  4. 4
    * can a student apply to a drive more than once
    Times asked 2
  5. 5
    * what technology I used for authentication (I used flask-login) and then asked if that is session based or token based (I told that if I had used Flask-JWT (JSON Web Token) then that would have been Token based but flask-login is session based as it used cookies for authentication purpose. Additionally I showed the fetch requests which had `credentials: 'include'`)
    Times asked 2
  6. 6
    * to implement a feature as follows: if a student is rejected in a drive they can apply again one last time (a second chance)
    Times asked 2
  7. 7
    * (I used <script setup> and imported { computed, onMounted }) What are computed and onMounted here? I told him the difference between Composition API and Options API, and how vue lifecycle hooks work and where setup(){} comes into play. And how and why computed was used here.
    Times asked 2
  8. 8
    * to show the backend worker processes that were running, I told him that I did not have solid grasp of celery and redis and so did not implement them. Then he asked if had used them how would that have helped me, their need, etc.
    Times asked 2
  9. 9
    At the end he said that's all, and to start preparing for L2.
    Times asked 2
  1. 1
    Show ID card and GitHub collaborator
    Times asked 2
  2. 2
    CDN or CLI — what am using and explain the difference
    Times asked 2
  3. 3
    Full demo of entire application including all features, email functionality and trigger scheduled jobs live
    Times asked 2
  4. 4
    Explain all API routes (he picked some 3-4)
    Times asked 2
Advice: Viva went 50 minutes — be prepared to go beyond 30 mins He is patient and professional, don't panic He asks line by line explanation — know your own code, not just concepts Feedback given was "good application, focus on backend code writing
  1. 1
    To write on textedit v-if v-show, retrieval, sqlalchemy code. What is orm
    Times asked 1
  2. 2
    How a company is approved, he told to show and explain code.
    Times asked 2
  3. 3
    Few apis he asked. Few simple questions from the project.
    Times asked 2
Advice: Stay calm. He understands our problem if any. Tell the truth. Overall really good proctor no need to worry. All the best!
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.