Skip to content
Forward Deployed

Forward Deployed
System Design Practice

Observability for a Customer-Facing AI Application

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

Read the worked design: Observability and Production Diagnosis

PracticeAdvanced3 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

Your brief as the FDE (Forward Deployed Engineer) is to plan and put in place proper Observability of a Customer-Facing AI Application. According to the customer, the AI is slow, it is sometimes wrong, and no one can say why. Before choosing what to capture, settle what you will refuse to capture.

02

Clarify the customer problem

  • When people say slow, which percentile do they mean, and on which path?
  • When they say wrong, is it an incorrect answer, an empty one, a hallucination, or a failed tool?
  • Which tenants and which workflows feel it most?
  • What may we record by default, without extra sign-off?
  • Who has to find the cause of a failure without handing it up the chain?
03

Users and workflows

UserWorkflowCurrent painAI assist opportunityHuman approval needed?
Support agent
Engineer on call
Security reviewer
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

Start from a rendered diagram and shape it to fit this case. Cover each part below:

  • Correlation and spans
  • Sensitivity classifier
  • Trace store
  • Sampling policy
  • Support access
  • Dashboards
07

Evaluation plan

MetricGood thresholdBad thresholdTest datasetOwner
Redaction pass rate0 raw promptsA single leakScanners for PII and secretsSecurity
Trace coverageEvery complaint has a traceFailures with no traceComplaint count against trace countPlatform
Mean time to diagnoseGoing downGoing upTimelines of past incidentsSupport eng
Telemetry overheadInside its budgetSkews production behaviourLatency measured with and without exportObservability owner
08

Failure modes

  • The sampler throws away the one trace that shows the bug
  • Tagging metrics with tenant ID blows up cardinality
  • A raw prompt ends up in the logs
  • Trace context is lost when a request passes through a queue
  • The quality score climbs while fewer people use the product
  • Exporting telemetry is what causes the outage
09

Rollout plan

  1. Write down the SLOs (service level objectives) users actually feel before anything else.
  2. Turn "slow" and "wrong" into things you can measure.
  3. Add instrumentation to one critical path.
  4. Check every export for raw content.
  5. Give support a workflow that links straight to the trace.
  6. Then sample for quality and cost.
10

Weak vs strong answer

Weak: "I'd turn up the logging and put a dashboard on top."

Strong: "My first call is what we will not collect. Each request gets a stable correlation ID. Sensitive fields are classified, then salted and hashed, before they are stored. Sampling leans towards errors and slow outliers. I'd judge success by one test: can support explain a failure on their own?"

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
Observability and Production Diagnosis
Revise the concepts