Skip to content
Forward Deployed

Forward Deployed
System Design Practice

Enterprise Knowledge Assistant with RAG

By Sourav Banerjee · Last updated 12 Oct 2026 · Report an issue

Read the worked design: Enterprise Knowledge Assistant

PracticeAdvanced4 min read
For
Engineers preparing for Forward Deployed, solutions or applied-AI engineering interviews
Assumes
  • Two or three Discovery Foundations scenarios completed
  • Comfort with retrieval, agents, queues and multi-tenant cloud architecture
Objectives
  • Find the one constraint that makes the scenario dangerous before designing
  • Defend an architecture, evaluation plan and rollout under follow-up questions
How to use it
Allow about an hour. Work the discovery sections properly — they decide the design — then compare each section with the model answer and score yourself honestly.

Condensed from the sources credited on the How It Works page

0/36
Not saving
01

Interview prompt

You are the FDE (Forward Deployed Engineer) on a GenAI build: an Enterprise Knowledge Assistant with RAG (retrieval-augmented generation). Staff want answers drawn from Drive, SharePoint, Slack, wikis and tickets. Retrieval quality matters, but the risk that can sink the project is permissions: nobody may see content they could not open in the source.

02

Clarify the customer problem

  • When two sources disagree, which one wins, and who decides?
  • Do permission checks have to be live against each source, or will a scheduled sync do?
  • How quickly must new content show up, and how quickly must deleted content disappear?
  • If an answer is wrong, who investigates it? Who carries the risk if content leaks?
  • With thin evidence, should the assistant decline, answer with a warning, or pass to a person?
03

Users and workflows

UserWorkflowCurrent painAI assist opportunityHuman approval needed?
End user (employee)
Operator / support
Security owner
Executive sponsor
04

Requirements

Functional

Non-functional

  • Latency target
  • Availability target
  • Cost budget
  • Security/privacy constraints
  • Audit/compliance requirement
05

Data and integration map

Data sourceFormatOwnerFreshnessPermission modelRisk
06

Proposed architecture

Pick a rendered diagram as your starting point and adapt it to this case. Cover each part below:

  • Ingestion and ACL
  • Permission-filtered retrieval
  • Reranking and budget
  • Citations
  • Evaluation
  • Monitoring
07

Evaluation plan

MetricGood thresholdBad thresholdTest datasetOwner
Permission leakageZero casesOne or moreRed-team prompts across ACL rolesSecurity team
Grounded answer rateAt or above baselineOver 5 points under baselineLabelled questions from silent modeML and evaluation
Citation precisionMeets the agreed barFalls by more than 5 pointsSample checked by an SMEEvaluation team
Freshness lagInside the SLOOutside the SLOSource event times against index timesIngestion owner
08

Failure modes

  • A deletion is missed, so removed content can still be retrieved
  • A cached ACL lets a user whose access was revoked keep reading
  • Retrieval returns passages that look close but do not answer the question
  • The answer cites a source that does not back it up
  • A ticket or wiki page hides instructions aimed at the model
  • The model provider goes down, or cost spikes at peak load
09

Rollout plan

  1. Start with a single low-risk corpus; nothing writes back to sources.
  2. Run the access-leakage suite; any exposure stops the release.
  3. Evaluate silently against real employee questions.
  4. Pilot in read-only mode, with citations on show.
  5. Add the remaining sources one at a time.
  6. Keep monitoring and reconciling; widen only when each gate passes.
10

Weak vs strong answer

Weak: "I'd load all the documents into a vector store and have the model answer from the top hits."

Strong: "Permissions are the constraint that matters most, so I'd say that first. I'd map every source's ACLs into one model at ingestion, filter candidates by the user's effective access before the model sees anything, check each citation, decline when evidence is thin, and hold rollout until a leakage suite passes."

11

Candidate scorecard

Evaluation
The closer

Final 2-minute spoken answer

Rehearse this out loud before you look at it. Summarising the whole design in two minutes is its own skill, and it is usually the last thing you are asked for.

Where next

Read the worked design
Enterprise Knowledge Assistant
Revise the concepts