Search the practice set

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

40 results for “Model Selection”

Terminology · 23
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

C4 Model

A set of four nested diagram levels — context, container, component, code — that keeps each diagram at one consistent level of abstraction.

Architecture Communication
term

Model Context Protocol

An open protocol that standardises how AI applications connect to external tools, data sources and prompts.

AI-Era Architecture
term

Model Router

Directing each request to a model chosen by the task's difficulty, cost and latency budget, rather than sending everything to the largest model available.

AI-Era Architecture
term

Read Model

A data structure shaped for a specific query rather than for the domain, maintained separately from the write model.

CQRS
term

Shared Responsibility Model

The division of duties between provider and customer, which shifts with the service model and is routinely misunderstood in the customer's disfavour.

Managed Services
term

Spotify's Squad Model and Its Retrospective

The widely-copied Spotify model of squads, tribes, chapters and guilds was a snapshot that did not work as documented even at Spotify — a caution about importing organisational design.

Business Architecture
term

AI Gateway

A shared proxy in front of model providers that centralises routing, keys, quotas, caching, logging and safety policy.

AI-Era Architecture
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

CQRS

Separating the model used to change state from the model used to read it, so each can be optimised independently.

Data Architecture
term

Causal Consistency

A model guaranteeing that operations which causally depend on one another are seen in the same order everywhere, while concurrent operations may be seen in any order.

Consistency Models
term

Context Window

The maximum number of tokens a model can attend to in one request, holding the system prompt, history, retrieved context, tools and the answer.

AI-Era Architecture
term

Guardrail

A deterministic check applied to a model's input or output, enforcing rules that cannot be left to the model itself.

AI-Era Architecture
term

Materialized View

A precomputed, stored result of a query, refreshed on a schedule or from a change stream, read instead of recomputing.

Data Architecture
term

Projection

The process that consumes changes from the write side and maintains a read model, and the component where most CQRS bugs live.

CQRS
term

Prompt Injection

An attack in which text from an untrusted source is interpreted by the model as instructions rather than as data.

AI-Era Architecture
term

Prompt Registry

A versioned store of production prompts with their model bindings, parameters and evaluation results, so a prompt change is a reviewable, traceable, reversible deployment.

AI-Era Architecture
term

Retrieval-Augmented Generation

Retrieving relevant documents at query time and putting them in the model's context, so answers are grounded in your data rather than in training data.

AI-Era Architecture
term

Semantic Cache

Caching model responses keyed by the meaning of the request rather than by its exact text, so near-duplicate questions are served without a model call.

AI-Era Architecture
term

Serverless

A model where the provider allocates and scales compute per request, and you are billed for execution rather than for provisioned capacity.

Cloud Architecture
term

Star Schema

A dimensional model with one central fact table of measurements surrounded by denormalised dimension tables describing them.

Data Warehousing
term

Tool Calling

Giving a model a set of typed function definitions it can request to invoke, with the application executing the call and returning the result.

AI-Era Architecture
term

Zero Trust

A security model that grants no implicit trust from network position, and authenticates and authorises every request individually.

Security Architecture
Questions · 5
quiz

A document collaboration product needs sharing with individuals, teams, and inherited folder permissions. Which authorization model?

The requirement is relationship shaped The questions this product must answer are: is this user a member of a team that has access to a folder that contains thi

Authorization
quiz

Run a threat model on a new payment integration: our service calls a third-party payment provider and receives webhooks. Where are the interesting threats?

Draw the boundaries first Three trust boundaries, and nearly every interesting threat lives on one of them: 1. User → our service (untrusted input, authenticate

Threat Modelling
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 regulator asks whether customer data is encrypted. The team says yes, disks are encrypted. Is that a sufficient answer?

What disk encryption actually protects against Someone obtaining the physical medium or a raw storage snapshot. In a cloud context that means a provider employe

Encryption
quiz

A team proposes CQRS for a CRUD admin panel because reads are slow. Is that the right call?

Why not CQRS here "Reads are slow" is a symptom with many causes, and CQRS addresses only one of them: the read and write models having genuinely different opti

CQRS
Topics · 12
topic

Model Selection

Capability, latency, cost and the evaluation that decides between them.

AI-Era Architecture — no content yet
topic

C4 Model

Context, container, component and code as four separate diagrams.

Architecture Communication — no content yet
topic

Technology Selection

Evaluating options against drivers rather than against enthusiasm.

Architecture Decision-Making — no content yet
topic

Anti-Corruption Layer

Translating a foreign model at the boundary so it does not leak in.

Architecture Patterns — no content yet
topic

Bounded Contexts

Where one model ends and another begins, and why forcing one fails.

Software Architecture & Engineering — no content yet
topic

CQRS

Separating the write model from the read models that serve queries.

5 items
topic

Containers

Images, registries, immutability and the deployment model they enable.

4 items
topic

Embeddings

Dense representations, model coupling and the migration they imply.

AI-Era Architecture — no content yet
topic

LLM Application Architecture

The shape of a production system with a model in the request path.

AI-Era Architecture — no content yet
topic

Legacy Integration

Reaching systems that cannot change, without importing their model.

API & Integration Architecture — no content yet
topic

Reranking

Cross-encoders improving precision more than a bigger embedding model.

AI-Era Architecture — no content yet
topic

WebSockets & Realtime

Persistent bidirectional connections and the capacity model they impose.

Networking — no content yet