What is a microkernel architecture, how to organize a meeting to discuss software architecture, or what are the consequences of having one type of connascence versus another — and, for that matter, what is connascence? These and many other topics are addressed in this introduction to the work of thinking about software at a broader and more abstract level, focusing on requirements and the system's final operation rather than the details of development itself. Highly recommended.
What are the four components of software architecture according to the book?
Reveal answer
Structure (the style, e.g. microservices), characteristics (success criteria, e.g. scalability), decisions (the system's rules) and design principles (guidelines).
Source: Notes, ch. 1 — Introduction
Recall
concept · relationship · cap-1●●○
What is the difference between an architecture decision and a design principle?
Reveal answer
A decision is a rule of the system (e.g. only the business layer accesses the database), which can have formal exceptions (variances); a principle is a guideline, not a rule (e.g. prefer asynchronous messaging).
Source: Notes, ch. 1 — Introduction
Multiple choice
relationship · cap-1●●○
"Services should prefer asynchronous communication with each other whenever possible." What is this?
It is a guideline ("prefer… whenever possible"), not a mandatory rule: a principle.
Source: Notes, ch. 1 — Introduction
Recall
general · cap-1●●○
Name expectations of the architect's role listed in ch. 1.
Reveal answer
Make architecture decisions, continually analyze the architecture, ensure compliance with decisions, have diverse exposure and experience, have business domain knowledge, possess interpersonal skills and understand and navigate politics.
Source: Notes, ch. 1 — Introduction
Recall
relationship · cap-1●●○
When making decisions, should the architect specify technologies or guide?
Reveal answer
Guide when possible: steer the team's choices instead of dictating every technology.
Source: Notes, ch. 1 — Introduction
Recall
relationship · cap-1●●○
Why is political skill an expectation of the architect?
Reveal answer
Because virtually every architecture decision will be challenged by someone; you have to negotiate to get them approved.
Source: Notes, ch. 1 — Introduction
Recall
concept · cap-1●●○
What is evolutionary architecture, and why does it matter?
Reveal answer
An architecture that is easy to change and adapt, verified objectively (metrics, tests); it matters because it is impossible to anticipate the unknown unknowns.
Source: Notes, ch. 1 — Introduction
Recall
relationship · cap-1●●●
What problem of the 1990–2000 period did the DevOps movement help solve with regard to architecture?
Reveal answer
Operations was outsourced, and architectures were designed to work around the operators' limitations; with DevOps, operations and architecture come to collaborate.
Source: Notes, ch. 1 — Introduction
Recall
concept · cap-1●○○
What are the two laws of software architecture?
Reveal answer
1st: everything is a trade-off. 2nd: why is more important than how.
Source: Notes, ch. 1 — Introduction
Recall
relationship · cap-1●●○
A new architect finds a system that uses queues instead of direct calls, with no documentation. Why does the 2nd law say this is a problem?
Reveal answer
Because without knowing why the decision was made (which trade-offs were weighed), you can't assess whether it still holds or change it safely.
Source: Notes, ch. 1 — Introduction
Recall
relationship · cap-1●●○
What should the relationship between the architect and database administrators be?
Reveal answer
Symbiotic: they should work together, because data decisions affect the architecture and vice versa.
Source: Notes, ch. 1 — Introduction
Recall
concept · cap-2●●○
How does the book treat the relationship between architecture and design?
Reveal answer
They are different, but should not be separated by a one-way line: the architect should be in constant contact with the developers, with mentoring, leadership and iteration.
Source: Notes, ch. 2 — Architectural Thinking
Recall
concept · cap-2●○○
What kind of knowledge distinguishes the architect from the developer?
Reveal answer
The developer needs technical depth; the architect, breadth: knowing many solutions and their trade-offs.
Source: Notes, ch. 2 — Architectural Thinking
Recall
concept · cap-2●●○
What is the Frozen Caveman antipattern?
Reveal answer
Mastering something obsolete without realizing it: the architect reapplies experience or a concern from an old context to current situations where it no longer makes sense.
Source: Notes, ch. 2 — Architectural Thinking
Recall
relationship · cap-2●●○
What risks come with the transition from developer to architect?
Reveal answer
Trying to keep expertise in everything and becoming too shallow, or keeping obsolete specializations.
Source: Notes, ch. 2 — Architectural Thinking
Recall
concept · cap-2●●○
What does "architecture is the stuff you can't Google" mean?
Reveal answer
That there is no generic right answer: everything depends on the context and the specific trade-offs of the system.
Source: Notes, ch. 2 — Architectural Thinking
Recall
relationship · cap-2●●●
In the book's online auction system, a bid producer sends each bid to three services (bid capture, bid tracking and bid analytics). What is the trade-off between using a topic and using three queues?
Reveal answer
The topic makes extending easy (another service just subscribes) and decouples; queues are more secure, allow different contracts per consumer and monitoring/scaling per queue.
Source: Notes, ch. 2 — Architectural Thinking
Recall
relationship · cap-2●●●
In an auction system where a producer sends each bid to several services, the bid data is sensitive and only the capture service may read it in full. Topic or queues?
Reveal answer
Queues: with a topic, any service can subscribe and access the data; dedicated queues control who receives what.
Source: Notes, ch. 2 — Architectural Thinking
Recall
relationship · cap-2●●○
How should the architect balance coding and architecture?
Reveal answer
Delegate the critical path to the developers and code useful things that are not bottlenecks: well-done POCs, technical debt, bug fixes, helper tools and code review.
Source: Notes, ch. 2 — Architectural Thinking
Recall
relationship · cap-2●●○
Why should a POC written by the architect be of good quality?
Reveal answer
Because the code becomes a reference for the team and is often reused.
Source: Notes, ch. 2 — Architectural Thinking
Recall
concept · cap-3●○○
What is modularity in the book's sense?
Reveal answer
An organizing principle: a logical (not necessarily physical) grouping of related code.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●○○
What does a module's cohesion measure?
Reveal answer
How much its parts need to be together — the internal interdependence.
Source: Notes, ch. 3 — Modularity
Multiple choice
concept · cap-3●●○
Among the types of cohesion listed, which is the worst?
Coincidental cohesion: elements together with no real relationship. Functional is the best.
Source: Notes, ch. 3 — Modularity
Recall
relationship · cap-3●●●
CustomerMaintenance has add/update/get/notify customer and also get/cancel customer orders. Is splitting it into OrderMaintenance better?
Reveal answer
It depends: it's a trade-off. It separates responsibilities and increases cohesion, but if the order operations use customer data heavily, it creates coupling between modules.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
What is the LCOM metric?
Reveal answer
Lack of Cohesion in Methods (from the CK metrics, for OO): it measures the lack of cohesion and helps find methods that should be separate; it has flaws.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●○○
What is the difference between afferent and efferent coupling?
Reveal answer
Afferent: incoming connections (who depends on the component). Efferent: outgoing connections (what the component depends on).
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
How is the abstractness metric (A) calculated?
Reveal answer
The ratio of abstract elements to the total elements (abstract + concrete) of the module.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
How is instability calculated, and what does it indicate?
Reveal answer
I = Ce / (Ce + Ca). It indicates volatility: the higher it is, the more the module tends to break when something it depends on changes.
Source: Notes, ch. 3 — Modularity
Recall
relationship · cap-3●●●
A class delegates work to 9 others and nobody depends on it. What is its instability, and what does it mean?
Reveal answer
I = 9/(9+0) = 1, maximum instability: changes in any of the 9 can break it.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●●
What is the distance from the main sequence?
Reveal answer
D = |A + I − 1|: it measures the balance between abstractness and instability; the smaller D, the more balanced the module.
Source: Notes, ch. 3 — Modularity
Recall
relationship · cap-3●●●
What are the zone of uselessness and the zone of pain?
Reveal answer
Uselessness: too abstract and unstable (hard to use). Pain: too concrete and stable, with no abstraction — hard to maintain.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●○○
What is connascence?
Reveal answer
Two components are connascent if a change in one requires a change in the other to keep the system correct.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
What is the difference between static and dynamic connascence?
Reveal answer
Static is in the source code (name, type, meaning, position, algorithm); dynamic is at runtime (execution, timing, values, identity). Static is preferable.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
What is the weakest (and desirable) form of connascence?
Reveal answer
Connascence of name; strength measures how easy it is to refactor, and you should refactor toward the weaker forms.
Source: Notes, ch. 3 — Modularity
Recall
relationship · cap-3●●●
A function create(name, surname, age, email) is called in 50 places with positional arguments. What connascence is this, and how do you weaken it?
Reveal answer
Connascence of position; using named arguments or a parameter object turns it into connascence of name.
Source: Notes, ch. 3 — Modularity
Recall
relationship · cap-3●●●
Two modules use the integer 3 to mean "order cancelled". What connascence is this, and how do you improve it?
Reveal answer
Connascence of meaning (convention); replacing it with a named constant or enum reduces it to connascence of name.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●●
What are the locality and degree of connascence, and what rules follow from them?
Reveal answer
Locality: how close the elements are (within the same module is acceptable). Degree: how many elements are affected. Rules: the greater the distance, the weaker the connascence should be; and convert strong forms into weak ones.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-3●●○
What are Page-Jones's guidelines for connascence?
Reveal answer
Encapsulate parts of the system, minimize connascence between parts and maximize it within them.
Source: Notes, ch. 3 — Modularity
True or false
relationship · cap-3●●○
Code metrics such as coupling and connascence are enough to decide the structure of the architecture.
False: they look at code details, not the structure of the architecture, and do not answer the fundamental decisions.
Source: Notes, ch. 3 — Modularity
Recall
concept · cap-4●●○
What three criteria define an architecture characteristic?
Reveal answer
It specifies a non-domain design consideration, influences some structural aspect of the design, and is critical or important to application success.
Source: Notes, ch. 4 — Architecture Characteristics Defined
Recall
concept · cap-4●○○
Why should the architect choose as few characteristics as possible?
Reveal answer
Because each characteristic supported adds complexity to the design.
Source: Notes, ch. 4 — Architecture Characteristics Defined
Recall
concept · cap-4●●○
What is the difference between implicit and explicit characteristics?
Reveal answer
Explicit ones appear in the requirements; implicit ones are rarely written down, but are assumed (e.g. availability, reliability, security).
Source: Notes, ch. 4 — Architecture Characteristics Defined
Multiple choice
concept · cap-4●●○
Scalability and availability are characteristics of which group?
Operational, close to DevOps; structural ones concern the code (e.g. maintainability); cross-cutting ones, everything else (e.g. security, legal).
Source: Notes, ch. 4 — Architecture Characteristics Defined
Recall
relationship · cap-4●●○
Classify: extensibility, recoverability and accessibility.
Why does the architect need to translate domain concerns into characteristics?
Reveal answer
Because the business speaks in terms like "time to market" or "satisfaction", which need to be converted into technical characteristics (e.g. agility, testability, deployability).
Why do characteristics need objective definitions?
Reveal answer
Because many are vague or have several definitions (e.g. agility); only measurable definitions allow verifying them.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
relationship · cap-6●●○
How do you define a response time target robustly?
Reveal answer
On a statistical basis (e.g. the real distribution, percentiles), not an arbitrary value; and review it over time.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
concept · cap-6●●○
What does cyclomatic complexity measure, and what reference does the book give?
Reveal answer
It measures the number of paths in the code (via graphs); ideally CC < 10, or even < 5 — complexity is only justified for inherently complex problems.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
relationship · cap-6●●○
What effect does TDD tend to have on cyclomatic complexity?
Reveal answer
It tends to reduce it, because it leads to smaller, simpler methods.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
concept · cap-6●●○
What is a fitness function?
Reveal answer
An objective mechanism for assessing whether the architecture is close to the target on some characteristic — like an automated score.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
relationship · cap-6●●○
Name examples of fitness functions.
Reveal answer
Detecting cycles between dependencies, limiting the distance from the main sequence, testing that layers are respected and Chaos Monkey (the Simian Army).
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
relationship · cap-6●●●
In a layered architecture, developers keep calling the database directly from the presentation layer. What governance solution does ch. 6 suggest?
Reveal answer
An automated fitness function (e.g. a test with ArchUnit) that fails the build when the presentation layer accesses the data layer.
Source: Notes, ch. 6 — Measuring and Governing Architecture Characteristics
Recall
concept · cap-7●●○
What is an architecture quantum?
Reveal answer
An independently deployable artifact with high functional cohesion and synchronous connascence — the smallest unit of the architecture.
Source: Notes, ch. 7 — Scope of Architecture Characteristics
Recall
relationship · cap-7●●●
Why should architecture characteristics be defined per quantum, not for the whole system?
Reveal answer
Because different parts have different needs; e.g. in the auction, the auctioneer's availability matters more than the bidders'.
Source: Notes, ch. 7 — Scope of Architecture Characteristics
Recall
relationship · cap-7●●●
A system has a single database shared by all services. How many quanta does it have?
Reveal answer
Only one: the shared database couples all the services, and they cannot be deployed or have different characteristics independently.
Source: Notes, ch. 7 — Scope of Architecture Characteristics
Recall
concept · cap-7●●○
What is a bounded context in DDD?
Reveal answer
Each domain has its own model and does its own thing; integration is solved later, even if some ideas repeat.
Source: Notes, ch. 7 — Scope of Architecture Characteristics
Recall
detail · cap-7●●●
In the online auction system case study, into how many quanta (scopes) was the architecture divided?
Reveal answer
Three: bidder feedback, auctioneer and bidder.
Source: Notes, ch. 7 — Scope of Architecture Characteristics
Recall
concept · cap-8●○○
What is a component for the architect?
Reveal answer
A physical packaging of related code (library, subsystem, service): the most basic level the architect deals with.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · cap-8●●○
What is the difference between technical and domain partitioning?
Reveal answer
Technical groups by technical role (presentation, business rules, persistence); domain groups by business areas (checkout, inventory, reporting).
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · names-and-dates · cap-8●○○
What does Conway's Law say?
Reveal answer
A system's architecture tends to mirror the communication structure of the organization that produces it.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●●
A company has separate frontend, backend and DBA teams and wants to move to a domain architecture. What does Conway's Law suggest?
Reveal answer
That the teams will also need to be reorganized (cross-functional by domain); otherwise the architecture tends to go back to reflecting the technical split.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●○
What are the advantages of domain partitioning?
Reveal answer
It better reflects the business, facilitates cross-functional teams, fits the modular monolith and microservices and eases migrating to a distributed architecture; the downside is code repeated across domains.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●○
What are the disadvantages of technical partitioning?
Reveal answer
High coupling (a domain change cuts across all layers), data coupling that makes migration hard, and even so there may be duplication.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · cap-8●●○
What is the component identification cycle?
Reveal answer
Identify initial components, assign requirements, analyze roles and responsibilities, analyze architecture characteristics and restructure — in a loop, with feedback from the developers.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●○
What is the trade-off of component granularity?
Reveal answer
Too coarse leads to high internal coupling and makes testing hard; too fine leads to a lot of communication between components.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · cap-8●●○
What is the entity trap?
Reveal answer
The antipattern of modeling components from the relational database's entities, confusing data relationships with the application's workflow — it becomes a CRUD with table names.
Source: Notes, ch. 8 — Component-Based Thinking
Multiple choice
concept · cap-8●●○
Which component discovery approach assumes the use of messages and starts from the system's events?
Event storming discovers the events that occur and builds components around them.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · cap-8●●○
How does the actor/actions approach work?
Reveal answer
Identify who the actors are (e.g. bidder, auctioneer, system) and what actions each performs, deriving the components from those actions.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●●
In the online auction system case study, why was the Bid Capture component split in two?
Reveal answer
Because the auctioneer and the bidders have different characteristics: the auctioneer's side requires more reliability and less elasticity than the bidders'.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
relationship · cap-8●●●
What criterion helps choose between a monolithic and a distributed architecture?
Reveal answer
The number of quanta: if a single set of characteristics is enough, a monolith is usually fine; if parts require different characteristics, distributed makes more sense.
Source: Notes, ch. 8 — Component-Based Thinking
Recall
concept · cap-9●○○
What is the Big Ball of Mud?
Reveal answer
The antipattern of a system with no organization or hierarchy, which grows haphazardly and where it is hard to predict the effect of changes.
What are the eight fallacies of distributed computing?
Reveal answer
The network is reliable; latency is zero; bandwidth is infinite; the network is secure; the topology never changes; there is only one administrator; transport cost is zero; the network is homogeneous.
What is stamp coupling, and which fallacy does it aggravate?
Reveal answer
Sending an entire data structure when the consumer only needs a piece of it; it aggravates the infinite bandwidth fallacy. It is avoided with field selection, GraphQL or specific endpoints.
A checkout request calls 8 services in sequence, each with 100 ms of latency, and returns full customer objects. Which fallacies are being ignored?
Reveal answer
Zero latency (800 ms accumulated) and infinite bandwidth (stamp coupling when returning whole objects); also the reliable network, since any of the 8 can fail.
When there are shared components (e.g. utilities) that the business layer uses but the presentation layer shouldn't access: an open services layer is created below the business layer.
In a layered application, 80% of requests just pass through the business layer with no logic. What does this indicate?
Reveal answer
Too much sinkhole: the layered architecture is probably not the right style; opening all the layers would solve this, but would create other problems (loss of isolation).
For small, simple applications or websites, as a starting point, or when there is uncertainty about the architecture; it is simple and cheap, but not very scalable and hard to change.
Producer (source), transformer (transforms the input, like a map), tester (tests criteria and may or may not produce output, like a reduce) and consumer (destination).
When should microkernel be used in software that is not a product?
Reveal answer
When there is large case-by-case variation in rules, such as insurance with rules per state or taxes with different forms: each rule becomes an isolated plug-in, easy to change.
ACID guarantees atomic, consistent, isolated and durable transactions; BASE (basic availability, soft state, eventual consistency) accepts that consistency will only come at some point.
Why is it better to have several logically partitioned entity libraries instead of a single shared one?
Reveal answer
With a single lib, changing a table affects every service; by partitioning (customer_entities, order_entities…) the change stays contained to whoever uses that domain; the common lib stays under the database team's control.
In the electronics recycling system case study (service-based architecture), why are there two quanta?
Reveal answer
Because internal operations and customer-facing services were separated with their own databases and one-way communication, allowing different characteristics (security, scale) for each part.
When is the service-based architecture a good choice?
Reveal answer
When the required performance isn't very high, for DDD, when ACID transactions matter, and when reasonable modularity is wanted without excessive granularity; it is simple and cost-effective.
What is the difference between orchestration and choreography?
Reveal answer
Orchestration coordinates several services through a separate mediator; choreography coordinates through the way the services communicate with each other, with no mediator.
What is the difference between the request-based and the event-based model?
Reveal answer
Request-based directs requests through an orchestrator to processors; event-based reacts to events — something that has already happened — without a direct request.
No central mediator: an initiating event enters a broker channel, processors react and publish processing events, and the flow continues in a chain until there are no more events.
What are the advantages and disadvantages of the broker topology?
Reveal answer
Advantages: decoupling, scalability, responsiveness, performance and fault tolerance. Disadvantages: little control over the workflow, error handling, recoverability, restart capability and data inconsistency.
An initiating event goes to a queue accepted by a mediator, which knows the steps of the workflow, sends commands to the processors' channels, keeps the state and only moves forward when a step finishes.
What are the trade-offs of the mediator topology compared to the broker?
Reveal answer
It gains workflow control, error handling, recoverability and consistency; it loses in coupling, scalability, performance and fault tolerance (the mediator can become a bottleneck).
How does the workflow event pattern for error handling work?
Reveal answer
The consumer delegates the faulty message to a workflow processor and moves on to the next one; the processor tries to fix it and resend it to the queue; if it can't, it sends it to a dashboard for manual intervention.
What are the three points where messages can be lost, and their solutions?
Reveal answer
Message doesn't reach the queue → synchronous send with persistent queues; processor fails after dequeuing it → client acknowledge mode; failure when persisting → last participant support (ACID transaction).
Two queues: the producer sends on the request queue and waits; the consumer replies on the reply queue, identifying the response by a correlation ID or using a temporary reply queue.
When should event-based be chosen over request-based?
Reveal answer
Event-based for responsiveness and scale; request-based when the workflow is well defined and requires control. Event-based only supports eventual consistency and is hard to test.
What are the components of the virtualized middleware?
Reveal answer
Messaging grid (receives and routes requests), data grid (synchronizes the caches), processing grid (optional, orchestrates several units) and deployment manager (starts/stops units according to load).
How does data reach the database in the space-based architecture?
Reveal answer
The units never access the database directly: they send changes through data pumps (usually messaging) to data writers, which update the database at some point.
What is a data collision, and what factors does its rate depend on?
Reveal answer
When a piece of data is updated locally and, at the same time, overwritten by replication from another unit. The rate grows with the number of instances, with the square of the update rate and with the replication latency, and falls with the cache size.
What is the difference between a replicated and a distributed cache?
Reveal answer
Replicated: each unit has all the data in memory — fast and fault-tolerant, good for small, static caches. Distributed: a central cache server — more consistent, but with more latency and a single point of failure.
Why is near-cache not recommended for the space-based architecture?
Reveal answer
Because the front caches (subsets of the backing cache) are not synchronized with each other, creating inconsistencies in performance and responsiveness between units.
What historical context led to orchestration-driven SOA?
Reveal answer
In the 1990s, expensive hardware and operating systems, with no reliable open source options; large companies sought to reuse everything as much as possible, with extreme technical partitioning.
What is the service taxonomy of orchestration-driven SOA?
Reveal answer
Business services (entry point, definitions only), enterprise services (reusable building blocks, e.g. CreateCustomer), application services (one-off use) and infrastructure services (logging, monitoring), coordinated by an orchestration engine (ESB).
Because reusing the same definition (e.g. Customer) across the enterprise couples everything: a change needed for one service propagates to all of them, even unrelated ones.
The life insurance team needs a new field in Customer, which is the same service used by auto and health insurance. What happens in SOA, and how would microservices handle it?
Reveal answer
In SOA, the change forces testing and redeploying everyone who uses Customer. In microservices, each bounded context would have its own customer model, accepting duplication to avoid coupling.
The bounded context: each service models a domain or workflow and contains everything it needs (code, schema), coupled internally but never externally.
What criteria help define the boundaries of a microservice?
Reveal answer
Purpose (functional cohesion), transactions (entities that need to cooperate should stay together) and choreography (services that communicate too much may need to be one).
Each service has its own database (isolation is a requirement); for the source of truth, a domain that owns each piece of data is defined, or replication/caching is used.
A service synchronously mediates the interaction between microservices and, in case of error, sends compensating transactions to undo the steps already done — which is usually complex.
Why do preferences for architecture styles change over time?
Reveal answer
Because of experiences from the past, changes in the ecosystem, new capabilities (e.g. Docker) and external factors, such as license prices.
Source: Notes, ch. 18 — Choosing the Appropriate Architecture Style
Recall
concept · cap-18●●○
What should the architect consider when choosing a style?
Reveal answer
Domain, architecture characteristics, organizational factors, domain/architecture isomorphism, monolithic vs. distributed, data governance and synchronous vs. asynchronous communication.
Source: Notes, ch. 18 — Choosing the Appropriate Architecture Style
Recall
relationship · cap-18●●○
What is the recommended default between synchronous and asynchronous communication?
Reveal answer
Synchronous by default; asynchronous only when necessary.
Source: Notes, ch. 18 — Choosing the Appropriate Architecture Style
Recall
relationship · cap-18●●●
Why can Silicon Sandwiches be monolithic, while Going, Going, Gone calls for distributed?
Reveal answer
Silicon Sandwiches is simple, with a single quantum and no major performance demands (a modular monolith or microkernel is enough); the auction has different requirements across its parts and high demands for elasticity and performance, favoring microservices or events.
Source: Notes, ch. 18 — Choosing the Appropriate Architecture Style
Recall
concept · cap-19●○○
What are the three architecture decision antipatterns?
Reveal answer
Covering your assets, Groundhog Day and email-driven architecture.
Source: Notes, ch. 19 — Architecture Decisions
Recall
concept · cap-19●●○
What is the covering your assets antipattern, and how do you avoid it?
Reveal answer
Avoiding deciding for fear of being wrong. It is mitigated by waiting until the last responsible moment (with the most information) and collaborating continuously with the developers.
Source: Notes, ch. 19 — Architecture Decisions
Recall
concept · cap-19●●○
What is the Groundhog Day antipattern, and how do you avoid it?
Reveal answer
Nobody knows why the decision was made, so it is discussed over and over; it is avoided by justifying each decision technically and in business terms (cost, time to market, satisfaction, positioning).
Source: Notes, ch. 19 — Architecture Decisions
Recall
relationship · cap-19●●○
Why not record architecture decisions in the body of emails?
Reveal answer
Because they get lost and usually come without the justification; better to link to the decision document and include only the relevant people.
Source: Notes, ch. 19 — Architecture Decisions
Recall
relationship · cap-19●●●
Every quarterly meeting reopens the discussion of why Kafka was chosen over RabbitMQ. What antipattern is this, and what should be done?
Reveal answer
Groundhog Day; record the decision in an ADR with context and technical and business justification.
Source: Notes, ch. 19 — Architecture Decisions
Recall
concept · cap-19●●○
When is a decision architecturally significant?
Reveal answer
When it affects structure, nonfunctional characteristics, dependencies, interfaces or construction techniques.
Source: Notes, ch. 19 — Architecture Decisions
Recall
concept · cap-19●●○
What are the sections of an ADR?
Reveal answer
Title, status (proposed, accepted, superseded), context, decision (with justification), consequences and, optionally, compliance and notes/metadata.
Source: Notes, ch. 19 — Architecture Decisions
Recall
relationship · cap-19●●○
What goes in the consequences section of an ADR?
Reveal answer
The expected impact of the decision, good and bad — the trade-offs accepted.
Source: Notes, ch. 19 — Architecture Decisions
Recall
relationship · cap-19●●●
What is the compliance section of an ADR for?
Reveal answer
To say how the decision will be measured and governed, by manual review or by a fitness function.
Source: Notes, ch. 19 — Architecture Decisions
Recall
relationship · cap-19●●●
Where should ADRs be stored?
Reveal answer
Each decision in a file; the code repository is an option, but a wiki or shared file system is usually better, because not everyone has access to the repository and there are integration and enterprise decisions, outside any one application.
Source: Notes, ch. 19 — Architecture Decisions
Recall
detail · cap-19●●○
When an ADR is superseded, what is recorded?
Reveal answer
Which ADR superseded it and, in the new one, which it superseded; the old one is presumed to have been accepted.
Source: Notes, ch. 19 — Architecture Decisions
Recall
concept · cap-20●○○
How does the risk matrix work?
Reveal answer
Multiply impact (1–3) by likelihood (1–3): 1–2 is low, 3–4 medium, 6–9 high.
A table of criteria (e.g. scalability, availability) by domain, with totals per row and column; you can show only the high risks and indicate the trend with +/− or arrows.
A collaborative exercise to identify risks with other architects and developers, first individually and then as a group; steps: identification, consensus and mitigation.
Why does the mitigation step involve a stakeholder?
Reveal answer
Because someone from the business needs to say what cost makes sense for each mitigation; alternatives, sometimes less effective, are negotiated until the cost is acceptable.
What principle always applies when presenting parts of an architecture?
Reveal answer
Present them in the context of the whole system.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What features should a good diagramming tool have?
Reveal answer
Layers (show and hide parts), templates (a library of components) and magnets (straight, connected lines).
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
True or false
relationship · cap-21●○○
It is worth keeping a diagram even when outdated, if it took a lot of work to make.
False: you shouldn't get attached to a diagram because it was laborious or is pretty (irrational artifact attachment).
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What are the four levels of the C4 model?
Reveal answer
Context (system, users and external systems), container (physical deployment boundaries), component and class.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
relationship · cap-21●●●
What is C4's main shortcoming?
Reveal answer
It is better suited to monolithic architectures than to distributed ones, such as microservices.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Multiple choice
relationship · cap-21●●○
Which open source diagramming standard covers architectures across business domains and tries to be simple?
ArchiMate: open source and popular, focused on enterprise architecture.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What line convention does ch. 21 suggest?
Reveal answer
Solid lines for synchronous communication and dotted lines for asynchronous, with arrows when the direction matters.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
detail · cap-21●●●
What shape convention is common in architecture diagrams?
Reveal answer
There is no formal standard, but 3D elements usually indicate deployable artifacts and rectangles indicate containment; a key resolves ambiguity.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What is the central difference between a presentation and a reading?
Reveal answer
In a presentation the presenter controls the flow of ideas; so time should be organized by ideas, not by slides, using transitions to mark topics.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What are incremental builds in slides?
Reveal answer
Revealing information gradually, as the idea is developed, instead of a wall of text the audience reads before the talk.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-21●●○
What is the difference between an infodeck and a presentation?
Reveal answer
An infodeck is made to be read, not presented: it needs to be more complete, without animations or dependence on the talk.
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
relationship · cap-21●●●
What is a blank slide for in a presentation?
Reveal answer
To take the focus off the screen and put it on the presenter, emphasizing the spoken part (invisibility).
Source: Notes, ch. 21 — Diagramming and Presenting Architecture
Recall
concept · cap-22●○○
What are the three architect personalities described in ch. 22?
Reveal answer
Control freak, armchair and effective.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What characterizes the control freak architect?
Reveal answer
Tries to control every detail — names, technologies, everything — and ends up doing the developers' work.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What characterizes the armchair architect?
Reveal answer
Doesn't get involved in the implementation or guide the team: only draws diagrams, and the developers end up taking on the architect's role.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
Which factors determine how much control the architect should exercise?
Reveal answer
Team familiarity, team size, overall experience, project complexity and project duration.
Source: Notes, ch. 22 — Making Teams Effective
Recall
relationship · cap-22●●●
A team of 12 people, mostly junior, on a highly complex 6-month project, but who already know each other well. More or less control?
Reveal answer
More control: large size, inexperience and complexity call for control; familiarity and moderate duration pull toward less, but the balance tips toward control.
Source: Notes, ch. 22 — Making Teams Effective
Recall
relationship · cap-22●●●
Why do short projects call for less control and long projects for the architect's attention?
Reveal answer
Short projects have no time for formalities and it's better to let the team be free; in long ones, the architect helps the team not lose its sense of urgency.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What is process loss, and how do you identify it?
Reveal answer
The difference between the team's theoretical maximum productivity and its real productivity (Brooks's Law); many merge conflicts are a sign, and parallelizing tasks helps.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What is pluralistic ignorance?
Reveal answer
In a large team, people don't object to a decision for fear of having missed something the others seem to have seen; the architect should avoid acceptance by inertia.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What sign indicates diffusion of responsibility?
Reveal answer
Uncertainty about who does what and dropped tasks — a sign of a team that is too large.
Source: Notes, ch. 22 — Making Teams Effective
Recall
relationship · cap-22●●●
In a 15-person meeting, everyone agrees with a risky proposal and, afterwards, several confess they had doubts. What phenomenon is this?
Reveal answer
Pluralistic ignorance: each assumed the others understood something they didn't see, and nobody objected.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What rules does the book give for checklists?
Reveal answer
Independent items, nothing trivial or already done well, the smallest size possible with the necessary steps, and nothing that can be automated.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-22●●○
What is the Hawthorne effect, and how does it help with checklists?
Reveal answer
People act differently when they know they may be observed; announcing that checklists will be checked reduces items ticked without being done.
Source: Notes, ch. 22 — Making Teams Effective
Recall
detail · cap-22●●○
What are the three useful checklists cited?
Reveal answer
Developer code completion (definition of "done"), unit and functional testing (edge cases) and software release (each deployment failure becomes an item).
Source: Notes, ch. 22 — Making Teams Effective
Recall
relationship · cap-22●●●
Which library decisions should go through the architect?
Reveal answer
The most general ones, such as frameworks and general libraries; specific libraries (e.g. a PDF reader) can be left to the developers.
Source: Notes, ch. 22 — Making Teams Effective
Recall
concept · cap-23●●○
How do you deal with a stakeholder who says they want "zero downtime"?
Reveal answer
Understand that it means availability is critical; clarify with data what each level implies, leave cost and time as the last argument and divide and conquer, qualifying requirements by part of the system.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
relationship · cap-23●●●
Why should cost and time be the last argument in a negotiation with stakeholders?
Reveal answer
Because, if they come first, they end the discussion before the merits are discussed; the other justifications should come first.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
concept · cap-23●●○
How do you resolve a technical deadlock between architects (e.g. asynchronous vs. REST)?
Reveal answer
Demonstration beats discussion: run an experiment, ideally in a production-like environment; avoid appealing to hierarchy and heated arguments.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
concept · cap-23●●○
How should the architect negotiate with developers?
Reveal answer
Justify and argue instead of dictating, seeking for the developer to reach the conclusion themselves; if they disagree, the developer should be able to defend their choice.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
concept · cap-23●●○
What is the difference between essential and accidental complexity?
Reveal answer
Essential complexity is inherent to the problem; accidental complexity is created unnecessarily by the solution and should be avoided at all costs.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
concept · cap-23●○○
What are the 4 Cs of architecture?
Reveal answer
Communication, collaboration, clarity and conciseness.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
relationship · cap-23●●○
What does being pragmatic, yet visionary, mean?
Reveal answer
Planning for the future without abandoning present practicality, respecting budget, time, technical limitations and the team's skills.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
relationship · cap-23●●○
Where does the architect's leadership come from, according to ch. 23?
Reveal answer
Not from the title, but from example: treating every problem as a people problem, seeking collaborative solutions, avoiding imperatives and becoming the team's go-to person.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
relationship · cap-23●●○
How should the architect deal with meetings?
Reveal answer
Decline unnecessary ones (notes are enough to stay informed), call as few as possible — weighing whether it's worth more than the developers' work — and be strict about agenda and time.
Source: Notes, ch. 23 — Negotiation and Leadership Skills
Recall
concept · cap-24●○○
What is the 20-minute rule?
Reveal answer
Spending at least 20 minutes a day learning something new, preferably at the start of the day, when there are fewer interruptions.
Source: Notes, ch. 24 — Developing a Career Path
Recall
concept · cap-24●●○
What is a personal technology radar for?
Reveal answer
For keeping track of trends without committing too much to any technology; it is inspired by ThoughtWorks' Technology Radar (what is growing, shrinking, mature or speculative).
Source: Notes, ch. 24 — Developing a Career Path
Recall
relationship · cap-24●●○
Why does the book recommend social media for the architect?
Reveal answer
Because it broadens technical breadth and because new opportunities often come from acquaintances outside one's closest circle.
Source: Notes, ch. 24 — Developing a Career Path
Recall
concept · cap-24●○○
What is the book's final advice for improving as an architect?
Reveal answer
Practice: designing real architectures is indispensable.
Source: Notes, ch. 24 — Developing a Career Path
See all questions (234)
Shortcuts:
Enter reveals the answer or the options, then goes to the next one ·
1–4 answers ·
Z undoes ·
E writes ·
Esc leaves the text box
Transparency note
AI was used in this post for:
generating the study questions · creating the English version