Tech Lead · interview questions

Tech Lead interview questions

From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.

Tech Lead Core 40

  1. Most asked What does a tech lead do, and how is it different from an engineering manager?
  2. Most asked How much should a tech lead code?
  3. Most asked You join as tech lead of an existing team. What do you do in the first 90 days?
  4. Most asked Two senior engineers have argued about an approach for weeks. What do you do?
  5. Most asked How do you keep code reviews fast without lowering quality?
  6. Most asked How do you manage technical debt on a team that is always under delivery pressure?
  7. Most asked A production incident is happening and eight engineers are on the call. What is your role as tech lead?
  8. Most asked How do you grow the engineers on your team?
  9. Most asked Tell me about a time you made a technical decision that turned out to be wrong.
  10. Most asked Tell me about a time you had to push back on a deadline or scope.
  11. Most asked Tell me about the most complex system you designed or led.
  12. Most asked Product wants to skip tests and code review to hit a launch date. What do you do?
  13. Most asked Your team wants to rewrite a legacy service. How do you evaluate the proposal?
  14. Most asked What makes a good design document, and when do you require one?
  15. Most asked How do you decide how much process a technical decision needs?
  16. Most asked A product manager asks when a large project will be done. How do you answer?
  17. Most asked How do you communicate project status to stakeholders?
  18. How do you set technical direction for a team?
  19. How do you approach build vs buy decisions?
  20. How do you break down a large feature so it can ship incrementally?
  21. Why should postmortems be blameless, and doesn't that remove accountability?
  22. How do you balance reliability work against feature work?
  23. Your project depends on a change from another team that hasn't been scheduled. What do you do?
  24. Tell me about a time you resolved a technical disagreement in your team.
  25. Tell me about a time you improved how your team works.
  26. Tell me about a time you mentored someone through a hard project.
  27. Tell me about an incident you led.
  28. A senior engineer on your team consistently ignores the team's code review agreement. How do you handle it?
  29. A key engineer is the only person who understands a critical system. What do you do?
  30. Your team's velocity is dropping. How do you investigate?
  31. How do you work with your engineering manager as a tech lead?
  32. How do you work with your product manager as a tech lead?
  33. What would you look at to judge the technical health of a team you just joined?
  34. What is an ADR and why would you use one?
  35. How do you run a design review that is useful rather than a gate?
  36. How do you handle a production bug caused by code you approved in review?
  37. How do you make sure your team's services are operable in production?
  38. How do you onboard a new engineer to a complex code base quickly?
  39. How do you decide whether to adopt a new technology the team is excited about?
  40. What's the hardest part of being a tech lead, in your experience?

System Design Problems Core 31

  1. Most asked Design a URL shortener (like bit.ly).
  2. Most asked Design a distributed rate limiter.
  3. Most asked Design a chat application (like WhatsApp or Slack).
  4. Most asked Design a social media news feed (like Twitter/X or Instagram).
  5. Most asked Design a notification system (email, SMS, push).
  6. Most asked Design a payment system.
  7. Most asked Design a ticket booking system (like Ticketmaster).
  8. Most asked Design a distributed unique ID generator.
  9. Most asked Design a rate limiter for a public API.
  10. Most asked Design a webhook delivery system.
  11. Most asked Design an authentication service with SSO for multiple apps.
  12. Design a file storage and sharing service (like Dropbox or Google Drive).
  13. Design search autocomplete (typeahead).
  14. Design a distributed job scheduler / task queue.
  15. Design a video streaming platform (like YouTube).
  16. Design a web crawler.
  17. Design a real-time leaderboard for a game.
  18. Design a ride-sharing service (like Uber).
  19. Design the checkout and inventory system for an e-commerce site.
  20. Design a distributed cache (like Memcached/Redis Cluster).
  21. Design a collaborative document editor (like Google Docs).
  22. Design a metrics monitoring and alerting system (like Prometheus/Datadog).
  23. Design a centralized logging pipeline.
  24. Design an API gateway.
  25. Design a distributed key-value store (like DynamoDB/Cassandra).
  26. Design Pastebin.
  27. Design a 'find nearby places' service (like Yelp).
  28. Design a feature flag service.
  29. Design a stock exchange order matching engine.
  30. Design a full-text search service for a product catalog.
  31. Design a system to count likes/views at large scale.

