Skip to content

Architectural Patterns Quiz

16 questions on the architectural patterns: Clean, Hexagonal, Layered, Event-Driven, Microservices, MVC and MVVM, and on choosing between them.

Layered, Clean, Hexagonal

#

In Layered Architecture, what does a strictly closed layering rule mean?

#

Which symptom most often shows a layered system has degenerated?

#

In Clean Architecture, what is the dependency rule?

#

Under Clean Architecture, where does the database belong?

#

What do "ports" and "adapters" mean in Hexagonal Architecture?

#

Which characteristic do Clean and Hexagonal architectures most directly improve, and what is the usual price?

Event-driven and microservices

#

In Event-Driven Architecture, what does a producer know about its consumers?

#

Which is the strongest availability argument for asynchronous messaging between services?

#

What is the main cost teams underestimate in Event-Driven Architecture?

#

A team splits a system into microservices, and now a typical feature requires coordinated changes in three services released together. What have they built?

#

Which condition most justifies extracting a module into its own service?

#

Two microservices need one atomic outcome across their own databases. What is the usual approach?

MVC, MVVM, and choosing

#

In MVC, what is the controller's responsibility?

#

What distinguishes MVVM from MVC?

#

A ViewModel in an MVVM application has grown to contain validation, business rules, and API calls. What is the problem?

#

A small internal tool with one team, modest load, and a short deadline is proposed to launch on microservices, EDA, and Clean Architecture together. What is the sound response?