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
Design Patterns Recommended 20
- Most asked What is the difference between dependency inversion, dependency injection and inversion of control?
- Most asked What is the difference between the Strategy and State patterns?
- Most asked Compare Adapter, Decorator, Proxy and Facade.
- Most asked What is the difference between Observer and Pub/Sub?
- Most asked When should you NOT use a design pattern?
- Most asked Compare Factory Method, Abstract Factory and Builder.
- When would you use the Abstract Factory pattern?
- When would you use a Decorator instead of subclassing?
- Template Method or Strategy: how do you choose?
- Which design patterns do you see in React?
- Which design patterns do Laravel and Spring use internally?
- What is the difference between Active Record and Data Mapper?
- Which design patterns does the Java standard library use?
- Which design patterns do Python features replace or simplify?
- Which design patterns do you use in PHP and Laravel day to day?
- Which design patterns are common in TypeScript and Node.js code?
- Command or Memento for undo: which would you use?
- What is the difference between Bridge and Adapter?
- How do Composite and Decorator differ, given both use recursive composition?
- When would you use a simple factory, and when a dependency injection container?
API Design Recommended 7
- Most asked Which HTTP methods are safe and idempotent, and why does it matter?
- Most asked Which HTTP status codes should an API use, and when?
- Most asked Compare offset pagination and cursor (keyset) pagination.
- Most asked When would you choose GraphQL over REST, or gRPC over both?
- How do you design bulk or batch endpoints?
- PUT vs PATCH: how do you implement updates?
- What should a health or status endpoint return?