FullStackFSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Kill Your Tech Interview
3877 Full-Stack, Algorithms & System Design Interview Questions
Answered To Get Your Next Six-Figure Job Offer
      
🤖 Having Machine Learning & DS Interview? Check  MLStack.Cafe - 1704 Data Science & ML Interview Questions & Answers!Having ML & DS Interview? Check 🤖 MLStack.Cafe - 1704 ML & DS Interview Questions and Answers

Top 68 Design Patterns Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Topic Progress:

Theoretical Questions

Q1:   

What are the main categories of Design Patterns?

  
Add to PDF   Entry 
Q2:   

What is Design Patterns and why anyone should use them?

  
Add to PDF   Entry 
Q3:   

What is Singleton pattern?

  
Add to PDF   Entry 
Q4:   

What is a pattern?

  
Add to PDF   Entry 
Q5:   

Why would you want to use a Repository Pattern with an ORM?

  
Add to PDF   Junior 
Q6:   

What are some benefits of Repository Pattern?

  
Add to PDF   Junior 
Q7:   

Name types of Design Patterns?

  
Add to PDF   Junior 
Q8:   

What is Null Object pattern?

  
Add to PDF   Junior 
Q9:   

What is Dependency Injection?

  Related To: Dependency Injection
Add to PDF   Junior 
Q10:   

What is Proxy pattern?

  
Add to PDF   Junior 
Q11:   

What is Inversion of Control?

  
Add to PDF   Junior 
Q12:   

What is Iterator pattern?

  
Add to PDF   Junior 
Q13:   

What is State pattern?

  
Add to PDF   Junior 
Q14:   

What is Template pattern?

  
Add to PDF   Junior 
Q15:   

What is Filter pattern?

  
Add to PDF   Junior 
Q16:   

What is Builder pattern?

  
Add to PDF   Junior 
Q17:   

What is Strategy pattern?

  
Add to PDF   Junior 
Q18:   

Can we create a clone of a singleton object?

  
Add to PDF   Junior 
Q19:   

What is Factory pattern?

  
Add to PDF   Junior 
Q20:   

Is Unit Of Work equals Transaction? Or it is more than that?

  Related To: Software Architecture
 Add to PDF   Mid 
Q21:   

What is Decorator pattern?

  
 Add to PDF   Mid 
Q22:   

What is Memento pattern?

  
 Add to PDF   Mid 
Q23:   

What is Unit Of Work?

  Related To: ADO.NET, OOP
 Add to PDF   Mid 
Q24:   

What is Mediator pattern?

  
 Add to PDF   Mid 
Q25:   

What are some reasons to use Repository Pattern?

  
 Add to PDF   Mid 
Q26:   

What is an Aggregate Root in the context of Repository Pattern?

  
 Add to PDF   Mid 
Q27:   

Can you give any good explanation what is the difference between Proxy and Decorator?

  
 Add to PDF   Mid 
Q28:   

When should I use Active Record vs Repository Pattern?

  
 Add to PDF   Mid 
Q29:   

What are the drawbacks to the ActiveRecord pattern?

  
 Add to PDF   Mid 
Q30:   

In OOP, what is the difference between the Repository Pattern and a Service Layer?

  Related To: ASP.NET, ASP.NET MVC, Software Architecture, ASP.NET Web API
 Add to PDF   Mid 
Q31:   

What are some advantages of using Dependency Injection

  Related To: Dependency Injection
 Add to PDF   Mid 
Q32:   

What is the Command and Query Responsibility Segregation (CQRS) Pattern?

  Related To: DDD, Software Architecture
 Add to PDF   Mid 
Q33:   

Name some benefits of CQRS Pattern

  Related To: DDD, Software Architecture
 Add to PDF   Mid 
Q34:   

Describe what is the Event Sourcing Pattern

  Related To: DDD, Software Architecture
 Add to PDF   Mid 
Q35:   

Explain the use of Claim Check Pattern in Azure Event Grid

  Related To: Azure
 Add to PDF   Mid 
Q36:   

What are the difference between a Static class and a Singleton class?

  
 Add to PDF   Mid 
Q37:   

What is Adapter Pattern?

  
 Add to PDF   Mid 
Q38:   

What does program to interfaces, not implementations mean?

  Related To: Software Architecture
 Add to PDF   Mid 
Q39:   

What is Prototype pattern?

  
 Add to PDF   Mid 
Q40:   

What is Interpreter pattern?

  
 Add to PDF   Mid 
Q41:   

What is Command pattern?

  
 Add to PDF   Mid 
Q42:   

What is Facade pattern?

  
 Add to PDF   Mid 
Q43:   