Behavioral & STAR Core 41

  1. Most asked Tell me about a time you worked with a difficult teammate.
  2. Most asked Describe a disagreement you had with a coworker and how you resolved it.
  3. Most asked Tell me about a time you disagreed with your manager's decision.
  4. Most asked Tell me about a time you failed at something important.
  5. Most asked Describe a mistake that had a significant impact and how you handled it.
  6. Most asked Tell me about a time you had to work with unclear or changing requirements.
  7. Most asked Tell me about a time you missed a deadline.
  8. Most asked Tell me about a time you received critical feedback and how you responded.
  9. Most asked Describe a project you owned from start to finish.
  10. Most asked Tell me about a time you had to juggle multiple competing deadlines.
  11. Tell me about a time you led a project without formal authority.
  12. Tell me about a time you took responsibility for a team failure.
  13. Describe a time you had to collaborate with someone whose working style was very different from yours.
  14. Tell me about a successful project you completed as part of a team.
  15. Tell me about a time you helped a struggling teammate.
  16. Describe a time you had to push back on a stakeholder's request.
  17. Describe a time you had to deliver unwelcome feedback to a peer.
  18. Describe a time you had to motivate a team through a difficult period.
  19. Tell me about a decision you made that was unpopular with your team.
  20. Tell me about a time you had to make a decision with incomplete information as a leader.
  21. Tell me about a project that didn't go as planned.
  22. Tell me about a time you went above and beyond your job description.
  23. Describe a time you identified a problem no one had asked you to solve.
  24. Describe a situation where you had to make a decision without all the information you wanted.
  25. Tell me about a time priorities shifted midway through a project.
  26. Describe how you decide what to work on when everything feels urgent.
  27. Tell me about a time you helped a colleague grow their skills.
  28. Tell me about a time you received feedback that was hard to hear.
  29. Describe a time you had to rely on a team member you didn't fully trust yet.
  30. Tell me about a conflict between two people on your team and how you handled it.
  31. Describe a time you delegated an important task.
  32. Tell me about a time you had to say no to your manager.
  33. Describe how you handle working on something without a clear owner.
  34. Tell me about a time you had to say no to a request to protect a deadline.
  35. Describe a time you had to deprioritize something important.
  36. Describe your approach to onboarding a new team member.
  37. Tell me about a time you gave someone feedback that changed their behavior.
  38. Describe a time you learned something valuable from someone more junior than you.
  39. Describe how you typically respond to criticism.
  40. Tell me about a time you gave feedback that was poorly received.
  41. Describe a time feedback from a peer changed how you approached your work.

