Search the practice set

126 questions, 454 terms and 400 topics in 20 areas.

60 results for “Domain-Driven Design”

Terminology · 25
term

Domain-Driven Design

Modelling software around the business domain, with boundaries drawn where the language of the business changes.

Software Architecture
term

Event-Driven Architecture

A style in which components communicate by emitting and reacting to facts about what happened, rather than by calling each other.

Architecture Patterns
term

Event-Driven Integration

Systems integrating by publishing and consuming events rather than by calling each other's APIs.

API & Integration
term

Privacy by Design

Building privacy protections into a system's structure from the start, rather than adding controls to a design that already collects and keeps everything.

Security Architecture
term

Salesforce's Metadata-Driven Multi-Tenancy

Salesforce serves every customer from shared infrastructure with a single physical schema, storing customer-specific data structures as metadata rather than as separate tables.

Data Architecture
term

Uber's Domain-Oriented Microservice Architecture

After growing to roughly 2,200 microservices, Uber grouped them into domains behind gateways with strict dependency layering, to recover the comprehensibility that fine-grained de…

Software Architecture
term

Abstraction

Exposing what a component does while hiding how it does it, so callers depend on the contract rather than the mechanism.

Architecture Fundamentals
term

Anti-Corruption Layer

A translation layer that converts a legacy or external system's model into your own, so its concepts do not leak into your domain.

Legacy Modernization
term

Architecture Cost Model

A calculation, made during design, of what an architecture will cost to run at expected and at peak volume.

Cost & FinOps
term

Architecture Principle

A durable, agreed rule that constrains design decisions in advance, stated with its rationale and its implications.

Architecture Fundamentals
term

Architecture Review Board

A forum that reviews significant designs against standards, risks and strategy before commitment.

Enterprise Architecture
term

Cohesion

The degree to which everything inside one component belongs together and changes for the same reason.

Architecture Fundamentals
term

Coupling

The degree to which one component must know about, or change alongside, another.

Architecture Fundamentals
term

DNS

The distributed directory that resolves names to addresses, and a surprisingly load-bearing part of most architectures.

Networking
term

Data Mesh

An organisational approach that gives domain teams ownership of their analytical data as a product, with a self-serve platform and federated governance.

Data Architecture
term

Event Sourcing

Storing the full sequence of state-changing events as the system of record, and deriving current state by replaying them.

Data Architecture
term

Event Store

An append-only store of domain events organised into per-entity streams, serving as the system of record rather than as a log beside it.

Event Sourcing
term

Fail-Fast vs Fail-Safe

Whether a component should stop immediately on detecting a problem, or continue in a degraded but safe mode — a choice that depends entirely on which outcome is worse.

Failure Modes
term

Failure Thinking

Making "what happens when this fails?" a standing question applied to every component and every dependency in a design.

Meta-Skills
term

Fan-Out

One incoming request causing many outgoing ones, which multiplies both load and tail latency.

Distributed Systems
term

Fault Tolerance

Continuing to operate correctly despite the failure of some components, by design rather than by luck.

Distributed Systems
term

Golden Signals

The four measurements that cover most of what matters for a request-driven service: latency, traffic, errors and saturation.

Observability
term

Hexagonal Architecture

Putting the domain at the centre and letting everything external — UI, database, queues — attach through ports implemented by replaceable adapters.

Architecture Patterns
term

Idempotency

The property that performing an operation many times has the same effect as performing it once.

Distributed Systems
term

Idempotency Key

A client-generated unique value sent with a request so the server can recognise a retry and return the original result instead of acting twice.

API & Integration
Questions · 18
quiz

A design review presents a new event-driven platform. What cost questions do you ask before approving it?

What the interviewer is testing Whether cost is part of your architecture review or an afterthought handled by finance later, and whether you know the specific

Cost & FinOps
quiz

A team shows you a design with eight services. Without knowing the domain, what questions tell you whether the boundaries are right?

What the interviewer is testing Whether you can evaluate a structure from its properties rather than needing to be a domain expert in every system you review. T

Architecture Fundamentals
quiz

A product catalogue page does 40,000 reads per second against a database that can serve 5,000. Walk me through the caching design, including what happens at 3 AM when the cache is empty.

What the interviewer is testing Whether you can design a cache including its failure modes, rather than saying "put Redis in front of it". The base design Cache

Data Architecture
quiz

An estate has database passwords in environment variables across 200 services. Design the migration to a secrets manager.

Sequence it by risk, not by convenience Phase 0 — stop the bleeding. Secret scanning in CI and on the existing repositories, blocking new commits containing cre

Secrets Management
quiz

Classify DynamoDB, Spanner and Cassandra under PACELC, and say which half of the classification you would actually design around.

The classifications Store Partition Else Why DynamoDB (default reads) PA EL Serves from any replica; eventually consistent reads avoid a quorum round trip Cassa

CAP & PACELC
quiz

Design a URL shortener handling 100 million new links per month and 10 billion redirects. Where is the real difficulty?

What the interviewer is testing The classic warm up. What is being assessed is not whether you can shorten a URL — it is whether you do capacity arithmetic befo

Architecture Patterns
quiz

