Interview Learning Roadmap
By Sourav Banerjee · Last updated 13 Oct 2026 · Report an issue
13 min readFrom the Forward Deployed library
Goal: Build a reusable problem-decomposition and system-design framework for AI/Agentic FDE interviews.
This is not intended to be a deep theoretical system-design course. The focus is:
- What should I ask?
- What requirement does this create?
- What component/pattern solves it?
- Why do I need that component?
- What trade-off does it introduce?
0. The FDE Interview Mental Model
For almost any vague AI/Agentic problem:
Vague Customer Problem
↓
Discovery
↓
Functional + Non-Functional Requirements
↓
Happy-Path Architecture
↓
Data / RAG / Agent Flow
↓
Actions + Safety
↓
Scale
↓
Latency + Cost
↓
Failures + Reliability
↓
Evaluation
↓
Release
↓
Observability + Operations
↓
Trade-offs
The key principle throughout the interview:
Customer Need
↓
Requirement
↓
Constraint / Problem
↓
Architecture Decision
↓
Trade-off
Do not start with technology.
Module 1 — FDE Problem Decomposition
Goal
Take a vague customer request and turn it into a well-defined engineering problem.
Topics
Business Problem
- What problem are we solving?
- Why does the customer want AI?
- What business outcome matters?
- What happens if we do nothing?
Current Workflow
- Existing human workflow
- Existing systems
- Manual steps
- Bottlenecks
- Current failure points
Users & Personas
- End customers
- Internal employees
- Administrators
- Human reviewers
Scale
- Number of users
- Requests/day
- Peak traffic
- Concurrency
- Expected growth
Data
- Structured vs unstructured
- Static vs real-time
- Data sources
- Freshness
- Permissions
AI Autonomy
Answer
↓
Recommend
↓
Take Action
↓
Take High-Risk Action
Success Criteria
- Business KPIs
- AI quality
- Task success
- Latency
- Reliability
- Cost
Discovery Mental Model
WHY
Business problem
TODAY
Current workflow
WHO
Users
HOW MUCH
Scale
WHAT DATA
Knowledge + live systems
HOW FAR CAN AI GO
Answer → Recommend → Act
SUCCESS
How do we measure it?
🎯 Practice Questions
- A bank says, "We want an AI agent for customer support." What are the first 5–7 questions you would ask before discussing architecture?
- A logistics customer says, "Our operations team spends too much time resolving shipment exceptions." How would you understand the current workflow before proposing AI?
- The customer immediately says, "We want a multi-agent architecture." How would you determine whether multi-agent is actually required?
- A customer says they want to reduce support cost by 30%. What additional success metrics would you define before designing the system?
- What questions would you ask to determine whether the AI should answer, recommend, or autonomously act?
Module 2 — Functional Requirements
Goal
Translate discovery into:
What must the system do?
Topics
Understand
- Accept user requests
- Understand intent
- Support required modalities
Maintain Context
- Session context
- Conversation history
- Workflow state
Retrieve
- Enterprise knowledge
- Relevant context
- Permission-aware information
Route
- RAG
- Agent
- Tool
- Workflow
- Human
Reason
- Answer
- Recommendation
- Plan
- Decision proposal
Use Tools
- APIs
- Databases
- CRM
- ERP
- Internal systems
Act
- Update tickets
- Cancel orders
- Issue refunds
- Create incidents
Escalate
- Low confidence
- High risk
- Policy requirement
- Tool failure
Audit & Feedback
- Decisions
- Evidence
- Actions
- Approvals
- User feedback
Functional Mental Model
Understand
↓
Retrieve
↓
Route
↓
Reason
↓
Tool
↓
Act
↓
Escalate
↓
Audit
🎯 Practice Questions
- For an enterprise customer-support agent, define 6–8 functional requirements.
- A support agent must answer policy questions, check order status, and issue eligible refunds. Break these into functional requirements.
- Which requirements would tell you that the system needs conversation state?
- How would functional requirements change if the system moves from answer-only to taking actions?
- When should human escalation be considered a functional requirement?
Module 3 — Non-Functional Requirements
Goal
Define:
How well must the system work?
Topics
- Scalability
- Latency
- Reliability
- AI quality
- Security
- Safety
- Cost
- Observability
- Auditability
NFR Mental Model
Scale
Latency
Reliability
Quality
Security
Safety
Cost
Observability
Auditability
🎯 Practice Questions
- The customer says, "The system should be fast." How would you turn that into a measurable NFR?
- The system serves 50 enterprise customers and 100K total users. Which NFRs become especially important?
- A refund agent handles financial actions. Which NFRs would you prioritise and why?
- How would the NFRs differ between a real-time voice agent and a 10-minute deep-research agent?
- What AI-quality NFRs would you define beyond traditional uptime and latency?
Module 4 — Core Architecture Building Blocks
Goal
Know the reusable building blocks and, more importantly, what requirement triggers each one.
Topics
API Gateway
User
↓
API Gateway
↓
AI Application
Handles:
- Authentication
- Authorisation
- Tenant context
- Rate limits
- Quotas
- Request validation
Model Gateway
AI Application
↓
Model Gateway
↓
Model Providers
Handles:
- Model routing
- Provider abstraction
- Retry/fallback
- Provider limits
- Token/cost tracking
Router
- Intent routing
- Agent routing
- Tool routing
Orchestrator
- Workflow state
- Branching
- Tool calls
- Retry
- Checkpoints
State Store
- Session state
- Workflow state
- Approval state
Cache
- Response
- Semantic
- Retrieval
- Tool result
Queue / Event Bus
- Async work
- Bursts
- Background jobs
- Long-running workflows
Component Selection Rule
What does it do?
↓
Why do I need it?
↓
Which requirement triggered it?
🎯 Practice Questions
- Explain the difference between an API Gateway and Model Gateway in 30 seconds.
- When would you introduce an orchestrator rather than putting everything inside one agent?
- A customer has three LLM providers and wants automatic fallback. Which component owns this responsibility?
- When would you add a queue rather than processing the request synchronously?
- The interviewer points to one of your architecture boxes and asks, "Why do you need this?" How would you justify components based on requirements rather than technology preference?
Module 5 — RAG & Enterprise Data
Goal
Design practical enterprise RAG without unnecessary theoretical depth.
Core Flow
Source
↓
Parse
↓
Chunk
↓
Embed
↓
Index
Question
↓
Permission Filter
↓
Search
↓
Rerank
↓
Context
↓
LLM
Topics
- Chunking
- Embeddings
- Vector search
- Keyword/hybrid search
- Metadata filtering
- Reranking
- Recall
- Precision
- Permission-aware retrieval
- Static vs live data
- Groundedness
🎯 Practice Questions
- Your RAG system frequently fails to retrieve the correct document. What would you investigate?
- It retrieves the correct document but also returns many irrelevant chunks. What problem is this and how would you improve it?
- Why should current order status normally come from an API instead of RAG?
- Two employees have different document permissions. How would you prevent unauthorised information from entering the LLM context?
- The customer says, "The model is hallucinating." What parts of the RAG pipeline would you investigate before simply changing the model?
Module 6 — Agentic Architecture
Goal
Know when agents are useful and how to prevent uncontrolled execution.
Topics
- Workflow vs agent
- Single vs multi-agent
- Routing
- Agent trajectory
- Tool calling
- Execution bounds
- Durable execution
Core Flow
Reason
↓
Tool
↓
Observe
↓
Reason
↓
Action
🎯 Practice Questions
- When would you choose a deterministic workflow instead of an agent?
- A customer wants separate RAG, refund, order and escalation agents. Would you accept this architecture immediately? What would you ask first?
- An agent occasionally executes 20–30 tool calls for a simple request. How would you control it?
- What happens if a long-running agent crashes after completing 8 of 10 steps?
- How would you explain agent trajectory and why it matters for evaluation?
Module 7 — Tools, Actions & Enterprise Integration
Goal
Move from chatbot architecture to production action-taking systems.
Core Pattern
Agent
↓
Recommendation
↓
Policy
↓
Executor
↓
Enterprise System
Topics
- Controlled tool layer
- CRM/ERP/API integrations
- Read vs write tools
- Executor
- Idempotency
- Timeout
- Retry
- Circuit breaker
🎯 Practice Questions
- Why would you avoid giving an LLM direct unrestricted access to a production CRM?
- An agent issues a refund, the API times out, and the agent retries. How do you prevent a double refund?
- A downstream ERP API frequently takes 30 seconds or fails. How would you protect the agent workflow?
- Why might you separate the agent's decision from the actual execution?
- How would you treat a read-only
get_order_statustool differently from anissue_refundtool?
Module 8 — Guardrails, Policy & Human Approval
Goal
Safely allow agents to perform real business actions.
Core Pattern
Agent recommends
↓
Policy decides
↓
Executor acts
Topics
- Deterministic policy
- Risk classification
- HITL
- Fail-open vs fail-closed
- Kill switch
- Least privilege
🎯 Practice Questions
- Refunds below $100 can happen automatically, while refunds above $500 require manager approval. Where should this rule live?
- Why shouldn't the LLM itself be the final authority for a deterministic financial policy?
- The policy service becomes unavailable during a $10,000 transaction. Should the system fail-open or fail-closed, and why?
- How would you design a workflow where human approval may take several hours?
- What would a kill switch disable in an action-taking agent?
Module 9 — Scaling AI Systems
Goal
Handle:
"Great. Now scale it to 100K users."
Topics
- Throughput
- Concurrency
- Horizontal scaling
- Stateless workers
- Rate limiting
- Admission control
- Backpressure
- Queueing
- Fair queueing
- Noisy neighbor
- Load shedding
- Multi-tenancy
🎯 Practice Questions
- Your prototype supports 100 users. The customer now expects 100K users. Walk through what changes.
- Tenant A suddenly consumes 70% of model capacity and Tenant B starts experiencing poor latency. What is happening?
- Explain the difference between rate limiting and admission control.
- Incoming traffic is 10K requests/sec but the system can process only 5K. What mechanisms would you consider?
- Why would you prefer stateless workers + external durable state when horizontally scaling agents?
Module 10 — Latency Optimisation ⚡
Goal
Diagnose latency before optimising.
Latency Decomposition
Total Latency
│
├── Queue
├── Retrieval
├── LLM
├── Agent
├── Tools
└── Network
Topics
- P50/P95/P99
- TTFT
- Streaming
- Parallelisation
- Sequential LLM hops
- Retrieval latency
- Tool latency
- Queue latency
- Async processing
🎯 Practice Questions
- Average latency is 3 seconds but P99 is 25 seconds. What does this tell you?
- Your agent calls CRM, order and ticket APIs sequentially. Each takes 1 second. What obvious optimisation would you consider?
- The model itself takes only 2 seconds but total latency is 12 seconds. How would you investigate?
- When does streaming improve perceived latency without actually reducing total compute time?
- A research task takes five minutes. Would you continue optimising it as a synchronous API request or change the interaction model?
Module 11 — Cost Optimisation 💰
Goal
Understand and control AI economics.
Cost Decomposition
Cost / Task
│
├── Model
├── Input Tokens
├── Output Tokens
├── Retrieval
├── Tools
├── Compute
└── Retries
Topics
- Model routing
- Context optimisation
- Caching
- Reduce model calls
- Deterministic logic
- Agent bounds
- Batch processing
- Cost attribution
- Cost per successful task
🎯 Practice Questions
- The customer's LLM bill doubles after launching an agent. What would you inspect first?
- Why might model routing reduce cost without materially reducing quality?
- Conversation history grows indefinitely and token cost keeps increasing. What would you change?
- Why is cost per successful task often more meaningful than cost/request?
- Your architecture uses five LLM calls for every request. How would you determine whether all five are necessary?
Module 12 — Reliability & Failure Handling
Goal
Answer:
"What happens when something fails?"
Topics
- Timeout
- Retry
- Exponential backoff
- Jitter
- Circuit breaker
- Idempotency
- Graceful degradation
- Model fallback
- DLQ
- Checkpointing
- Blast radius
Failure Mental Model
Failure
↓
Timeout?
↓
Retry?
↓
Fallback?
↓
Degrade?
↓
Recover?
↓
Escalate?
🎯 Practice Questions
- Your primary model provider becomes unavailable. What happens next?
- A tool API returns intermittent 503 errors. What retry strategy would you use?
- Why can aggressive retries actually make an outage worse?
- A recommendation feature fails. Should the entire customer-support system become unavailable?
- A background event fails processing after several retries. What should happen next?
Module 13 — AI Evaluation
Goal
Make AI quality measurable.
Topics
RAG
- Retrieval relevance
- Recall
- Groundedness
- Correctness
Agents
- Routing
- Tool selection
- Tool arguments
- Trajectory
- Task success
Evaluation Types
- Deterministic
- Non-deterministic
- Offline
- Online
Key Principle
Good Answer
≠
Successful Task
🎯 Practice Questions
- How would you evaluate a customer-support system containing both RAG and action-taking agents?
- Give examples of deterministic checks for an agent.
- Which checks require semantic or non-deterministic evaluation?
- The final response sounds perfect, but the agent used the wrong tool and never actually cancelled the order. How should evaluation catch this?
- Why do we need both offline and online evaluation?
Module 14 — Release & Change Management
Goal
Safely ship AI changes.
Core Flow
Candidate
↓
Offline Evaluation
↓
Release Gate
↓
Shadow / Canary
↓
Production
↓
Monitor
Topics
- Versioning
- Release gates
- Canary
- Shadow traffic
- Feature flags
- Rollback
- Kill switch
🎯 Practice Questions
- Your team creates a new prompt that performs better on 20 examples. Would you immediately deploy it?
- Explain when you would use shadow traffic vs canary deployment.
- How would you release a new agent to only two enterprise customers first?
- Which artifacts should be versioned besides the model itself?
- Production quality suddenly drops after a new release. What mechanisms should allow you to respond quickly?
Module 15 — Observability & Production Operations
Goal
Understand what is happening inside the system after deployment.
Topics
- Logs
- Metrics
- Distributed traces
- AI telemetry
- Audit
- SLI
- SLO
- SLA
Trace Mental Model
Request
↓
Router
↓
Agent
↓
LLM
↓
Retriever
↓
Tool
↓
Response
🎯 Practice Questions
- A user says, "My request took 18 seconds yesterday." What telemetry would you inspect?
- Explain the difference between logging, metrics and tracing using an agent request.
- Which AI-specific telemetry would you capture beyond normal infrastructure metrics?
- Compliance asks, "Why did the agent issue this refund?" What information should be available?
- Explain SLI vs SLO vs SLA using an AI assistant latency example.
Module 16 — Security & Enterprise Multi-Tenancy
Goal
Make the system enterprise-ready.
Topics
- Authentication
- Authorisation
- RBAC
- Permission-aware RAG
- Least privilege
- Tenant isolation
- Secrets
- Sensitive data
- Data residency
- Defense in depth
Core Mental Model
Identity
↓
Authorization
↓
Data Permission
↓
Tool Permission
↓
Policy
↓
Human Approval
↓
Audit
🎯 Practice Questions
- Employee A can access HR documents while Employee B cannot. How should this affect retrieval?
- Why is filtering unauthorised documents after generation a weak security design?
- What permissions would you give a refund agent following least-privilege principles?
- A shared platform serves 50 enterprise tenants. What needs tenant isolation?
- A European customer says their data cannot leave a particular region. What architectural concerns does this introduce?
Module 17 — Trade-Off Thinking
Goal
Explain why you made architecture decisions.
Core Principle
"I'm choosing X because of requirement Y. The trade-off is Z."
Topics
Cost ↔ Quality ↔ Latency
QUALITY
/ \
/ \
COST ─── LATENCY
Common Trade-Offs
- More retrieval → recall ↑, cost/latency ↑
- More agents → possible quality ↑, complexity/cost ↑
- Cache → latency/cost ↓, freshness risk ↑
- Strong model → quality ↑, latency/cost ↑
- More autonomy → human effort ↓, business risk ↑
- Async → better scalability, immediate response ↓
🎯 Practice Questions
- You can improve answer quality by adding another LLM critic, but it adds 3 seconds and 40% cost. How would you reason about the decision?
- The customer wants maximum retrieval recall but also very low latency. What trade-off would you discuss?
- When might you intentionally choose a smaller model even if a larger model performs slightly better?
- Caching tool responses reduces latency dramatically. What new risk does caching introduce?
- The interviewer asks, "Why did you choose this architecture instead of a simpler one?" How would you structure your answer?
Module 18 — End-to-End FDE Interview Execution
Goal
Combine everything into one repeatable interview flow.
1. Business Problem
↓
2. Current Workflow
↓
3. Discovery
↓
4. Functional Requirements
↓
5. NFRs
↓
6. Happy-Path Architecture
↓
7. Data / RAG
↓
8. Agents + Tools
↓
9. Policy / HITL
↓
10. Scale
↓
11. Latency
↓
12. Cost
↓
13. Reliability
↓
14. Evaluation
↓
15. Release
↓
16. Observability
↓
17. Trade-Offs