Team Lead Recommended 38

  1. Most asked What is the main job of a team lead?
  2. Most asked How do you run 1:1s with your team members?
  3. Most asked How do you give difficult feedback?
  4. Most asked How do you measure your team's performance?
  5. Most asked How do you keep your team motivated?
  6. Most asked What is psychological safety, and how do you build it?
  7. Most asked Two people on your team are in ongoing conflict. How do you handle it?
  8. Most asked How do you handle an underperforming team member?
  9. Most asked Stakeholders keep adding 'small' requests to your team's work. How do you handle it?
  10. Most asked Tell me about a time you helped someone on your team grow.
  11. Most asked Tell me about a time you gave feedback that was hard to deliver.
  12. Most asked Tell me about a time your team missed a deadline. What did you do?
  13. Most asked A high performer on your team is rude to colleagues. What do you do?
  14. Most asked What would you do in your first 30 days as a new team lead?
  15. Most asked Your team regularly finishes only about half of what it plans in a sprint. What do you do?
  16. Most asked Your team has many items in progress and everything takes weeks. How do you improve it?
  17. Most asked Your team is constantly interrupted by questions from other teams. What do you do?
  18. What was the hardest part of moving from engineer to team lead, and how did you handle it?
  19. How do you set up working agreements for a team?
  20. How do you make retrospectives useful?
  21. How do you onboard a new engineer to your team?
  22. How do you work with your own manager?
  23. How do you lead a team spread across locations and time zones?
  24. How do you work with product managers and designers?
  25. Tell me about a conflict in your team that you resolved.
  26. Tell me about a process change you introduced that made your team more effective.
  27. Tell me about a time someone on your team was struggling personally. How did you handle it?
  28. Tell me about a time you had to say no to a stakeholder.
  29. A team member asks for a promotion you don't think they're ready for. How do you respond?
  30. Your team is burning out after a long crunch. What do you do?
  31. You inherit a team with low trust and frequent complaints. Where do you start?
  32. Product asks you to commit to a date for a feature your team hasn't scoped yet. What do you say?
  33. How do you balance your own technical work with leading the team?
  34. How do you handle a team member who disagrees with a decision you made?
  35. What makes a team high-performing, in your view?
  36. A team member wants to work fully remote while the rest of the team is in the office. How do you make it work?
  37. How do you decide what to delegate as a team lead?
  38. How do you recognise good work on your team?

Design Patterns Recommended 80

  1. Most asked What is a design pattern, and why are they useful?
  2. Most asked Explain the SOLID principles.
  3. Most asked What is the difference between dependency inversion, dependency injection and inversion of control?
  4. Most asked Why is composition often preferred over inheritance?
  5. Most asked What is dependency injection, and what forms does it take?
  6. Most asked Explain the Factory Method pattern and how it differs from a simple factory.
  7. Most asked What problem does the Builder pattern solve? Show an example.
  8. Most asked How do you implement a Singleton, and why is it often considered an anti-pattern?
  9. Most asked What is the Adapter pattern? Give an example.
  10. Most asked What is the Decorator pattern? How is it different from inheritance?
  11. Most asked Explain the Observer pattern and give examples from real frameworks.
  12. Most asked Explain the Strategy pattern with an example.
  13. Most asked What is the difference between the Strategy and State patterns?
  14. Most asked Compare Adapter, Decorator, Proxy and Facade.
  15. Most asked What is the difference between Observer and Pub/Sub?
  16. Most asked What is the Repository pattern, and when is it worth using?
  17. Most asked When should you NOT use a design pattern?
  18. Most asked Scenario: your checkout supports card and PayPal, and the business adds a new payment provider every quarter. How would you design it?
  19. Most asked What are the three categories of Gang of Four design patterns?
  20. Most asked Explain the Liskov Substitution Principle with an example.
  21. Most asked What is the Facade pattern?
  22. Most asked How would you implement undo/redo with the Command pattern?
  23. Most asked Compare Factory Method, Abstract Factory and Builder.
  24. Most asked What is MVC, and which design patterns does it combine?
  25. Most asked What is an anti-pattern? Name a few common ones.
  26. Most asked Scenario: when an order is placed, several systems (email, inventory, analytics, loyalty) must react, and more will be added. How do you design it?
  27. What does the Single Responsibility Principle mean in practice?
  28. How do you apply the Open/Closed Principle?
  29. What kinds of Proxy are there, and what does each do?
  30. What is the State pattern? When would you use it?
  31. What is the Circuit Breaker pattern?
  32. How do you safely refactor existing code toward a design pattern?
  33. What is the Interface Segregation Principle?
  34. What does "program to an interface, not an implementation" mean?
  35. What are coupling and cohesion, and how do design patterns affect them?
  36. When would you use the Abstract Factory pattern?
  37. What is the Prototype pattern, and what is the main pitfall when implementing it?
  38. What is the Bridge pattern?
  39. Explain the Composite pattern with a real-world example.
  40. Explain Chain of Responsibility and give a web-development example.
  41. What is the Iterator pattern, and how do modern languages support it?
  42. What is the Template Method pattern?
  43. When would you use a Decorator instead of subclassing?
  44. Template Method or Strategy: how do you choose?
  45. Is HTTP middleware Chain of Responsibility or Decorator?
  46. What is the Unit of Work pattern?
  47. What is CQRS, and how does it relate to the Command pattern?
  48. Which design patterns do you see in React?
  49. Which design patterns do Laravel and Spring use internally?
  50. What is the Middleware (pipeline) pattern used for?
  51. How would you refactor a god object?
  52. Why is a service locator considered worse than dependency injection?
  53. Scenario: you need undo/redo in a drawing or text editor. Which pattern would you use?
  54. Scenario: a third-party SDK you must use has a completely different interface from the rest of your code. What do you do?
  55. Scenario: a class has a constructor with ten parameters, many optional. How would you improve it?
  56. Scenario: you need to add caching and logging to an existing service without modifying it. How?
  57. Scenario: every method of an `Order` class starts with a switch on `status`. How would you refactor it?
  58. How would you explain to a junior developer how to choose the right design pattern?
  59. What is the difference between Active Record and Data Mapper?
  60. Which design patterns does the Java standard library use?
  61. Which design patterns do Python features replace or simplify?
  62. Which design patterns do you use in PHP and Laravel day to day?
  63. Which design patterns are common in TypeScript and Node.js code?
  64. How do design patterns relate to testability?
  65. What is the Flyweight pattern, and when is it worth using?
  66. What is the Mediator pattern?
  67. What is the Memento pattern?
  68. What is the Visitor pattern, and what is its main trade-off?
  69. What is the Interpreter pattern?
  70. Command or Memento for undo: which would you use?
  71. How is Mediator different from Observer?
  72. What is the difference between Bridge and Adapter?
  73. How do Composite and Decorator differ, given both use recursive composition?
  74. When would you use a simple factory, and when a dependency injection container?
  75. What is the Null Object pattern, and when can it be harmful?
  76. What is the Specification pattern?
  77. Scenario: product categories contain products and subcategories to any depth, and you need totals per category. Which pattern fits?
  78. What is the Object Pool pattern, and where do you meet it?
  79. What is the Strangler Fig pattern, and how do design patterns help with it?
  80. Is it a good idea to name classes after patterns, such as `PaymentStrategy` or `UserFactory`?

