Interview preparation
UNDERSTAND. EXPLAIN. REPEAT.

Question library

Explained questions for the decisions developers make.

Filters
660 questions

What the Deterministic Rules Engine Does

Deterministic AI Workflows·State, rules & graph execution

Once facts are validated, the rules engine evaluates the current workflow state and chooses the permitted next step.

Intermediate2 min read

Workflow State and the Ledger

Deterministic AI Workflows·State, rules & graph execution

A multi-turn workflow needs a reliable memory of what has happened. That is different from merely sending the whole chat history back to an LLM.

Intermediate2 min read

Graphs, Nodes, and Transitions

Deterministic AI Workflows·State, rules & graph execution

A workflow can be represented as a graph:

Intermediate2 min read

Out-of-Scope Intent Handling

Deterministic AI Workflows·Scope, safety & external actions

A useful concept I learned is Out-of-Scope (OOS) Intent Detection, sometimes called Out-of-Domain (OOD) Intent Handling.

Intermediate2 min read

Guardrails and Authorization

Deterministic AI Workflows·Scope, safety & external actions

A robust architecture uses multiple layers of protection:

Intermediate2 min read

Connectors and External Actions

Deterministic AI Workflows·Scope, safety & external actions

A workflow often needs to retrieve or update information through APIs, databases, or external services. These integrations are commonly called connectors or tools.

Intermediate2 min read

Why Scripted Testing Matters

Deterministic AI Workflows·Testing, reuse & architecture choices

An important lesson is to test the deterministic engine without depending on live LLM variability.

Intermediate2 min read

Reusable Engine vs. Application

Deterministic AI Workflows·Testing, reuse & architecture choices

Another useful architectural distinction is between a workflow engine and the application that uses it.

Intermediate2 min read

LLM-Driven vs. Deterministic Workflow

Deterministic AI Workflows·Testing, reuse & architecture choices

| Area | LLM-driven workflow | LLM-assisted deterministic workflow | |---|---|---| | Natural-language understanding | LLM | LLM | | Next-step selection | Primarily LLM | Explicit workflow rules | | Business decisions | Model-guided | Rule-d

Intermediate2 min read

Challenges and Practical Lessons

Deterministic AI Workflows·Production lessons & implementation

Keep the LLM's responsibility narrow

Advanced2 min read

A Practical Implementation Checklist

Deterministic AI Workflows·Production lessons & implementation

Understand the architecture, its boundaries, and the practical engineering trade-offs.

Advanced2 min read

Key Takeaways

Deterministic AI Workflows·Production lessons & implementation

My biggest learning is that AI understanding and business control should be separate concerns.

Advanced2 min read

MCP Foundations: Problem, Mental Model, and Boundaries

MCP Server with TypeScript·Foundations & architecture

Learning objectives

Foundation2 min read

End-to-End Request Flow and Trust Boundaries

MCP Server with TypeScript·Foundations & architecture

Learning objectives

Foundation2 min read

JSON-RPC 2.0: Requests, Responses, Errors, and Notifications

MCP Server with TypeScript·Protocol & lifecycle

Why it exists

Foundation2 min read

Initialization, Lifecycle, and Capability Negotiation

MCP Server with TypeScript·Protocol & lifecycle

Why it exists

Foundation2 min read

Tools: Discovery, Schemas, Invocation, and Results

MCP Server with TypeScript·Capabilities & transports

Why tools exist

Foundation2 min read

Resources, Resource Templates, Prompts, and Completions

MCP Server with TypeScript·Capabilities & transports

Resources

Foundation2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.