QUESTPOND ONLINE COURSE

Architecture Interview Questions & Answers

What you'll learn

  • How to prepare of Software Architecture Job interview , what kind of questions are asked and how to answer the same.
  • You will learn ,How to explain your project architecture ?,  Questions around Design patterns , Architecture Pattern VS Architecture Style VS Design patterns ,
  • How to answer which design pattern you have used in your project , different types of design patterns , Structural , Behavioral and Creational
  • Dedicated topic on Singleton as its one of the most discussed pattern , Singleton VS Static, Thread Safety in Singleton, Double NULL check , Lazy Keyword

  • One full chapter in GUI architecture pattern MVC , MVP , MVVM, Understanding the term SOC , MVC VS  MVP VS MVVM , Passive View , ViewModel, Layered vs Tiered
  • No Architecture Interview is complete with out SOLID principles, SRP , OCP , LISKOV , ISP , DI ,Higher level Modules , LowerLevel modul , IOC , Liskov VS ISP ,

  • Dedicated chapter covering Repository and UOW pattern , Generic repository , EF ( ORM ) VS  Repository ,  Mock  testing and Unit testing with Repository,
  • 1 hour of lecture covering Factory pattern , Abstract Factory , Simple Factory ,Service Locator,Static ,Dynamic DI, Factory Method, Factory VS Abstract Factory

Course Curriculum

Explore the topics covered in this course.

+
Lesson 1:- In this we will cover 25 Basic Architecture Interview questions with answers Click to view syllabus
Module 1
  1. Explain your project architecture?
  2. Architecture style VS Architecture pattern VS Design pattern.
  3. What are design patterns?
  4. Which are the different types of design patterns?
  5. Which design pattern have you used in your project?
  6. Explain Singleton Pattern and the use of the same?
  7. How did you implement singleton pattern?
  8. Can we use Static class rather than using a private constructor?
  9. Static vs Singleton pattern?
  10. How did you implement thread safety in Singleton?
  11. What is double null check in Singleton?
  12. Can Singleton pattern code be made easy with Lazy keyword?
  13. Can we rid of this double null check code?
  14. What are GUI architecture patterns, can you name some?
  15. Explain term Separation of concerns ( SOC ) ?
  16. Explain MVC Architecture Pattern?
  17. Explain MVP Architecture pattern?
  18. What is the importance of interface in MVP ?
  19. What is passive view?
  20. Explain MVVM architecture pattern?
  21. What is the difference between MVP and MVVM
  22. What is a ViewModel?
  23. When to use what MVP / MVC / MVVM?
  24. MVC vs MVP vs MVVM?
  25. Layered architecture vs Tiered?
+
Lesson 2:-SOLID Principles Questions and Answers Click to view syllabus
Module 2

26.  What is SOLID?
27.  What is the full form of SOLID?
28.  What is the goal of SOLID ?
29.  Explain SRP with a example ?
30.  What is the benefit of SRP
31.  Explain OCP with a example ?
32.  What is the benefit of OCP ?
33.  Can you explain LISKOV Principle and its violation ?
34.  How can we fix LISKOV Problem ?
35.  Explain Interface Seggregation Principle?
36.  Is there a connection between LISKOV and ISP ?
37.  Define depedency inversion?38.  What is higher level module and lower level module ?
39.  How does depedency inversion benefit , show with an example ?
40.  Will only Dependency inversion solve decoupling problem ?
41.  Why do developers move object creation outside high level module?
42.  Explain IOC (Inversion of control) ?
43.  Explain Dependency Injection with an example?
44.  Is SOLID, IOC and DI  design pattern or principle?
45.  Is only SOLID Enough for good code/architecture ?

+
Lesson 3 :- Repository Pattern and UOW ( Unit of Work) Click to view syllabus
Module 3

46.  What is the use of repository pattern?
47.  Is Dal (Data access Layer) and Repository same?
48.  What is Generic repository pattern ?
49.  Is abstraction the only benefit of Repository?
50.  How to implement transaction in repository?
51.  What is Unit of work design pattern?
52.  Do we need repository pattern as EF does almost the same work?
53.  Did you do unit testing with Repository ?
54.  How does repository pattern make unit testing easy?
55.  How can we do mock testing with Repository?

+
Lesson 4:- Factory Pattern , Abstract Factory , DI , IOC , Service Locator Click to view syllabus
Module 4

56.  What is Factory pattern  and how does it benefit?
57.  How does centralizing object creation helps in loose coupling ?
58.  Question 174 :- What is IOC and DI ?
59.  DI vs IOC ?
60.  What is a service locator ?
61.  What is a service locator ?
62.  Which is good to use Service Locator or DI ?
63.  Can not we use a simple class rather than interface for DI ?
64.  Is DI a Factory Pattern?
65.  So If you just centralize object creation is it Factory pattern?
66.  Static DI and Dynamic DI ?
67.  In which scenarios to use Static DI vs Dynamic DI ?

+
Lesson 5:- Factory and Abstract Factory Pattern Continuation. Click to view syllabus
Module 5

68.  The real Factory pattern ?
69.  Factory Method VS Factory pattern ?
70.  How are new behaviors created in Factory pattern ?
71.  What is Abstract Factory Pattern ?
72.  Does Abstract Factory Pattern use FP inside ?
73.  Explain Simple Factory Pattern ?
74.  Simple Factory vs Factory (Factory Method) vs Abstract Factory ?
75.  How to remove IF conditions from Simple Factory?

+
Architecture Interview Questions and Answers Book Click to view syllabus
Module 6

Architecture Interview Questions and Answers Book