Resources · Utilities · Interview questions

The questions they ask, and a timer to practise

Pick the role. Every question comes with what a good answer covers; start the timer, answer out loud in two minutes as you would in the room, then move on. The questions are in English, as most interviews in Pakistan are.

Works on this device: nothing you type is stored or sent.

Role

Practise

Question 1 of 80

Tell me about yourself.

What a good answer covers

Two minutes: where you studied, the one or two things you built or did that fit this role, and why you applied here. Not your life story.

2:00

This tool runs with scripts. With scripts off, the tables and the formulas on this page let you work it out by hand.

Every question

Fresh graduate, any role 10 questions

  1. Tell me about yourself.

    A good answer covers: Two minutes: where you studied, the one or two things you built or did that fit this role, and why you applied here. Not your life story.

  2. Why do you want this job?

    A good answer covers: Name something specific about the company or the role; connect it to what you want to learn and give.

  3. What is your biggest strength, with an example?

    A good answer covers: One strength the role needs, one short story that shows it, the result.

  4. What is a weakness you are working on?

    A good answer covers: A real one that is not central to the job, and what you are already doing about it.

  5. Tell me about a project you are proud of.

    A good answer covers: Your part in it, a problem you hit, how you solved it, what it did for people.

  6. How do you learn something new quickly?

    A good answer covers: A concrete method: a course, docs, building a small thing, asking someone. Give the last example.

  7. Describe a time you worked in a team that was not going well.

    A good answer covers: What was wrong, what you did (not what others did wrong), how it ended.

  8. Where do you see yourself in three years?

    A good answer covers: A direction that includes this company, with the skills you want by then.

  9. Why should we hire you over other fresh graduates?

    A good answer covers: Evidence: a project, an internship, a community role, a habit of finishing things.

  10. Do you have any questions for us?

    A good answer covers: Always yes: the team's work in the first three months, how they measure a good first year, what they wish new hires knew.

Software engineer 10 questions

  1. Walk me through a system you built end to end.

    A good answer covers: The problem, the pieces, the data flow, the trade-offs you chose and what you would change now.

  2. How do you decide between two designs?

    A good answer covers: Constraints first: time, team, scale, cost, what can change later. Say what you would prototype.

  3. What is the difference between a process and a thread?

    A good answer covers: Memory space, scheduling, cost of creation, when you use each. One example from your work.

  4. Explain how you would find a bug that only happens in production.

    A good answer covers: Logs, metrics, reproducing with the same data, narrowing by bisecting; what you add so it is easier next time.

  5. How do you keep code readable for the next person?

    A good answer covers: Names, small functions, tests as examples, comments on why not what, reviews.

  6. Describe how a request travels from a browser to a database and back.

    A good answer covers: DNS, TLS, the server, routing, the query, serialisation, caching along the way.

  7. What do you test, and what do you not bother testing?

    A good answer covers: Behaviour and edge cases over implementation; the cost of a test versus the cost of the bug.

  8. Tell me about a time you disagreed with a technical decision.

    A good answer covers: How you made the case with evidence, how you handled being overruled, what happened.

  9. How would you make a slow page fast?

    A good answer covers: Measure first; then the usual suspects: queries, payload size, caching, rendering, the network.

  10. What have you learnt recently outside of work?

    A good answer covers: Something specific, why it interested you, and what you did with it.

