Tech Lead · interview questions

Tech Lead interview questions: comparison

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

Tech Lead Core 1

  1. How do you approach build vs buy decisions?

Design Patterns Recommended 20

  1. Most asked What is the difference between dependency inversion, dependency injection and inversion of control?
  2. Most asked What is the difference between the Strategy and State patterns?
  3. Most asked Compare Adapter, Decorator, Proxy and Facade.
  4. Most asked What is the difference between Observer and Pub/Sub?
  5. Most asked When should you NOT use a design pattern?
  6. Most asked Compare Factory Method, Abstract Factory and Builder.
  7. When would you use the Abstract Factory pattern?
  8. When would you use a Decorator instead of subclassing?
  9. Template Method or Strategy: how do you choose?
  10. Which design patterns do you see in React?
  11. Which design patterns do Laravel and Spring use internally?
  12. What is the difference between Active Record and Data Mapper?
  13. Which design patterns does the Java standard library use?
  14. Which design patterns do Python features replace or simplify?
  15. Which design patterns do you use in PHP and Laravel day to day?
  16. Which design patterns are common in TypeScript and Node.js code?
  17. Command or Memento for undo: which would you use?
  18. What is the difference between Bridge and Adapter?
  19. How do Composite and Decorator differ, given both use recursive composition?
  20. When would you use a simple factory, and when a dependency injection container?

API Design Recommended 7

  1. Most asked Which HTTP methods are safe and idempotent, and why does it matter?
  2. Most asked Which HTTP status codes should an API use, and when?
  3. Most asked Compare offset pagination and cursor (keyset) pagination.
  4. Most asked When would you choose GraphQL over REST, or gRPC over both?
  5. How do you design bulk or batch endpoints?
  6. PUT vs PATCH: how do you implement updates?
  7. What should a health or status endpoint return?

Was this page helpful?

Report a mistake