What is the Chain of Responsibility pattern?

  
 Add to PDF   Mid 
Q44:   

What is Abstract Factory pattern?

  
 Add to PDF   Mid 
Q45:   

When should I use Composite design pattern?

  
 Add to PDF   Mid 
Q46:   

What is Observer pattern?

  
 Add to PDF   Mid 
Q47:   

What is Bridge pattern?

  
 Add to PDF   Mid 
Q48:   

Explain usage of Service Locator Pattern

  
 Add to PDF   Senior 
Q49:   

What are some disadvantages of Dependency Injection?

  Related To: Dependency Injection
 Add to PDF   Senior 
Q50:   

What is the difference between Strategy design pattern and State design pattern?

  
 Add to PDF   Senior 
Q51:   

What is relationship between Repository and Unit of Work?

  Related To: Software Architecture, Entity Framework
 Add to PDF   Senior 
Q52:   

What is Flyweight pattern?

  
 Add to PDF   Senior 
Q53:   

Explain what is Composition over Inheritance?

  
 Add to PDF   Senior 
Q54:   

Why shouldn't I use the Repository Pattern with Entity Framework?

  Related To: .NET Core, Entity Framework
 Add to PDF   Senior 
Q55:   

How is Bridge pattern is different from Adapter pattern?

  
 Add to PDF   Senior 
Q56:   

How should I be grouping my Repositories when using Repository Pattern?

  Related To: Software Architecture
 Add to PDF   Senior 
Q57:   

Is Repository Pattern as same as Active Record Pattern?

  Related To: Software Architecture
 Add to PDF   Senior 
Q58:   

What will you choose: Repository Pattern or "smart" business objects?

  Related To: Software Architecture
 Add to PDF   Senior 
Q59:   

Could you explain some benefits of Repository Pattern?

  Related To: ADO.NET, OOP
 Add to PDF   Senior 
Q60:   

Why would I ever use a Chain of Responsibility over a Decorator?

  
 Add to PDF   Senior 
Q61:   

When would you use the Builder Pattern? Why not just use a Factory Pattern?

  
 Add to PDF   Senior 
Q62:   

What's the difference between the Dependency Injection and Service Locator patterns?

  Related To: Dependency Injection
 Add to PDF   Expert 
Q63:   

What is the difference between the Template patterns and the Strategy pattern?

  
 Add to PDF   Expert 
Q64:   

Explain difference between the Facade, Proxy, Adapter and Decorator design patterns?

  
 Add to PDF   Expert 
Q65:   

Could you explain the difference between Façade vs. Mediator?

  
 Add to PDF   Expert 
Q66:   

Can we use the CQRS without the Event Sourcing?

  Related To: DDD, Software Architecture
 Add to PDF   Expert 
Q67:   

Could you explain what is the Deadly Diamond of Death?

  
 Add to PDF   Expert 

Code Challenges

Q1:   

How should I add an object into a collection maintained by Aggregate Root?

  
  Add to PDF   Mid 
 

Rust has been Stack Overflow’s most loved language for four years in a row and emerged as a compelling language choice for both backend and system developers, offering a unique combination of memory safety, performance, concurrency without Data races...

Clean Architecture provides a clear and modular structure for building software systems, separating business rules from implementation details. It promotes maintainability by allowing for easier updates and changes to specific components without affe...

Azure Service Bus is a crucial component for Azure cloud developers as it provides reliable and scalable messaging capabilities. It enables decoupled communication between different components of a distributed system, promoting flexibility and resili...

Cosmos DB has gained popularity among developers and organizations across various industries, including finance, e-commerce, gaming, IoT, and more. Follow along and learn the 24 most common and advanced Azure Cosmos DB interview questions and answers...
More than any other NoSQL database, and dramatically more than any relational database, MongoDB's document-oriented data model makes it exceptionally easy to add or change fields, among other things. It unlocks Iteration on the project. Iteration f...
Unit Tests and Test Driven Development (TDD) help you really understand the design of the code you are working on. Instead of writing code to do something, you are starting by outlining all the conditions you are subjecting the code to and what outpu...
Domain-Driven Design is nothing magical but it is crucial to understand the importance of Ubiquitous Language, Domain Modeling, Context Mapping, extracting the Bounded Contexts correctly, designing efficient Aggregates and etc. before your next DDD p...
At its core, Microsoft Azure is a public cloud computing platform - with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual c...
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Follow along to refresh your knowledge and explore the 52 most frequently asked and advanced Node JS Interview Questions and Answers every...
Dependency Injection is most useful when you're aiming for code reuse, versatility and robustness to changes in your problem domain. DI is also useful for decoupling your system. DI also allows easier unit testing without having to hit a database and...