DevOps and cloud 10 questions

  1. Explain CI/CD as you would to a new developer.

    A good answer covers: Every change built and tested automatically, then shipped in small safe steps; what breaks when a team skips it.

  2. A deployment went wrong at 2 am. What do you do first?

    A good answer covers: Stop the damage (roll back or scale), tell people, then find the cause; the post-mortem comes after sleep.

  3. How is a container different from a virtual machine?

    A good answer covers: Shared kernel versus a full OS; start-up time, isolation, density; when each is the right choice.

  4. What does Kubernetes give you that Docker alone does not?

    A good answer covers: Scheduling, self-healing, scaling, service discovery, rolling updates, declared desired state.

  5. How do you keep secrets out of code and images?

    A good answer covers: A secrets manager or sealed secrets, environment injection, scanning the repository, rotation.

  6. Describe infrastructure as code and one risk of it.

    A good answer covers: Versioned, reviewable infrastructure (Terraform, Pulumi); the risk of drift or a destructive plan applied without review.

  7. What would you monitor for a web service, and what would wake you up?

    A good answer covers: Latency, errors, traffic, saturation; alert on symptoms users feel, not on every metric.

  8. How would you cut a cloud bill by a third?

    A good answer covers: Right-size, turn off idle things, reserved or spot capacity, storage tiers, find the one service eating most of it.

  9. Explain a blue-green or canary release.

    A good answer covers: Two environments or a small slice of traffic first, watched, then widened or rolled back.

  10. Tell me about a security problem you found or prevented.

    A good answer covers: What it was, how you found it, how you fixed it without breaking the service, what you automated after.

Data analyst or data scientist 10 questions

  1. Walk me through an analysis you did from question to decision.

    A good answer covers: The business question, the data and its problems, the method, the chart that made it clear, what changed because of it.

  2. How do you handle missing or dirty data?

    A good answer covers: Find out why it is missing first; then drop, fill or flag, and say so in the result.

  3. Explain a p-value, or a confidence interval, to a manager.

    A good answer covers: Plain words, no formula: how surprising the result would be if nothing were going on.

  4. Write a query that finds the top five customers by revenue this year.

    A good answer covers: GROUP BY, SUM, ORDER BY, LIMIT; ask about returns and currency before you write it.

  5. When would you not use a machine learning model?

    A good answer covers: When a rule or a simple average works, when there is too little data, when a wrong answer costs too much to explain.

  6. How do you check that a model is not just memorising?

    A good answer covers: Hold-out data, cross-validation, watching the gap between training and test performance.

  7. Tell me about a chart that misled someone and how you fixed it.

    A good answer covers: Truncated axes, cherry-picked ranges, pie charts; what you changed and what it showed.

  8. How would you measure whether a new feature worked?

    A good answer covers: Define the metric before launch, a comparison group, enough time and users, and what would count as failure.

  9. Which tools do you reach for and why?

    A good answer covers: SQL, Python or R, a notebook, a BI tool; what each is good for and where it breaks down.

  10. What is correlation versus causation, with an example you met?

    A good answer covers: Two things moving together without one causing the other; how you tested which was true.

QA and test engineer 10 questions

  1. How would you test a login page?

    A good answer covers: Valid and invalid paths, edge cases, security basics, accessibility, what happens on slow networks and small screens.

  2. What is the difference between a test case and a test scenario?

    A good answer covers: The scenario is what to check; the case is the exact steps, data and expected result.

  3. How do you decide what to automate?

    A good answer covers: Repeated, stable, high-value checks first; leave exploratory and one-off testing to people.

  4. Describe a bug report that a developer thanked you for.

    A good answer covers: Title, steps, expected versus actual, environment, logs or a screen recording, how often it happens.

  5. What would you do if a release is tomorrow and you found a serious bug?

    A good answer covers: Report it with its impact clearly, propose options (fix, work around, delay), let the decision be made with facts.

  6. Explain regression testing and when it matters most.

    A good answer covers: Checking that old behaviour still works after a change; before a release, after a refactor, after a dependency update.

  7. How do you test an API without a user interface?

    A good answer covers: Postman or a script: status codes, schema, edge inputs, auth, rate limits, idempotency.

  8. What is the testing pyramid, and do you agree with it?

    A good answer covers: Many unit tests, fewer integration, fewest end-to-end; where it fits and where it does not.

  9. How do you test for performance?

    A good answer covers: Define the load and the target, measure under it, find the first bottleneck; tools you have used.

  10. Tell me about a time you missed a bug. What changed after?

    A good answer covers: Own it, say what the gap was, and the check or habit you added.