Design an order submission API that is safe when the client cannot tell whether its request succeeded. What exactly do you store, and when?

What the interviewer is testing Whether you know that "make it idempotent" is a design with specific failure modes, not a checkbox. The core design The client g

Distributed Systems
quiz

Design the audit logging for a system handling financial transactions. What is logged, where does it go, and what makes it hold up?

What is logged Significant actions only , defined explicitly rather than logging everything — an audit trail nobody can search is not usable evidence: Authentic

Auditability
quiz

Design the network layout for a three-tier application in one cloud region. What are the decisions you cannot easily change later?

What the interviewer is testing Whether you know which network decisions are cheap and which are effectively permanent. This is a knowledge question with a clea

Networking
quiz

Design the timeout configuration for a request that passes through gateway, orders, pricing and inventory. What numbers, and what rule generates them?

The rule that generates the numbers One budget at the edge, decreasing inward, with room for a retry at exactly one layer. Start from what the caller will actua

Timeouts & Deadlines
quiz

In a design review, a respected senior engineer proposes an approach you believe is wrong. The room defers to them. How do you handle it?

What the interviewer is testing Whether you can be effective without authority, which is most of the architect's job. It is also testing whether you assume you

Architecture Communication
quiz

Maersk rebuilt roughly 4,000 servers and 45,000 PCs in about ten days after NotPetya in 2017, and recovered its directory only because one data centre had been offline during the attack. What does this say about DR design?

The case, as publicly reported In June 2017 the NotPetya malware — destructive rather than financially motivated — propagated through Maersk's network, encrypti

Reliability & Resilience
quiz

Placing an order must reserve stock, charge the card and create a shipment across three services. Design it, and justify why not a distributed transaction.

First: question the boundary A transaction spanning three services often means one invariant has been split across three owners. Before designing a protocol, ch

Distributed Transactions
quiz

Product wants to add "customers who bought this also bought" using purchase history. What does privacy by design require here?

The first question is lawful basis, not architecture Purchase history was collected to fulfil orders. Using it for recommendations is a new purpose , and purpos

Privacy Engineering
quiz

You are reviewing a design for an internal tool with 200 users. It proposes Kubernetes, microservices, Kafka, a service mesh and CQRS. How do you handle the review?

What the interviewer is testing Judgement, and whether you can push back without alienating a team. Anyone can spot over engineering; the question is what you d

Architecture Decision-Making
quiz

You must roll out MFA to 40,000 employees. Security wants hardware keys; the service desk fears the call volume. Design the rollout.

The framing that resolves the argument Not every identity carries the same risk, so not every identity needs the same factor. A uniform mandate is what creates

Authentication
quiz

A service writes to its database and then publishes an event to Kafka. Sometimes consumers see an event for a record that does not exist, and sometimes a record exists with no event. Why, and how do you fix it?

What the interviewer is testing Recognition of the dual write problem — one of the most common defects in event driven systems and one that testing rarely catch

Data Architecture
quiz

An order service must notify inventory, billing, shipping and analytics when an order is placed. Synchronous calls or events? Justify your choice per consumer.

What the interviewer is testing Whether you apply the decision per interaction rather than adopting one style globally. The framing that matters Synchronous cal

Distributed Systems
Topics · 17
topic

Domain-Driven Design

Ubiquitous language, bounded contexts and context mapping.

Software Architecture & Engineering — no content yet
topic

Design Patterns

Reusable solutions at code level, and when they become ceremony.

Software Architecture & Engineering — no content yet
topic

Domain Boundaries

Where the language of the business changes, and services should too.

Business Architecture — no content yet
topic

Event-Driven Architecture

Publishing facts, and trading comprehensibility for decoupling.

Architecture Patterns — no content yet
topic

Event-Driven Integration

Publishing facts rather than commands, and versioning event schemas.

API & Integration Architecture — no content yet
topic

REST Design

Resources, uniform methods, status codes and statelessness.

API & Integration Architecture — no content yet
topic

Secure API Design

Object-level authorisation, input validation and safe error responses.

3 items
topic

VPC Design

Address planning, peering and the ranges you can never resize.

Networking — no content yet
topic

Architecture Cost Modelling

Pricing a design before building it, at expected and at ten times volume.

Cost Architecture & FinOps — no content yet
topic

Architecture Roles

Solution, enterprise, domain and platform architecture, and where each is accountable.

Architecture Fundamentals — no content yet
topic

Business KPIs

The numbers a design is ultimately judged against.

Business Architecture — no content yet
topic

Business Understanding

Connecting a design to the outcome that pays for it.

The Architect's Meta-Skills — no content yet
topic

Chaos Engineering

Hypothesis-driven failure injection with a bounded blast radius.

Reliability & Resilience — no content yet
topic

Ethics in Architecture

Privacy, accessibility, sustainability and the consequences of a design.

The Architect's Meta-Skills — no content yet
topic

Facilitation

Running a design session that reaches a decision.

Architecture Communication — no content yet
topic

FinOps Practice

Inform, optimise, operate — and cost as a design-review criterion.

Cost Architecture & FinOps — no content yet
topic

Hexagonal Architecture

Ports defined by the domain, adapters supplied by infrastructure.

Software Architecture & Engineering — no content yet