API Design Recommended 33

  1. Most asked What makes an API RESTful, and what are good REST design practices?
  2. Most asked Which HTTP methods are safe and idempotent, and why does it matter?
  3. Most asked Which HTTP status codes should an API use, and when?
  4. Most asked Compare offset pagination and cursor (keyset) pagination.
  5. Most asked How should you version an API?
  6. Most asked How do idempotency keys work for POST requests?
  7. Most asked Write an Express or FastAPI endpoint that creates an order idempotently.
  8. Most asked Write a SQL query that returns each customer's three most recent orders.
  9. Most asked When would you choose GraphQL over REST, or gRPC over both?
  10. An API endpoint that was fast is now taking seconds under load. Walk through your investigation.
  11. How should APIs format error responses?
  12. How do you design reliable webhooks?
  13. How should APIs support filtering, sorting and field selection?
  14. Why use OpenAPI (and contract-first design)?
  15. What counts as a breaking change in an API?
  16. How should an API communicate rate limits to clients?
  17. How do you design APIs for long-running operations?
  18. How do APIs prevent lost updates from concurrent edits?
  19. What is HATEOAS and is it used in practice?
  20. How do you design bulk or batch endpoints?
  21. What naming conventions make APIs easier to use?
  22. What security practices apply to API design?
  23. What does an API gateway do, and when do you need one?
  24. How should APIs represent dates, times and money?
  25. What makes a great developer experience for a public API?
  26. PUT vs PATCH: how do you implement updates?
  27. How do you design event-driven APIs (events between services)?
  28. How should APIs handle large file uploads and downloads?
  29. What should a health or status endpoint return?
  30. How can APIs leverage HTTP caching?
  31. How do you deprecate an API endpoint responsibly?
  32. What consistency guarantees should an API document?
  33. How do APIs handle localization?

Was this page helpful?

Report a mistake