Product and project roles 10 questions

  1. How do you decide what to build next?

    A good answer covers: Users' problems, the company's goal, the effort; a framework you actually used and what it left out.

  2. Tell me about a feature that failed and what you learnt.

    A good answer covers: What you expected, what the numbers said, what you did with it.

  3. How do you write a requirement a developer will not misread?

    A good answer covers: The user, the goal, acceptance criteria, examples, what is out of scope.

  4. A stakeholder wants a feature you think is wrong. What do you do?

    A good answer covers: Understand the goal behind the ask, bring data or a cheap test, agree on what success means.

  5. How do you run a project that is late?

    A good answer covers: Find out why, cut scope before cutting quality, tell people early, re-plan with the team.

  6. Describe how you measure a product's success.

    A good answer covers: One or two metrics tied to the goal, a baseline, and what would make you change course.

  7. How do you talk to users?

    A good answer covers: Interviews with open questions, watching them use it, support tickets; how often and what you did with it.

  8. Explain a trade-off you made between speed and quality.

    A good answer covers: The context, the decision, who you told, what it cost later.

  9. How do you keep a team informed without wasting their time?

    A good answer covers: A short written update, one meeting that matters, a visible plan; what you stopped doing.

  10. What product do you admire, and what would you change in it?

    A good answer covers: A specific thing, why users would feel the difference, how you would test the change.

The HR round 10 questions

  1. What are your salary expectations?

    A good answer covers: Research the range for the role and city, give a range not a number, and ask about the full package.

  2. Why are you leaving your current job?

    A good answer covers: Forward-looking and honest, no blame: what you want next that this role has.

  3. When can you join?

    A good answer covers: Know your notice period; a clear date beats an eager guess.

  4. Are you comfortable with the working hours, travel or location?

    A good answer covers: Answer truthfully; a constraint discussed now saves a problem later.

  5. Tell me about a gap in your CV.

    A good answer covers: What you did in it, briefly, and what you learnt; no apology.

  6. Have you applied elsewhere?

    A good answer covers: Honest and brief: yes, to similar roles; this one interests you because of a specific reason.

  7. How do you handle stress and deadlines?

    A good answer covers: A real example and the habits that help: planning, asking early, breaks.

  8. What do you know about our company?

    A good answer covers: Their products, customers, recent news, and one thing you find interesting about how they work.

  9. Describe your ideal manager.

    A good answer covers: Clear goals, honest feedback, room to do the work; what you give back.

  10. Is there anything that would stop you from accepting an offer?

    A good answer covers: Think about it before the interview: role, pay, location, growth; be clear and polite.

Behavioural and situational 10 questions

  1. Tell me about a time you failed.

    A good answer covers: Situation, what you did, what happened, what you changed. The change is the answer.

  2. Describe a conflict with a colleague and how you resolved it.

    A good answer covers: Their view fairly, your view, the conversation you had, the outcome for the work.

  3. Give an example of leading without being in charge.

    A good answer covers: Noticing a gap, proposing a plan, bringing others along, the result.

  4. Tell me about a time you had too much to do.

    A good answer covers: How you decided what came first, what you said no or not-yet to, who you told.

  5. Describe a time you received hard feedback.

    A good answer covers: What it was, how you reacted in the moment, what you did about it in the weeks after.

  6. When did you go beyond what was asked?

    A good answer covers: A specific extra effort that helped someone, not just working late.

  7. Tell me about a decision you made with incomplete information.

    A good answer covers: What you knew, what you assumed, how you limited the risk, what you learnt.

  8. Describe a time you had to learn something fast to deliver.

    A good answer covers: The gap, your method, the deadline, the result, and what stuck.

  9. How have you handled a mistake that affected others?

    A good answer covers: Owning it quickly, fixing it, telling the people affected, preventing a repeat.

  10. What motivates you on a bad day?

    A good answer covers: Something true about you: the people, the craft, the user at the end.

Good to know

  • Answer with a story: the situation, what you did, what happened. Thirty seconds to two minutes, and stop when the point is made.
  • Record yourself once on your phone. You will hear the filler words and the pace nobody tells you about.
  • Prepare three questions to ask them; an interview is a conversation, not an exam.
  • The career basics guide has the CV and LinkedIn side; a session can be a mock interview.

All utilities

Book a sessionFrom Rs 1,500 an hour · online
Book