All 41 questions
What is domain-driven design, and when would you use it?
Asked in 4 of 434 interviews · last asked Oct 27 · Concept · Senior
Other ways it was asked
- “What is domain-driven design (DDD)?”
- “What is domain-driven design used for, what are its advantages and disadvantages, and where did it originate?”
- “What is domain-driven design (DDD), and in what situations is it particularly useful?”
What is the foundational principle of Clean Architecture?
Asked in 3 of 434 interviews · last asked Nov 9 · Concept · Mid-level
Other ways it was asked
- “Why do we use Clean Architecture?”
- “What is Clean Architecture?”
How would you use MVC and hexagonal architecture, and how do they differ?
Asked in 2 of 434 interviews · last asked Sep 16 · Concept · Mid-level
Other ways it was asked
- “Why would you choose hexagonal architecture over MVC?”
- “How have you used MVC and hexagonal architecture, and how do they differ?”
- “What are the differences between MVC and hexagonal architecture, and which do you prefer?”
What is hexagonal architecture, and how does it structure an application?
Asked in 2 of 434 interviews · last asked Sep 16 · Concept · Mid-level
Other ways it was asked
- “Can you give a small example of how hexagonal architecture separates an application’s components?”
What role does a repository play in an application, and what does the repository pattern accomplish?
Asked in 2 of 434 interviews · last asked Nov 11 · Concept · Mid-level
Other ways it was asked
- “What is a repository doing in this codebase, and what does the repository pattern accomplish?”
- “How do you use the Repository pattern?”
What are the responsibilities of a controller, service, repository, and action in Laravel, and when would you use each?
Asked once · last asked Feb 10 · Concept · Mid-level
How would you architect a new app using UI, domain, and data layers, and what responsibilities would belong in each layer?
Asked once · last asked Feb 12 · Design · Mid-level
What is Clean Architecture, and when would you use it in an Android application?
Asked once · last asked Mar 20 · Concept · Mid-level
When domain logic needs HTTP context, such as the current user, locale, or request ID, how do you model and pass that context without leaking framework request objects into the domain?
Asked once · last asked Mar 26 · Design · Senior
How would you evaluate whether a system's architecture and layering are well designed?
Asked once · last asked Apr 17 · Design · Senior
How would you assess whether a domain layer is properly separated and aligned with the business domains?
Asked once · last asked Apr 17 · Design · Senior
When would you use Clean Architecture or MVC architecture?
Asked once · last asked May 26 · Concept · Mid-level
What are the key concepts and rules of hexagonal architecture?
Asked once · last asked Jun 24 · Concept · Mid-level
What are aggregates in Domain-Driven Design, and when would you use them?
Asked once · last asked Jun 25 · Concept · Senior
What is the repository pattern in Laravel, and what are its benefits?
Asked once · last asked Jul 16 · Concept · Mid-level
How would you design a multi-brand application with a domain layer that supplies the data rendered by most of the app?
Asked once · last asked Jul 16 · Design · Mid-level
Why would you map a database entity to a DTO or another model?
Asked once · last asked Jul 16 · Concept · Mid-level
How can a repository use a search term to filter users by first name, last name, or email address?
Asked once · last asked Jul 20 · Concept · Mid-level
What are the trade-offs of validating a search term in the repository rather than in a service or handler?
Asked once · last asked Jul 20 · Concept · Senior
Other ways it was asked
- “Why did you put the validation for the search term in the repository rather than in the service or handler?”
When would you use domain-driven design or hexagonal architecture?
Asked once · last asked Jul 27 · Concept · Senior
What are domain-driven design, CQRS, and SOLID principles, and when would you use them?
Asked once · last asked Aug 5 · Concept · Senior
What is clean architecture, and how does an anti-corruption layer help isolate a system from external models?
Asked once · last asked Aug 31 · Concept · Senior
What’s the point of structuring a backend with controllers, services for business logic, and a repository layer for Prisma database calls?
Asked once · last asked Sep 2 · Concept · Mid-level
How do you handle sudden architecture and database requirement changes, such as switching from AWS RDS to MongoDB or avoiding an additional database, with minimal code impact?
Asked once · last asked Sep 29 · Scenario · Senior
What is the difference between an entity class and a DTO class?
Asked once · last asked Sep 30 · Concept · Junior
Explain the key components of Clean Architecture and how they connect to each other.
Asked once · last asked Sep 30 · Concept · Senior
How are the MVVM and Clean Architecture components connected when a view triggers an API request and receives the response?
Asked once · last asked Sep 30 · Scenario · Senior
How does a request move through Clean Architecture and return a response after a user submits a form?
Asked once · last asked Sep 30 · Scenario · Senior
How would you enforce separation between game logic and the UI through module boundaries, design patterns, tooling, or code reviews?
Asked once · last asked Oct 9 · Behavioral · Senior
Other ways it was asked
- “How did you enforce separation between game logic and the UI through module boundaries, design patterns, tooling, or code reviews?”
What is an anti-corruption layer between a legacy system and a new domain model?
Asked once · last asked Oct 18 · Concept · Senior
Why use DTOs instead of serializing database entities directly in an API?
Asked once · last asked Oct 28 · Concept · Mid-level
What is an anti-corruption layer in a modernization architecture?
Asked once · last asked Nov 2 · Concept · Senior
How does Clean Architecture structure a .NET Core application?
Asked once · last asked Nov 18 · Concept · Mid-level
What do you think the purpose of layered architecture is in software development, and why architect an application that way?
Asked once · last asked Sep 2 · Concept · Mid-level
Other ways it was asked
- “What’s the purpose of layered architecture, and why architect an app that way?”
When handling a request, would you call the repository directly or perform steps in the business logic before querying the database?
Asked once · last asked Mar 20 · Scenario · Mid-level
When would you use a Student DTO in an application?
Asked once · last asked Mar 30 · Concept · Junior
Should a controller or route handler make database calls directly, or should database access be separated?
Asked once · last asked Jul 28 · Concept · Junior
Why should business rules generally be placed outside a Spring Boot controller?
Asked once · last asked Sep 29 · Concept · Mid-level
What is a data transfer object (DTO), and how is it used in TypeScript?
Asked once · last asked Oct 7 · Concept · Junior
What is the service-repository pattern?
Asked once · last asked Oct 7 · Concept · Mid-level
What are the layers of Clean Architecture?
Asked once · last asked Nov 9 · Concept · Junior
More OOP and Design Patterns interview questions
- All OOP and Design Patterns interview questions
- OOP Basics Interview Questions
- Inheritance, Polymorphism, and Interfaces Interview Questions
- SOLID Principles and Object Design Interview Questions
- Dependency Injection and IoC Interview Questions
- Design Patterns Interview Questions
- MVC, MVP, and MVVM Interview Questions
How this list is made
Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.
Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.
The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every OOP and Design Patterns interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.
434 interviews, 286 candidates, Sep 2025 to Nov 2026. Updated every month with new interviews.
Or add the Chrome extension