Software Architecture Interview Questions
- 22Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
22 questions
- 1In explaining a project architecture, you should start at the 50,000 ft. level by discussing_____and then move to lower levels.
Hint
Think about the first high-level view of a system's structure.
Answer
layers
- 2An architecture style like REST defines only_____and principles, not a specific block diagram or code structure.
Hint
Consider what an architecture style provides compared to a pattern.
Answer
guidelines
- 3An architecture pattern such as MVC provides a_____level block diagram defining overall structure but not specific code.
Hint
This level sits between guidelines and code-level details.
Answer
structure
- 4Design patterns are_____tested solutions for recurring architecture problems.
Hint
Think of a word that means proven over repeated use.
Answer
time
- 5The three primary categories of design patterns from the Gang of Four are creational, structural, and_____.
Hint
This category deals with communication between objects.
Answer
behavioral
- 6An example of a creational design pattern that ensures a class has only one instance is the_____pattern.
Hint
This pattern is often used for caching or shared configuration.
Answer
singleton
- 7An example of a structural design pattern that allows incompatible interfaces to work together is the_____pattern.
Hint
Think of a real-world power plug adapter.
Answer
adapter
- 8An example of a behavioral design pattern that defines a one-to-many dependency between objects is the_____pattern (commonly used for event handling).
Hint
This pattern is used when changes in one object need to be notified to others.
Answer
observer
- 9In the singleton pattern, the constructor should be_____to prevent external instantiation.
Hint
What access modifier ensures no other class can create instances?
Answer
private
- 10To ensure thread safety in a singleton, you typically use a_____object to synchronize access during instance creation.
Hint
This keyword in C# (or similar constructs in other languages) ensures mutual exclusion.
Answer
lock
- 11The outer null check in a singleton's double null check pattern improves_____by avoiding unnecessary locking.
Hint
Why would you skip the lock if the object is already created?
Answer
performance
- 12Singleton pattern is different from using a static class because a static class loses_____oriented programming features like inheritance and interface implementation.
Hint
Think about the paradigm that includes polymorphism and encapsulation.
Answer
object
- 13In C#, the `_____` keyword can be used to simplify singleton implementation by providing built-in lazy initialization and thread safety.
Hint
This generic class defers creation until first access.
Answer
Lazy
- 14GUI architecture patterns like MVC, MVP, and MVVM aim to organize the_____code between the view and the underlying components.
Hint
This code handles user inputs and updates the UI.
Answer
interaction
- 15In MVC, the first component to receive a request is the_____, which then loads the model and invokes the view.
Hint
This component acts as the traffic police between model and view.
Answer
controller
- 16In MVP, the view submits itself to the_____which then handles all UI logic and updates the view.
Hint
This component acts as a guru that the view depends on completely.
Answer
presenter
- 17In MVP, the view is often called a_____view because it does no work and relies entirely on the presenter.
Hint
This term describes a view that only forwards events and updates its UI based on directives.
Answer
passive
- 18The importance of the interface in MVP is that it acts as a_____between the presenter and the view for callbacks.
Hint
This allows the presenter to interact with any view that implements the interface.
Answer
mediator
- 19MVVM differs from MVP primarily because it relies on_____bindings to connect the view and view model.
Hint
These bindings are declarative and update automatically.
Answer
automated
- 20A view model class encapsulates the model and provides everything needed for the view, including data, colors, and_____logic.
Hint
This includes visual properties like foreground/background color, enabling/disabling, etc.
Answer
aesthetics
- 21The choice between MVC, MVP, and MVVM is largely_____by the technology being used.
Hint
Think about what forces the decision, such as whether the view loads first or supports bindings.
Answer
dictated
- 22When a candidate answers a question in a way that prompts the interviewer to ask further related questions, it is called a_____interview question.
Hint
This helps control the direction of the interview toward your strengths.
Answer
candidate driven

Ask anything
We've read this whole study set, so questions about it get the best answers.